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

2013-04-04 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 V1 1/1] EXYNOS5: I2C: Add FDT and non-FDT support for I2C

2013-04-04 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 amarendra...@samsung.com --- drivers/i2c/s3c24x0_i2c.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers

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

2013-04-03 Thread Amar
and FSYS1_MMC0_DIV_VAL are made local to file clock_init.c. Amar (9): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC device node data DWMMC: Initialise dwmci and resolve EMMC read write issues EXYNOS5: DWMMC: Added FDT support for DWMMC EXYNOS5: DWMMC: Initialise the local

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- Changes since V1: No change. Changes since V2: 1)Updation of commit message

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com Acked-by: Simon Glass s...@chromium.org

[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 amarendra

[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 amarendra...@samsung.com Acked-by: Simon Glass s

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org

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

2013-04-03 Thread Amar
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 amarendra...@samsung.com --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support 2)Makefile is updated

[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 amarendra...@samsung.com --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3

[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 amarendra...@samsung.com --- 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

[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 amarendra...@samsung.com --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message

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

2013-03-05 Thread Amar
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 function board_i2c_init(). Changes from V6: 1)Re-based to the patch SMDK5250: Add PMIC voltage settings. Amar (10): FDT

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- Changes since V1: No change. Changes since V2: 1)Updation of commit message

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com Acked-by: Simon Glass s...@chromium.org

[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 amarendra

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org

[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 amarendra...@samsung.com Acked-by: Simon Glass s

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

2013-03-05 Thread Amar
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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support

[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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch

[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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file

[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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since

[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 amarendra...@samsung.com --- Changes since V4: New patch. Changes since V5: 1)Removed the function call i2c_init() present inside the function board_i2c_init(). Changes

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

2013-02-14 Thread Amar
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 function board_i2c_init(). Amar (10): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC device node data DWMMC

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- Changes since V1: No change. Changes since V2: 1)Updation of commit message

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com Acked-by: Simon Glass s...@chromium.org

[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 amarendra

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org

[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 amarendra...@samsung.com Acked-by: Simon Glass s

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

2013-02-14 Thread Amar
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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support

[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 amarendra...@samsung.com --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3

[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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file

[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 amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since

[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 amarendra...@samsung.com --- Changes since V4: New patch. Changes since V5: 1)Removed the function call i2c_init() present inside the function board_i2c_init(). drivers

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

2013-01-21 Thread Amar
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. 7)Updated in response to review comments. Amar (10): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add DWMMC

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since V1: No change. Changes since V2: 1)Updation of commit message

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[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 amarendra

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: 1)Updated

[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 amarendra...@samsung.com --- Changes since V1

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

2013-01-21 Thread Amar
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 amarendra...@samsung.com --- Changes since V1: 1)A new file 'exynos5-dt.c' is created meant for FDT support 2)Makefile is updated

[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 amarendra...@samsung.com --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3

[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 amarendra...@samsung.com --- 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

[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 amarendra...@samsung.com --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message

[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 amarendra...@samsung.com --- Changes since V4: New patch. drivers/i2c/s3c24x0_i2c.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/i2c

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

2013-01-04 Thread Amar
the 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: Amar

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

2013-01-04 Thread Amar
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 DWMMC: Initialise dwmci and resolve EMMC read write issues EXYNOS5: DWMMC

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

2013-01-04 Thread Amar
/ 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 amarendra...@samsung.com --- board/samsung/smdk5250/Makefile | 4 + board/samsung/smdk5250/exynos5-dt.c

[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 gautam.vi...@samsung.com Signed-off-by: Amar

[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 --- drivers

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

2013-01-04 Thread Amar
: No change. Signed-off-by: Amar amarendra...@samsung.com --- 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 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-01-04 Thread Amar
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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra

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

2013-01-04 Thread Amar
-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com --- arch/arm/include/asm/arch-exynos/dwmmc.h | 4 + drivers/mmc/exynos_dw_mmc.c | 129 +-- include/dwmmc.h | 4 + 3 files changed, 130

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

2013-01-04 Thread Amar
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 amarendra...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c | 4 ++-- arch

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

2013-01-04 Thread Amar
. Changes from V3: No change. Signed-off-by: Amar amarendra...@samsung.com --- 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

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon

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

2012-12-31 Thread Amar
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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.comX --- arch/arm/dts

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

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

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

2012-12-31 Thread Amar
the 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 amarendra...@samsung.com --- drivers/mmc/dw_mmc.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

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

2012-12-31 Thread Amar
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. Amar (9): FDT: Add compatible string for DWMMC EXYNOS5: FDT: Add

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

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

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

2012-12-31 Thread Amar
and resubmition of proper patch set. Signed-off-by: Amar amarendra...@samsung.com --- 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

[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 amarendra...@samsung.com --- drivers/mmc/mmc.c | 118

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

2012-12-31 Thread Amar
. Signed-off-by: Amar amarendra...@samsung.com --- 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

[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. Signed-off-by: Amar

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

2012-12-28 Thread Amar
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: DWMMC: Added dt support for DWMMC EXYNOS5: DWMMC

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com --- include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com --- arch/arm/dts/exynos5250.dtsi | 32 +++ board

[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 gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com --- arch/arm/include/asm/arch-exynos

[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 amarendra...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c | 38 -- arch/arm/include/asm/arch-exynos/clk.h | 3 +++ 2 files changed, 39

[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 amarendra...@samsung.com --- board/samsung/smdk5250/Makefile | 4 + board/samsung

[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 amarendra...@samsung.com --- drivers/mmc/mmc.c | 118 ++ include/mmc.h | 16 2 files changed, 134 insertions(+) diff --git a/drivers

[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 amarendra...@samsung.com --- board/samsung/smdk5250/clock_init.c | 18 + board/samsung/smdk5250/clock_init.h | 5 board/samsung/smdk5250/spl_boot.c | 52 - 3 files

[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 amarendra...@samsung.com --- common/cmd_mmc.c | 85 +++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c

[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 amarendra...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c | 39 ++- arch/arm/include/asm/arch-exynos/clk.h |1 + 2 files changed, 38

[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 amarendra...@samsung.com --- board/samsung/smdk5250/smdk5250.c | 36 include/configs/exynos5250-dt.h |9 + 2 files changed, 41 insertions(+), 4

[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 amarendra...@samsung.com --- drivers/mmc/mmc.c | 118 + include/mmc.h | 16 +++ 2 files changed, 134 insertions(+), 0 deletions(-) diff

[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 amarendra...@samsung.com --- 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

[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 amarendra...@samsung.com --- common/cmd_mmc.c | 101 +- 1 files changed, 100 insertions(+), 1 deletions(-) diff --git a/common/cmd_mmc.c b/common

[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 amarendra...@samsung.com --- 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

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

2012-12-17 Thread Amar
-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 the boot partition write issue EXYNOS5: DWMMC

[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 amarendra...@samsung.com --- arch/arm/dts/exynos5250.dtsi | 32 + board/samsung/dts/exynos5250-smdk5250.dts | 24 + 2 files changed, 56 insertions(+), 0 deletions(-) diff

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

2012-12-17 Thread Amar
Signed-off-by: Amar amarendra...@samsung.com --- 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

[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 fifo size computation MMC

[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 amarendra...@samsung.com --- drivers/mmc/exynos_dw_mmc.c | 14 +- 1 files changed, 13 insertions(+), 1

[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 amarendra...@samsung.com ---

[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 amarendra...@samsung.com --- drivers/mmc/dw_mmc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[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 amarendra...@samsung.com --- board/samsung/smdk5250/smdk5250.c | 22 +- include/configs/smdk5250.h|4 ++-- 2 files