From: Jan Kiszka <[email protected]>

Provides a unified formatting.

Normally disabled debug output helpers were intentionally left
untouched.

Signed-off-by: Jan Kiszka <[email protected]>
---
 drivers/watchdog/amdfch_wdt.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/watchdog/amdfch_wdt.c b/drivers/watchdog/amdfch_wdt.c
index 664540f..333e5c6 100644
--- a/drivers/watchdog/amdfch_wdt.c
+++ b/drivers/watchdog/amdfch_wdt.c
@@ -17,6 +17,7 @@
 #include <pci/header.h>
 #include <sys/io.h>
 #include <mmio.h>
+#include "utils.h"
 
 /* #define AMDFCH_WDT_DEBUG */
 
@@ -158,10 +159,10 @@ init(EFI_PCI_IO *pci_io, UINT16 pci_vendor_id, UINT16 
pci_device_id,
        switch (pci_revision_id) {
        case 0x59:
        case 0x61:
-               Print(L"\nDetected AMD FCH Watchdog Timer (rev %X)\n", 
pci_revision_id);
+               INFO(L"Detected AMD FCH Watchdog Timer (rev %X)\n", 
pci_revision_id);
                break;
        default:
-               Print(L"\nError: Detected Unknown AMD FCH Watchdog Timer\n");
+               ERROR(L"Detected Unknown AMD FCH Watchdog Timer\n");
                return EFI_UNSUPPORTED;
        }
 
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/ea1ee0c919b4d5b4cf2603b96c80ded83abb3ed4.1646426240.git.jan.kiszka%40siemens.com.

Reply via email to