[U-Boot] [PATCH] mflash: Initial mflash support

Wolfgang Denk wd at denx.de
Fri Apr 3 23:47:36 CEST 2009


Dear unsik Kim,

In message <1235529084-5499-1-git-send-email-donari75 at gmail.com> you wrote:
> 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 at gmail.com>
> ---
> This is all-in-one mflash patch. (Whole series of patches were squashed
> and rebased.) Please, use this if you forgot <49A210AC.3080605 at gmail.com>.
> ---
>  common/Makefile             |    2 +
>  common/cmd_mgdisk.c         |   76 ++++++
>  common/cmd_nvedit.c         |    8 +-
>  common/env_mgdisk.c         |   92 +++++++
>  disk/part.c                 |    8 +-
>  disk/part_amiga.c           |    5 +-
>  disk/part_dos.c             |    1 +
>  disk/part_efi.c             |    1 +
>  disk/part_iso.c             |    1 +
>  disk/part_mac.c             |    1 +
>  doc/README.mflash           |   94 +++++++
>  drivers/block/Makefile      |    5 +-
>  drivers/block/mg_disk.c     |  582 +++++++++++++++++++++++++++++++++++++++++++
>  drivers/block/mg_disk_prv.h |  145 +++++++++++
>  fs/fat/fat.c                |    2 +
>  include/config_cmd_all.h    |    1 +
>  include/environment.h       |   12 +
>  include/mg_disk.h           |   51 ++++
>  include/part.h              |    1 +
>  19 files changed, 1080 insertions(+), 8 deletions(-)
>  create mode 100644 common/cmd_mgdisk.c
>  create mode 100644 common/env_mgdisk.c
>  create mode 100644 doc/README.mflash
>  create mode 100644 drivers/block/mg_disk.c
>  create mode 100644 drivers/block/mg_disk_prv.h
>  create mode 100644 include/mg_disk.h

Oops. Forget my previous message, please.

Applied this one. Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The human race has one really effective weapon, and that is laughter.
                                                         - Mark Twain


More information about the U-Boot mailing list