Fix incorrect information display format when probing the device.

Signed-off-by: Macpaul Lin <macp...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to