diff options
author | unsik Kim <donari75@gmail.com> | 2009-02-25 11:31:24 +0900 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-03 23:47:06 +0200 |
commit | 75eb82ec7cacb18d059d701b35677b93d2bb7596 (patch) | |
tree | d6e29e87ee98e487f40644936900dd4dd38cc5db /disk/part.c | |
parent | 8ddfe804c49f7b738eebfdc6a5d0e406581faf49 (diff) | |
download | bootable_bootloader_goldelico_gta04-75eb82ec7cacb18d059d701b35677b93d2bb7596.zip bootable_bootloader_goldelico_gta04-75eb82ec7cacb18d059d701b35677b93d2bb7596.tar.gz bootable_bootloader_goldelico_gta04-75eb82ec7cacb18d059d701b35677b93d2bb7596.tar.bz2 |
mflash: Initial mflash support
Mflash is fusion memory device mainly targeted consumer eletronic and
mobile phone.
Internally, it have nand flash and other hardware logics and supports
some different operation (ATA, IO, XIP) modes.
IO mode is custom mode for the host that doesn't have IDE interface.
(Many mobile targeted SoC doesn't have IDE bus)
This driver support mflash IO mode.
Followings are brief descriptions about IO mode.
1. IO mode based on ATA protocol and uses some custom command. (read
confirm, write confirm)
2. IO mode uses SRAM bus interface.
Signed-off-by: unsik Kim <donari75@gmail.com>
Diffstat (limited to 'disk/part.c')
-rw-r--r-- | disk/part.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c index fdc49d3..c777493 100644 --- a/disk/part.c +++ b/disk/part.c @@ -35,6 +35,7 @@ #endif #if (defined(CONFIG_CMD_IDE) || \ + defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ @@ -65,6 +66,9 @@ static const struct block_drvr block_drvr[] = { #if defined(CONFIG_SYSTEMACE) { .name = "ace", .get_dev = systemace_get_dev, }, #endif +#if defined(CONFIG_CMD_MG_DISK) + { .name = "mgd", .get_dev = mg_disk_get_dev, }, +#endif { }, }; @@ -91,6 +95,7 @@ block_dev_desc_t *get_dev(char* ifname, int dev) #endif #if (defined(CONFIG_CMD_IDE) || \ + defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ @@ -203,11 +208,12 @@ void dev_print (block_dev_desc_t *dev_desc) #endif #if (defined(CONFIG_CMD_IDE) || \ + defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ defined(CONFIG_MMC) || \ - defined(CONFIG_SYSTEMACE) ) + defined(CONFIG_SYSTEMACE) ) #if defined(CONFIG_MAC_PARTITION) || \ defined(CONFIG_DOS_PARTITION) || \ |