[U-Boot] [PATCH v2] ftide020: fix incorrect information display format

Macpaul Lin macpaul at andestech.com
Fri Nov 18 10:18:42 CET 2011


Fix incorrect information display format when probing the device.

Signed-off-by: Macpaul Lin <macpaul at andestech.com>
---
Changes for v2:
  - Replace the display format of device name.

 drivers/block/ftide020.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/block/ftide020.c b/drivers/block/ftide020.c
index 4a7a07f..ad8fdad 100644
--- a/drivers/block/ftide020.c
+++ b/drivers/block/ftide020.c
@@ -316,10 +316,9 @@ int ide_preinit(void)
 
 	/* auto-detect IDE controller */
 	if (ftide_controller_probe()) {
-		printf("Faraday %s driver version %s\n", FTIDE_IP_NAME,
-		FTIDE_DRIVER_VERSION);
+		printf("FTIDE020_S\n");
 	} else {
-		printf("Faraday ATA controller not found.\n");
+		printf("FTIDE020_S ATA controller not found.\n");
 		return API_ENODEV;
 	}
 
-- 
1.7.3.5



More information about the U-Boot mailing list