summaryrefslogtreecommitdiff
path: root/board/xsengine/flash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2007-10-19 06:33:45 +0200
committerWolfgang Denk <wd@denx.de>2007-10-24 00:29:00 +0200
commite78220f6e514206757acfe247297fc9a328a881f (patch)
tree1d2b58d7ce15de1213b0f1f3b8d41aed47ebae76 /board/xsengine/flash.c
parent10cdb8dbd67a818823ab9ec88b68fc348903db59 (diff)
downloadu-boot-imx-e78220f6e514206757acfe247297fc9a328a881f.zip
u-boot-imx-e78220f6e514206757acfe247297fc9a328a881f.tar.gz
u-boot-imx-e78220f6e514206757acfe247297fc9a328a881f.tar.bz2
xsengine: Fix no partition type specified, use DOS as default
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/xsengine/flash.c')
-rw-r--r--board/xsengine/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/xsengine/flash.c b/board/xsengine/flash.c
index 2b9afc7..a188e24 100644
--- a/board/xsengine/flash.c
+++ b/board/xsengine/flash.c
@@ -46,11 +46,11 @@ unsigned long flash_init (void)
for (i = 0; i < CFG_MAX_FLASH_BANKS; i++) {
switch (i) {
case 0:
- flash_get_size ((long *) PHYS_FLASH_1, &flash_info[i]);
+ flash_get_size ((vu_long *) PHYS_FLASH_1, &flash_info[i]);
flash_get_offsets (PHYS_FLASH_1, &flash_info[i]);
break;
case 1:
- flash_get_size ((long *) PHYS_FLASH_2, &flash_info[i]);
+ flash_get_size ((vu_long *) PHYS_FLASH_2, &flash_info[i]);
flash_get_offsets (PHYS_FLASH_2, &flash_info[i]);
break;
default: