diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-07-24 12:42:31 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-07-24 12:42:31 +0200 |
commit | ba17540844897505b12f310f6a13ff0ab6df2e51 (patch) | |
tree | 41f77d831ff87f06f4aff3ca829957290c67b8ab /board/atmel/atstk1000 | |
parent | a79c3e8d9c31db25d5ca3ec8e08a97f323410dd4 (diff) | |
parent | a229d291f33308ab7761d39f25fa1a53c0fc00a2 (diff) | |
download | u-boot-imx-ba17540844897505b12f310f6a13ff0ab6df2e51.zip u-boot-imx-ba17540844897505b12f310f6a13ff0ab6df2e51.tar.gz u-boot-imx-ba17540844897505b12f310f6a13ff0ab6df2e51.tar.bz2 |
Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32
Diffstat (limited to 'board/atmel/atstk1000')
-rw-r--r-- | board/atmel/atstk1000/atstk1000.c | 2 | ||||
-rw-r--r-- | board/atmel/atstk1000/flash.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); |