[U-Boot] [PATCH 1/2] at91: Improved Atmel AT45DB081 dataflash support
Daniel Gorsulowski
Daniel.Gorsulowski at esd.eu
Fri Mar 27 10:24:12 CET 2009
This patch improves Atmel AT45DB081 dataflash support.
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski at esd.eu>
---
drivers/mtd/dataflash.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c
index 96cd395..4b768e7 100644
--- a/drivers/mtd/dataflash.c
+++ b/drivers/mtd/dataflash.c
@@ -199,7 +199,7 @@ void dataflash_print_info (void)
for (i = 0; i < CONFIG_SYS_MAX_DATAFLASH_BANKS; i++) {
if (dataflash_info[i].id != 0) {
- printf("DataFlash:");
+ printf("DataFlash: ");
switch (dataflash_info[i].id) {
case AT45DB021:
printf("AT45DB021\n");
@@ -207,11 +207,12 @@ void dataflash_print_info (void)
case AT45DB161:
printf("AT45DB161\n");
break;
-
+ case AT45DB081:
+ printf("AT45DB081\n");
+ break;
case AT45DB321:
printf("AT45DB321\n");
break;
-
case AT45DB642:
printf("AT45DB642\n");
break;
--
1.6.1
More information about the U-Boot
mailing list