diff options
author | Gary Jennejohn <garyj@jennejohn.org> | 2007-05-18 17:41:22 +0100 |
---|---|---|
committer | Peter Pearse <peter.pearse@arm.com> | 2007-05-18 17:41:22 +0100 |
commit | 7bfebfe484137afcbc0b5e39928dd6243ae3ef68 (patch) | |
tree | 2f8d461030a62106c2314451ee149e9ab55e9a11 /disk/part.c | |
parent | 879027daa838d245bf433ca2bb446bedace724f0 (diff) | |
parent | 3e3b956906eba9e4ad7931581ecedaad10eccce8 (diff) | |
download | u-boot-imx-7bfebfe484137afcbc0b5e39928dd6243ae3ef68.zip u-boot-imx-7bfebfe484137afcbc0b5e39928dd6243ae3ef68.tar.gz u-boot-imx-7bfebfe484137afcbc0b5e39928dd6243ae3ef68.tar.bz2 |
Add support for the Siemens SMN42 board.
Diffstat (limited to 'disk/part.c')
-rwxr-xr-x[-rw-r--r--] | disk/part.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/disk/part.c b/disk/part.c index acc1a74..61e6579 100644..100755 --- a/disk/part.c +++ b/disk/part.c @@ -180,6 +180,7 @@ void dev_print (block_dev_desc_t *dev_desc) (CONFIG_COMMANDS & CFG_CMD_SCSI) || \ (CONFIG_COMMANDS & CFG_CMD_USB) || \ defined(CONFIG_MMC) || \ + (defined(CONFIG_MMC) && defined(CONFIG_LPC2292)) || \ defined(CONFIG_SYSTEMACE) ) #if defined(CONFIG_MAC_PARTITION) || \ @@ -219,7 +220,8 @@ void init_part (block_dev_desc_t * dev_desc) } -int get_partition_info (block_dev_desc_t *dev_desc, int part, disk_partition_t *info) +int get_partition_info (block_dev_desc_t *dev_desc, int part + , disk_partition_t *info) { switch (dev_desc->part_type) { #ifdef CONFIG_MAC_PARTITION @@ -325,7 +327,8 @@ void print_part (block_dev_desc_t * dev_desc) #else /* neither MAC nor DOS nor ISO partition configured */ -# error neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION nor CONFIG_ISO_PARTITION configured! +# error neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION +# error nor CONFIG_ISO_PARTITION configured! #endif #endif /* (CONFIG_COMMANDS & CFG_CMD_IDE) || CONFIG_COMMANDS & CFG_CMD_SCSI) */ |