armv7: ls102xa: add lowlevel init
PATCH 1/1 armv7: ls102xa: add lowlevel init
Add lowlevel init in ls102xa, and delete the CONFIG_SKIP_LOWLEVEL_INIT define in ls1021atwr.h
--- arch/arm/cpu/armv7/Makefile | 2 +- arch/arm/cpu/armv7/ls102xa/soc.c | 4 ++++ include/configs/ls1021atwr.h | 1 - 3 files changed, 5 insertions(+), 2 deletions(-)
arch/arm/cpu/armv7/Makefile +1 -1
@@ -12,7 +12,7 @@ obj-y += cache_v7.o cache_v7_asm.o obj-y += cpu.o cp15.o obj-y += syslib.o -ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_MX7)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI)$(CONFIG_ARCH_SOCFPGA),) +ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_MX7)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI)$(CONFIG_ARCH_SOCFPGA)$(CONFIG_LS102XA),) ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y) obj-y += lowlevel_init.o endif
arch/arm/cpu/armv7/ls102xa/soc.c +4 -0
@@ -58,6 +58,10 @@ unsigned int get_soc_major_rev(void)return major; } +void s_init (void ) +{ +} +int arch_soc_init (void ) {struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR ;
include/configs/ls1021atwr.h +0 -1
@@ -20,7 +20,6 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO -#define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_DEEP_SLEEP #ifdef CONFIG_DEEP_SLEEP
Signature · 1 line
2.1.0.27.g96db324
PATCH 1/1 armv7: ls102xa: add lowlevel init
Quoted 2 lines · Xiaoliang Yang
Add lowlevel init in ls102xa, and delete the
CONFIG_SKIP_LOWLEVEL_INITdefine inls1021atwr.h
Why do you need lowlevel_init now, but not before?
York
PATCH 1/1 armv7: ls102xa: add lowlevel init
In reply to a message not in the archiveQuoted 4 lines · Xiaoliang Yang
Hi York,
We need enable i-cache in low level in order to improve u-boot running speed.
We have skippedlowlevel_initbecause a silicon bug before. (it could not run some instructions inlowlevel_inituntil DDR init, the bug has already fixed.)
Xiaoliang,
Can you be more specific about the bug? You said it is fixed, how about existing SoCs? Will existing SoCs run into any issue with the lowlevel_init?
York
PATCH 1/1 armv7: ls102xa: add lowlevel init
Hi york,
The silicon bug was existing in V1.0 of SoCs, we have already not supported them.
Xiaoliang Yang
-----Original Message-----
From: york sun
Sent: Friday, September 02, 2016 11:24 AM
To: Xiaoliang Yang; u-boot at lists.denx.de
Subject: Re: [PATCH] armv7: ls102xa: add lowlevel init
Quoted 6 lines · Xiaoliang Yang
Hi York,
We need enable i-cache in low level in order to improve u-boot running speed. We have skipped
lowlevel_initbecause a silicon bug before. (it could not run some instructions inlowlevel_inituntil DDR init, the bug has already fixed.)
Xiaoliang,
Can you be more specific about the bug? You said it is fixed, how about existing SoCs? Will existing SoCs run into any issue with the lowlevel_init?
York
PATCH 1/1 armv7: ls102xa: add lowlevel init
Quoted 3 lines · Xiaoliang Yang
Hi york,
The silicon bug was existing in V1.0 of SoCs, we have already not supported them.
No good. SDK may not support it, but ss long as we have users with rev 1 SoC, we need to support it in U-Boot. You can add revision check and skip lowever_init for older SoCs.
York
Quoted 26 lines
Xiaoliang Yang
-----Original Message-----
From: york sun
Sent: Friday, September 02, 2016 11:24 AM
To: Xiaoliang Yang; u-boot at lists.denx.de
Subject: Re: [PATCH] armv7: ls102xa: add lowlevel initQuoted 6 lines · Xiaoliang Yang
Hi York,
We need enable i-cache in low level in order to improve u-boot running speed. We have skipped
lowlevel_initbecause a silicon bug before. (it could not run some instructions inlowlevel_inituntil DDR init, the bug has already fixed.)Xiaoliang,
Can you be more specific about the bug? You said it is fixed, how about existing SoCs? Will existing SoCs run into any issue with the
lowlevel_init?York