diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-31 12:30:40 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 12:30:40 +0200 |
commit | f7c602ac8be0bcff4e573052c47e79bc46dab380 (patch) | |
tree | b987f7a2e05fc81167335ec949b17cbc9cd67df3 /board/atmel | |
parent | 3c95960e526b3b026da20201db64526f46faf14b (diff) | |
parent | 9196b44334c330cc13de2464c59181e4db71f549 (diff) | |
download | u-boot-imx-f7c602ac8be0bcff4e573052c47e79bc46dab380.zip u-boot-imx-f7c602ac8be0bcff4e573052c47e79bc46dab380.tar.gz u-boot-imx-f7c602ac8be0bcff4e573052c47e79bc46dab380.tar.bz2 |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'board/atmel')
-rw-r--r-- | board/atmel/atngw100/atngw100.c | 2 | ||||
-rw-r--r-- | board/atmel/atstk1000/atstk1000.c | 2 | ||||
-rw-r--r-- | board/atmel/atstk1000/flash.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/board/atmel/atngw100/atngw100.c b/board/atmel/atngw100/atngw100.c index f2c3e79..4ead533 100644 --- a/board/atmel/atngw100/atngw100.c +++ b/board/atmel/atngw100/atngw100.c @@ -81,7 +81,7 @@ phys_size_t initdram(int board_type) unmap_physmem(sdram_base, EBI_SDRAM_SIZE); if (expected_size != actual_size) - printf("Warning: Only %u of %u MiB SDRAM is working\n", + printf("Warning: Only %lu of %lu MiB SDRAM is working\n", actual_size >> 20, expected_size >> 20); return actual_size; diff --git a/board/atmel/atstk1000/atstk1000.c b/board/atmel/atstk1000/atstk1000.c index 6371e2d..d284fc1 100644 --- a/board/atmel/atstk1000/atstk1000.c +++ b/board/atmel/atstk1000/atstk1000.c @@ -104,7 +104,7 @@ phys_size_t initdram(int board_type) unmap_physmem(sdram_base, EBI_SDRAM_SIZE); if (expected_size != actual_size) - printf("Warning: Only %u of %u MiB SDRAM is working\n", + printf("Warning: Only %lu of %lu MiB SDRAM is working\n", actual_size >> 20, expected_size >> 20); return actual_size; diff --git a/board/atmel/atstk1000/flash.c b/board/atmel/atstk1000/flash.c index 12537f3..e2bfd4a 100644 --- a/board/atmel/atstk1000/flash.c +++ b/board/atmel/atstk1000/flash.c @@ -70,7 +70,7 @@ unsigned long flash_init(void) void flash_print_info(flash_info_t *info) { - printf("Flash: Vendor ID: 0x%02x, Product ID: 0x%02x\n", + printf("Flash: Vendor ID: 0x%02lx, Product ID: 0x%02lx\n", info->flash_id >> 16, info->flash_id & 0xffff); printf("Size: %ld MB in %d sectors\n", info->size >> 10, info->sector_count); |