Hi Amar, On Mon, Dec 17, 2012 at 3:19 AM, Amar <amarendra...@samsung.com> wrote:
> This pathc adds APIs to open, close and to create boot partiton for eMMC. > > Signed-off-by: Amar <amarendra...@samsung.com> > I think you should run checkpatch (or patman!) on your patches to get rid of little errors. Or maybe you need to upgrade your checkpatch. > --- > drivers/mmc/mmc.c | 118 > +++++++++++++++++++++++++++++++++++++++++++++++++++++ > include/mmc.h | 16 +++++++ > 2 files changed, 134 insertions(+), 0 deletions(-) > > diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c > index 5ffd8c5..88b0435 100644 > --- a/drivers/mmc/mmc.c > +++ b/drivers/mmc/mmc.c > @@ -1302,3 +1302,121 @@ int mmc_initialize(bd_t *bis) > > return 0; > } > + > +int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long > bootsize, > + unsigned long rpmbsize) > +{ > + int err; > + struct mmc_cmd cmd; > + > + /* Only use this command for raw eMMC moviNAND */ > + /* Enter backdoor mode */ > /* * line 1 * line 2 */ > + cmd.cmdidx = MMC_CMD_RES_MAN; > + cmd.resp_type = MMC_RSP_R1b; > + cmd.cmdarg = MMC_CMD62_ARG1; > + [snip] Regards, Simon
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot