[U-Boot] [PATCH 7/9] MMC: APIs to support creation of boot partition

Wolfgang Denk wd at denx.de
Fri Dec 28 16:43:35 CET 2012


Dear Amar,

In message <1356709972-26549-8-git-send-email-amarendra.xt at samsung.com> you wrote:
> This patch adds APIs to open, close and to create boot partiton for EMMC.
> 
> Signed-off-by: Amar <amarendra.xt at samsung.com>
> ---
>  drivers/mmc/mmc.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/mmc.h     |  16 ++++++++
>  2 files changed, 134 insertions(+)

See my previous comment to patch # 9 of this series.  Should we not
rather strive t come up with a more generic handling of partitions on
storage devices?  I don't want to jhave (E)MMC partitioon handling
here, USB partitions there, (P)ATA and SATA and ... all in different
implementations...

If we support creation and manipulation of partitions, this should be
done in common code.

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
This is an unauthorized cybernetic announcement.


More information about the U-Boot mailing list