[U-Boot] [PATCH] mmc: Initialize mmc_devices list statically

2013-08-06 Thread Taras Kondratiuk
Currently mmc_device list is initialized from mmc_initialize() function. So crash happens if any function which use mmc_devices list (find_mmc_device, print_mmc_devices, etc.) is called before mmc_initialize(). Fix this by initializing mmc_devices list statically. Signed-off-by: Taras Kondratiuk

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Taras Kondratiuk
On 08/06/2013 05:21 PM, Lokesh Vutla wrote: Hi Taras, On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: From: Lubomir Popov OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. This memory has 4Gb x 2CS = 8Gb configuration. Add configuration for runtime calculation and

[U-Boot] [PATCH] omap: emif: Set initial DDR PHY config first

2013-08-06 Thread Taras Kondratiuk
Commit "OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon" (f40107345cbcd6e0d1747eda45e76c4e2a6df0db) changed sequence to set final DDR PHY config register value at the beginning. Looks like it was made by mistake and should be reverted. Signed-off-by: Taras

[U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Taras Kondratiuk
50851.html Signed-off-by: Lubomir Popov [ta...@ti.com: cleaned up patch and fixed precalculated values] Signed-off-by: Taras Kondratiuk --- arch/arm/cpu/armv7/omap4/sdram_elpida.c | 41 +-- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/

[U-Boot] [PATCH 0/4] ARM: OMAP4: Add OMAP4470 support

2013-08-06 Thread Taras Kondratiuk
d on top of this one. Tested on TI Blaze Tablet2 board. Based on v2013.07+ commit f53932a "dts/Makefile: pass -undef -D__DTS__ to cpp" [1] http://www.mail-archive.com/u-boot@lists.denx.de/msg118364.html Lubomir Popov (1): ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration T

[U-Boot] [PATCH 2/4] ARM: OMAP4470: Add voltage and dpll data

2013-08-06 Thread Taras Kondratiuk
OMAP4470 reference design uses TWL6032 PMIC with a following connection scheme: VDD_CORE = TWL6032 SMPS2 VDD_MPU = TWL6032 SMPS1 VDD_IVA = TWL6032 SMPS5 Set voltage and frequency values according to OMAP4470 Data Manual Operating Condition Addendum v0.7 Signed-off-by: Taras Kondratiuk

[U-Boot] [PATCH 1/4] ARM: OMAP4470: Add OMAP4470 identification

2013-08-06 Thread Taras Kondratiuk
Signed-off-by: Taras Kondratiuk --- arch/arm/cpu/armv7/omap4/hwinit.c |3 +++ arch/arm/include/asm/arch-omap4/omap.h |1 + arch/arm/include/asm/omap_common.h |1 + 3 files changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/omap4/hwinit.c b/arch/arm/cpu/armv7/omap4

[U-Boot] [PATCH 4/4] ARM: OMAP4460: sdp: Limit TPS mux config to 4460

2013-08-06 Thread Taras Kondratiuk
TPS mux config is 4460 specific, so it should be limited to 4460 only. Signed-off-by: Taras Kondratiuk --- board/ti/sdp4430/sdp.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index 25daaa9..0479a56 100644 --- a/board/ti

[U-Boot] [PATCH] SPL: Limit image name print length

2013-07-16 Thread Taras Kondratiuk
If image name is longer than 32 bytes, then it will be truncated. This will remove '\0' at the end of the line, so printf will go out of string limit. Signed-off-by: Taras Kondratiuk Reviewed-by: Tom Rini --- common/spl/spl.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletion