[U-Boot] [PATCH V1 1/1] EXYNOS5: I2C: Add FDT and non-FDT support for I2C

2013-04-03 Thread Amar
This patch updates the function board_i2c_init() to add support for both FDT and non-FDT for I2C, and initialise the I2C channels. Signed-off-by: Amar --- drivers/i2c/s3c24x0_i2c.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b

[U-Boot] [PATCH V1 0/1] EXYNOS5: I2C: Add FDT and non-FDT support for I2C

2013-04-03 Thread Amar
s patch updates the function board_i2c_init() to add support for both FDT and non-FDT for I2C, and initialise the I2C channels. Amar (1): EXYNOS5: I2C: Added FDT and non-FDT support for I2C drivers/i2c/s3c24x0_i2c.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions

[U-Boot] [PATCH V8 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-03 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit messag

[U-Boot] [PATCH V8 8/9] SMDK5250: Enable EMMC booting

2013-04-03 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of commit message and

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

2013-04-03 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change. Changes since V4

[U-Boot] [PATCH V8 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-04-03 Thread Amar
o be added into the file exynos5-dt.c. At same time if non-FDT support is required then add the corresponding updations into smdk5250.c. Signed-off-by: Amar --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support 2)Makefile is updated to compile o

[U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-03 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same

[U-Boot] [PATCH V8 5/9] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-04-03 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes

[U-Boot] [PATCH V8 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-03 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar --- Changes since

[U-Boot] [PATCH V8 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-04-03 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH V8 1/9] FDT: Add compatible string for DWMMC

2013-04-03 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No

[U-Boot] [PATCH V8 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and

2013-04-03 Thread Amar
t partition has been made conditional and is enabled only if the macro CONFIG_SUPPORT_EMMC_BOOT is defined. 4)The macros FSYS1_MMC0_DIV_MASK and FSYS1_MMC0_DIV_VAL are made local to file clock_init.c. Amar (9): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add

[U-Boot] [PATCH V7 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-03-05 Thread Amar
This patch adds FDT and non-FDT support for I2C, and initialise the I2C channels. Signed-off-by: Amar --- Changes since V4: New patch. Changes since V5: 1)Removed the function call i2c_init() present inside the function board_i2c_init(). Changes since V6: No

[U-Boot] [PATCH V7 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-03-05 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updati

[U-Boot] [PATCH V7 08/10] SMDK5250: Enable EMMC booting

2013-03-05 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of

[U-Boot] [PATCH V7 07/10] MMC: APIs to support resize of EMMC boot partition

2013-03-05 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change

[U-Boot] [PATCH V7 06/10] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-03-05 Thread Amar
o be added into the file exynos5-dt.c. At same time if non-FDT support is required then add the corresponding updations into smdk5250.c. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support 2)Makefile i

[U-Boot] [PATCH V7 05/10] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-03-05 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes

[U-Boot] [PATCH V7 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-03-05 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same

[U-Boot] [PATCH V7 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-03-05 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar Acked-by: Jaehoon

[U-Boot] [PATCH V7 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-03-05 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH V7 01/10] FDT: Add compatible string for DWMMC

2013-03-05 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No

[U-Boot] [PATCH V7 00/10] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-03-05 Thread Amar
function board_i2c_init(). Changes from V6: 1)Re-based to the patch "SMDK5250: Add PMIC voltage settings". Amar (10): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC device node data DWMMC: Initialise dwmci and resolve EMMC read write issues EXYNOS5

[U-Boot] [PATCH V6 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-02-14 Thread Amar
This patch adds FDT and non-FDT support for I2C, and initialise the I2C channels. Signed-off-by: Amar --- Changes since V4: New patch. Changes since V5: 1)Removed the function call i2c_init() present inside the function board_i2c_init(). drivers/i2c/s3c24x0_i2c.c | 12

[U-Boot] [PATCH V6 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-02-14 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updati

[U-Boot] [PATCH V6 08/10] SMDK5250: Enable EMMC booting

2013-02-14 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of

[U-Boot] [PATCH V6 07/10] MMC: APIs to support resize of EMMC boot partition

2013-02-14 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change. Changes since V4

[U-Boot] [PATCH V6 06/10] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-02-14 Thread Amar
o be added into the file exynos5-dt.c. At same time if non-FDT support is required then add the corresponding updations into smdk5250.c. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support 2)Makefile i

[U-Boot] [PATCH V6 05/10] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-02-14 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes

[U-Boot] [PATCH V6 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-02-14 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same

[U-Boot] [PATCH V6 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-02-14 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar Acked-by: Jaehoon

[U-Boot] [PATCH V6 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-02-14 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH V6 01/10] FDT: Add compatible string for DWMMC

2013-02-14 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No

[U-Boot] [PATCH V6 00/10] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-02-14 Thread Amar
7;removable' flag to mmc device node. 2)Changed the mmc clock value from 50MHz to 52MHz in the function exynos_dwmci_add_port() present in file drivers/mmc/exynos_dw_mmc.c. 3)Enabled CONFIG_LCD only for non-FDT operation. 4)Removed the function call i2c_init() present inside the

[U-Boot] [PATCH V5 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-01-21 Thread Amar
This patch adds FDT and non-FDT support for I2C, and initialise the I2C channels. Signed-off-by: Amar --- Changes since V4: New patch. drivers/i2c/s3c24x0_i2c.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c

[U-Boot] [PATCH V5 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-01-21 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit messag

[U-Boot] [PATCH V5 08/10] SMDK5250: Enable EMMC booting

2013-01-21 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of commit message and

[U-Boot] [PATCH V5 07/10] MMC: APIs to support resize of EMMC boot partition

2013-01-21 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change. Changes since V4

[U-Boot] [PATCH V5 06/10] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-01-21 Thread Amar
o be added into the file exynos5-dt.c. At same time if non-FDT support is required then add the corresponding updations into smdk5250.c. Signed-off-by: Amar --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support 2)Makefile is updated to compile o

[U-Boot] [PATCH V5 05/10] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-01-21 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar --- Changes since V1: 1)

[U-Boot] [PATCH V5 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-01-21 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- Changes since V1: 1)Updated code to have same signature for the function

[U-Boot] [PATCH V5 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-01-21 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence Modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar --- Changes since

[U-Boot] [PATCH V5 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-01-21 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- Changes since V1: 1)Added binding file for DWMMC device node at the location "doc/device-tree-bindings/e

[U-Boot] [PATCH V5 01/10] FDT: Add compatible string for DWMMC

2013-01-21 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change

[U-Boot] [PATCH V5 00/10] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-01-21 Thread Amar
ons dram_init(), dram_init_banksize() and board_uart_init() are updated to use for loop. 5)Replaced the functions mmc_boot_open() & mmc_boot_close() with a single function mmc_boot_part_access(). 6)Added new patch which adds FDT and non-FDT support for I2C.

[U-Boot] [PATCH V4 8/9] SMDK5250: Enable EMMC booting

2013-01-04 Thread Amar
. Changes from V3: No change. Signed-off-by: Amar --- board/samsung/smdk5250/clock_init.c | 15 +++ board/samsung/smdk5250/clock_init.h | 5 board/samsung/smdk5250/spl_boot.c | 52 - 3 files changed, 65 insertions(+), 7 deletions(-) diff

[U-Boot] [PATCH V4 5/9] EXYNOS5: DWMMC: API to set mmc clock divisor

2013-01-04 Thread Amar
f commit message and resubmition of proper patch set. Changes from V3: 1)Removed the new API exynos5_mmc_set_clk_div() from clock.c, because existing API set_mmc_clk() can be used to set mmc clock. Signed-off-by: Amar --- arch/arm/cpu/armv7/exynos/clock.c | 4 ++-- arch/

[U-Boot] [PATCH V4 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-01-04 Thread Amar
d. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- arch/arm/include/asm/arch-exynos/dwmmc.h | 4 + drivers/mmc/exynos_dw_mmc.c | 129 +-- include/dwmmc.h | 4 + 3 files changed, 130 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH V4 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-01-04 Thread Amar
ex' from device node. 3)Prefixed the vendor name 'samsung' before propname in device node. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Changes from V3: No change. Signed-off-by: Vivek Gautam Signed-off-by: Amar X ---

[U-Boot] [PATCH V4 9/9] COMMON: MMC: Command to support EMMC booting and to

2013-01-04 Thread Amar
et. Changes from V3: No change. Signed-off-by: Amar --- common/cmd_mmc.c | 84 +++- 1 file changed, 83 insertions(+), 1 deletion(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 7dacd51..1dabb5b 100644 --- a/common/cmd_mmc.c ++

[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 --- drivers/mmc/mmc.c | 118

[U-Boot] [PATCH V4 1/9] FDT: Add compatible string for DWMMC

2013-01-04 Thread Amar
Add required compatible information for DWMMC driver. Changes from V1: No change. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Changes from V3: No change. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass

[U-Boot] [PATCH V4 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-01-04 Thread Amar
exynos5-dt.c / smdk5250.c based on FDT configuration Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Changes from V3: No change. Signed-off-by: Amar --- board/samsung/smdk5250/Makefile | 4 + board/samsung/smdk525

[U-Boot] [PATCH V4 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and

2013-01-04 Thread Amar
the purpose. 3)In the file exynos_dw_mmc.c, computation of FSYS block clock divisor (pre-ratio) value is added. 4)Removed the new function exynos5_mmc_set_clk_div() from clock.c. Amar (9): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC device node data DW

[U-Boot] [PATCH V4 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-01-04 Thread Amar
macros RX_WMARK_SHIFT and RX_WMARK_MASK in header file. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Changes from V3: 1)Updated to use the macro DWMCI_CTRL_SEND_AS_CCSD instead of the hard coded value (1 << 10). Signed-off-by

[U-Boot] [PATCH V3 9/9] COMMON: MMC: Command to support EMMC booting and to

2012-12-31 Thread Amar
This patch adds commands to open, close and resize boot partitions on EMMC. Changes from V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes from V2: 1)Updation of commit message and resubmition of proper patch set.

[U-Boot] [PATCH V3 8/9] SMDK5250: Enable EMMC booting

2012-12-31 Thread Amar
. Signed-off-by: Amar --- board/samsung/smdk5250/clock_init.c | 15 +++ board/samsung/smdk5250/clock_init.h | 5 board/samsung/smdk5250/spl_boot.c | 52 - 3 files changed, 65 insertions(+), 7 deletions(-) diff --git a/board/samsung/smdk5250

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

2012-12-31 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. Signed-off-by: Amar --- drivers/mmc/mmc.c | 118

[U-Boot] [PATCH V3 5/9] EXYNOS5: DWMMC: API to set mmc clock divisor

2012-12-31 Thread Amar
f commit message and resubmition of proper patch set. Signed-off-by: Amar --- arch/arm/cpu/armv7/exynos/clock.c | 38 -- arch/arm/include/asm/arch-exynos/clk.h | 4 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos

[U-Boot] [PATCH V3 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2012-12-31 Thread Amar
exynos5-dt.c / smdk5250.c based on FDT configuration Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Signed-off-by: Amar --- board/samsung/smdk5250/Makefile | 4 + board/samsung/smdk5250/exynos5-dt.c | 242 +++

[U-Boot] [PATCH V3 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and

2012-12-31 Thread Amar
evice node. 6)Ensured to have same signature for the function exynos_dwmci_init() for both FDT and non-FDT versions. 7)EMMC clock setting has been moved from spl_boot.c to clock_init.c. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Ama

[U-Boot] [PATCH V3 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2012-12-31 Thread Amar
macros RX_WMARK_SHIFT and RX_WMARK_MASK in header file. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Signed-off-by: Amar --- drivers/mmc/dw_mmc.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/dw_mmc.c

[U-Boot] [PATCH V3 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2012-12-31 Thread Amar
pdation of commit message and resubmition of proper patch set. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- arch/arm/include/asm/arch-exynos/dwmmc.h | 4 ++ drivers/mmc/exynos_dw_mmc.c | 116 +-- include/dwmmc.h | 4 +

[U-Boot] [PATCH V3 2/9] EXYNOS5: FDT: Add DWMMC device node data

2012-12-31 Thread Amar
ex' from device node. 3)Prefixed the vendor name 'samsung' before propname in device node. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Signed-off-by: Vivek Gautam Signed-off-by: Amar X --- arch/arm/dts/exy

[U-Boot] [PATCH V3 1/9] FDT: Add compatible string for DWMMC

2012-12-31 Thread Amar
Add required compatible information for DWMMC driver. Changes from V1: No change. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- include/fdtdec.h | 1 + lib/fdtdec.c

[U-Boot] [PATCH 9/9] COMMON: MMC: Command to support EMMC booting

2012-12-28 Thread Amar
This patch adds commands to open, close and create partitions on EMMC Signed-off-by: Amar --- common/cmd_mmc.c | 85 +++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 62a1c22..355ab8e

[U-Boot] [PATCH 8/9] SMDK5250: Enable EMMC booting

2012-12-28 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar --- board/samsung/smdk5250/clock_init.c | 18 + board/samsung/smdk5250/clock_init.h | 5 board/samsung/smdk5250/spl_boot.c | 52 - 3 files changed, 69 insertions

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

2012-12-28 Thread Amar
This patch adds APIs to open, close and to create boot partiton for EMMC. Signed-off-by: Amar --- drivers/mmc/mmc.c | 118 ++ include/mmc.h | 16 2 files changed, 134 insertions(+) diff --git a/drivers/mmc/mmc.c b/drivers/mmc

[U-Boot] [PATCH 6/9] SMDK5250: Enable DWMMC

2012-12-28 Thread Amar
This patch enables DWMMC for SMDK5250. Supports both dt and non-dt versions. Two files are maintained, one for dt version(smdk5250.c) and the other for non-dt version(exynos5-dt.c). Signed-off-by: Amar --- board/samsung/smdk5250/Makefile | 4 + board/samsung/smdk5250/exynos5-dt.c | 235

[U-Boot] [PATCH 5/9] EXYNOS5: DWMMC: API to set mmc clock divisor

2012-12-28 Thread Amar
This API computes the divisor value based on MPLL clock and writes it into the FSYS1 register. Signed-off-by: Amar --- arch/arm/cpu/armv7/exynos/clock.c | 38 -- arch/arm/include/asm/arch-exynos/clk.h | 3 +++ 2 files changed, 39 insertions(+), 2 deletions

[U-Boot] [PATCH 4/9] EXYNOS5: DWMMC: Added dt support for DWMMC

2012-12-28 Thread Amar
This patch adds dt support for DWMMC, by reading the dwmmc node data from the device tree and initialising dwmmc channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- arch/arm/include/asm/arch-exynos/dwmmc.h | 12 ++-- drivers/mmc/exynos_dw_mmc.c

[U-Boot] [PATCH 2/9] EXYNOS5: FDT: Add DWMMC device node data

2012-12-28 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- arch/arm/dts/exynos5250.dtsi | 32 +++ board/samsung/dts/exynos5250-smdk5250.dts | 22

[U-Boot] [PATCH 1/9] FDT: Add compatible string for DWMMC

2012-12-28 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 539bb1b..f09c281 100644 --- a/include/fdtdec.h

[U-Boot] [PATCH V2 0/9] EXYNOS5: Enable dwmmc

2012-12-28 Thread Amar
. 3)Added binding file for DWMMC device node. 4)Moved dwmmc clock setting from spl_boot.c to clock_init.c. Amar (9): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC device node data DWMMC: Initialise dwmci and resolved the boot partition write issue EXYNOS5: DWM

[U-Boot] [PATCH 4/9] EXYNOS5: DWMMC: Added dt support for DWMMC

2012-12-17 Thread Amar
Signed-off-by: Amar --- arch/arm/include/asm/arch-exynos/dwmmc.h |4 + drivers/mmc/exynos_dw_mmc.c | 117 -- include/dwmmc.h |4 + 3 files changed, 119 insertions(+), 6 deletions(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH 2/9] EXYNOS5: FDT: Add DWMMC device node data

2012-12-17 Thread Amar
Add DWMMC device node data for exynos5 Signed-off-by: Amar --- arch/arm/dts/exynos5250.dtsi | 32 + board/samsung/dts/exynos5250-smdk5250.dts | 24 + 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts

[U-Boot] [PATCH 0/9] EXYNOS5: Enable dwmmc

2012-12-17 Thread Amar
in u-boot-mmc "Exynos: clock: support get_mmc_clk for exynos" "Add DT based ethernet driver for SMDK5250" "SMDK5250: Add FDT support" Amar (9): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC device node data DWMMC: Initialise dwmci and resolved

[U-Boot] [PATCH 1/9] FDT: Add compatible string for DWMMC

2012-12-17 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Amar --- include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 539bb1b..f09c281 100644 --- a/include/fdtdec.h +++ b

[U-Boot] [PATCH 9/9] COMMON: MMC: Command to support eMMC booting

2012-12-17 Thread Amar
This patch adds commands to open, close and create partitions on eMMC Signed-off-by: Amar --- common/cmd_mmc.c | 101 +- 1 files changed, 100 insertions(+), 1 deletions(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 62a1c22

[U-Boot] [PATCH 8/9] SMDK5250: Enable eMMC booting

2012-12-17 Thread Amar
This patch adds support for eMMC booting on SMDK5250 Signed-off-by: Amar --- board/samsung/smdk5250/spl_boot.c | 38 - 1 files changed, 37 insertions(+), 1 deletions(-) diff --git a/board/samsung/smdk5250/spl_boot.c b/board/samsung/smdk5250/spl_boot.c

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

2012-12-17 Thread Amar
This pathc adds APIs to open, close and to create boot partiton for eMMC. Signed-off-by: Amar --- drivers/mmc/mmc.c | 118 + include/mmc.h | 16 +++ 2 files changed, 134 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/mmc.c

[U-Boot] [PATCH 6/9] SMDK5250: Enable DWMMC

2012-12-17 Thread Amar
This patch enables DWMMC for SMDK5250. Support both dt and non-dt versions. Signed-off-by: Amar --- board/samsung/smdk5250/smdk5250.c | 36 include/configs/exynos5250-dt.h |9 + 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH 5/9] EXYNOS5: DWMMC: API to set mmc clock divisor

2012-12-17 Thread Amar
This API computes the divisor value based on MPLL clock and writes it into the FSYS1 register. Signed-off-by: Amar --- arch/arm/cpu/armv7/exynos/clock.c | 39 ++- arch/arm/include/asm/arch-exynos/clk.h |1 + 2 files changed, 38 insertions(+), 2 deletions

[U-Boot] [PATCH 4/4] SMDK5250: Initialise and enable dwmmc channels

2012-12-05 Thread Amar
This patch initialises and enables dwmmc channels 0 and 2 for SMDK5250. It also initialises the pinmux for the same. Signed-off-by: Amarendra Reddy --- board/samsung/smdk5250/smdk5250.c | 22 +- include/configs/smdk5250.h|4 ++-- 2 files changed, 23 insertions(+

[U-Boot] [PATCH 1/4] MMC: DWMMC: Modified fifo size computation

2012-12-05 Thread Amar
The current implementation of fifo size computation was giving improper values for eMMC channel. Modified the computation as per user manual. Signed-off-by: Amarendra Reddy --- drivers/mmc/dw_mmc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/dw_mmc.c b/d

[U-Boot] [PATCH 3/4] EXYNOS: CLOCK: Initialised the local variable

2012-12-05 Thread Amar
This patch initialises the local variable 'shift' to zero to avoid improper extraction of ratio and pre-ratio divider values. Extraction of improper values was happening due to garbage value present in local variable. Signed-off-by: Amarendra Reddy --- arch/arm/cpu/armv7/exynos/clock.c |4 ++

[U-Boot] [PATCH 2/4] MMC: EXYNOS: Added call back function for clock get

2012-12-05 Thread Amar
This patch defines the call back required by dw mmc driver to get the clock value. It also adds function to set the dw mmc clock divider ratio. Signed-off-by: Amarendra Reddy --- drivers/mmc/exynos_dw_mmc.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/dr

[U-Boot] [PATCH 0/4] EXYNOS5: Enable dwmmc

2012-12-05 Thread Amar
This patch set enables the dwmmc for Exynos5250 on SMDK5250. Also does the required driver changes. This patch set is based on: "EXYNOS: mmc: support DesignWare Controller for Samsung-SoC" "Exynos: clock: support get_mmc_clk for exynos" Amar (4): MMC: DWMMC: Modified f