Re: [U-Boot] [PATCH V4 7/9] MMC: APIs to support resize of EMMC boot partition

2013-01-07 Thread Jaehoon Chung
On 01/07/2013 02:54 PM, Amarendra Reddy wrote: Hi Jaehoon, The sequence to be followed to access(read/write) boot partitions is i) open() the boot partition, ii) Do the job , iii) Then close() boot partition. I understand that 1) You want a single generic function

Re: [U-Boot] [PATCH V4 7/9] MMC: APIs to support resize of EMMC boot partition

2013-01-06 Thread Amarendra Reddy
Hi Jaehoon, Yes, the functions mmc_boot_partiton_size_change(), mmc_boot_open() mmc_boot_close() can be used by any vendor to open/close/resize-boot-partition of emmc device. The above 3 functions call the static function static int mmc_send_cmd(...) located in drivers/mmc/mmc.c. Any vendor can

Re: [U-Boot] [PATCH V4 7/9] MMC: APIs to support resize of EMMC boot partition

2013-01-06 Thread Jaehoon Chung
Hi Amar, If you want to access the boot partition, Need to add open/close()? I think we can use like mmc_boot_part_access(struct mmc *mmc, int ack, int part_num, int access) How about this? i think it is more generic... On 01/07/2013 01:19 PM, Amarendra Reddy wrote: Hi Jaehoon, Yes, the

Re: [U-Boot] [PATCH V4 7/9] MMC: APIs to support resize of EMMC boot partition

2013-01-06 Thread Amarendra Reddy
Hi Jaehoon, The sequence to be followed to access(read/write) boot partitions is i) open() the boot partition, ii) Do the job , iii) Then close() boot partition. I understand that 1) You want a single generic function mmc_boot_part_access(struct mmc *mmc, int ack, int part_num, int access) to

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

2013-01-04 Thread Amar
This patch adds APIs to open, close and to resize boot partiton for EMMC. Changes from V1: New patch. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Changes from V3: No change. Signed-off-by: Amar amarendra...@samsung.com ---

Re: [U-Boot] [PATCH V4 7/9] MMC: APIs to support resize of EMMC boot partition

2013-01-04 Thread Jaehoon Chung
Hi Amar, I wonder that include the moviNAND specific code in mmc.c? mmc_boot_partiton_size_change() looks like every vendor can use this function. Best Regards, Jaehoon Chung On 01/04/2013 06:34 PM, Amar wrote: This patch adds APIs to open, close and to resize boot partiton for EMMC.