Re: [U-Boot] [PATCH 0/7] Exynos4412 SPL support

2018-09-14 Thread Simon Shields
Hi Anand, On Fri, Sep 14, 2018 at 05:31:38PM +0530, Anand Moon wrote: > Hi Simon, > On Fri, 14 Sep 2018 at 08:00, Simon Shields wrote: > > > > Hi Anand, > > > > On Thu, Sep 13, 2018 at 08:39:52PM +0530, Anand Moon wrote: > > > Hi Simon, > > > &

Re: [U-Boot] [PATCH 0/7] Exynos4412 SPL support

2018-09-13 Thread Simon Shields
Hi Anand, On Thu, Sep 13, 2018 at 08:39:52PM +0530, Anand Moon wrote: > Hi Simon, > > On Wed, 12 Sep 2018 at 17:25, Simon Shields wrote: > > > > Hi, > > > > This patch series adds support for using U-Boot's SPL as the second > > stage bootloader (&

[U-Boot] [PATCH 7/7] tools: build mkexynosspl for exynos4 as well

2018-09-12 Thread Simon Shields
Exynos4 uses the same SPL format as exynos5420/5250, so reuse mkexynosspl. Signed-off-by: Simon Shields --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index 0c3341e695..63db215f9f 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -166,6

[U-Boot] [PATCH 6/7] ARM: exynos: SPL support for exynos 4412

2018-09-12 Thread Simon Shields
sed by the proprietary bootloader - instead, they're initialised to the same state as normal exynos4412 clocks. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/Kconfig | 6 + arch/arm/mach-exynos/Makefile| 1 + arch/arm/mach-exynos/clock_init_exy

[U-Boot] [PATCH 5/7] ARM: exynos: add exynos4412 TZASC memory layout

2018-09-12 Thread Simon Shields
This patch adds the TZASC registers and base address as documented in the user manual. A follow-up patch will use this to mark all address spaces as non-secure. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/include/mach/cpu.h | 2 +- arch/arm/mach-exynos/include/mach/dmc.h | 19

[U-Boot] [PATCH 3/7] ARM: exynos: rename exynos4 setup files to exynos4210

2018-09-12 Thread Simon Shields
The current set of exynos4 initialisation code is only compatible with exynos4210. Rename it to reflect this, and allow for the introduction of exynos4412 support in a later patch set. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/Makefile | 2

[U-Boot] [PATCH 4/7] ARM: exynos: fill in exynos4412_power struct

2018-09-12 Thread Simon Shields
add all registers of the exynos4412 PMU according to the datasheet Signed-off-by: Simon Shields --- arch/arm/mach-exynos/include/mach/power.h | 290 +- 1 file changed, 289 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/include/mach/power.h b/arch/arm/mach

[U-Boot] [PATCH 2/7] exynos4: configure power down magic values

2018-09-12 Thread Simon Shields
These values are used to indicate the power-down state of the system. We need them to know how much initialisation we should do on bootup. Signed-off-by: Simon Shields --- include/configs/exynos4-common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/exynos4-common.h

[U-Boot] [PATCH 1/7] ARM: exynos: spl: add EMMC/SD boot mode support

2018-09-12 Thread Simon Shields
Match the iROM behaviour: try and load u-boot from EMMC, and if that fails, fall back to using the SD card. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/spl_boot.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos

[U-Boot] [PATCH 0/7] Exynos4412 SPL support

2018-09-12 Thread Simon Shields
upport (which I intend to upstream in the future). Cheers, Simon Simon Shields (7): ARM: exynos: spl: add EMMC/SD boot mode support exynos4: configure power down magic values ARM: exynos: rename exynos4 setup files to exynos4210 ARM: exynos: fill in exynos4412_power struct ARM: exynos: ad