diff options
author | Tom Rini <trini@konsulko.com> | 2021-05-22 15:47:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-08 05:22:42 +0300 |
commit | d7221d0d660755fd395734afa4cce2948e5e5fa8 (patch) | |
tree | 5575411f5f42897540f48cd724f4f7367716acd4 /arch/arm/cpu | |
parent | 1dc77c290f4b9610978e215b6dcf70e595b3270e (diff) | |
download | u-boot-d7221d0d660755fd395734afa4cce2948e5e5fa8.tar.xz |
arm: Remove spear320 boards
These boards have not been converted to CONFIG_DM_USB by the deadline
and is also missing conversion to CONFIG_DM. Remove them. As this is
also the last SPEAR3XX platform, remove that symbol as well.
Cc: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/spear/cpu.c | 8 | ||||
-rw-r--r-- | arch/arm/cpu/arm926ejs/spear/spl.c | 2 | ||||
-rw-r--r-- | arch/arm/cpu/arm926ejs/spear/timer.c | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/arch/arm/cpu/arm926ejs/spear/cpu.c b/arch/arm/cpu/arm926ejs/spear/cpu.c index d05878edf8..2e0dd9ec33 100644 --- a/arch/arm/cpu/arm926ejs/spear/cpu.c +++ b/arch/arm/cpu/arm926ejs/spear/cpu.c @@ -19,9 +19,7 @@ int arch_cpu_init(void) periph1_clken = readl(&misc_p->periph1_clken); -#if defined(CONFIG_SPEAR3XX) - periph1_clken |= MISC_GPT2ENB; -#elif defined(CONFIG_SPEAR600) +#if defined(CONFIG_SPEAR600) periph1_clken |= MISC_GPT3ENB; #endif @@ -66,9 +64,7 @@ int arch_cpu_init(void) #ifdef CONFIG_DISPLAY_CPUINFO int print_cpuinfo(void) { -#if defined(CONFIG_SPEAR320) - printf("CPU: SPEAr320\n"); -#elif defined(CONFIG_SPEAR600) +#if defined(CONFIG_SPEAR600) printf("CPU: SPEAr600\n"); #else #error CPU not supported in spear platform diff --git a/arch/arm/cpu/arm926ejs/spear/spl.c b/arch/arm/cpu/arm926ejs/spear/spl.c index 5b5b79be8c..693cee1ab3 100644 --- a/arch/arm/cpu/arm926ejs/spear/spl.c +++ b/arch/arm/cpu/arm926ejs/spear/spl.c @@ -205,8 +205,6 @@ int get_socrev(void) return SOC_SPEAR600_BA; else return SOC_SPEAR_NA; -#if defined(CONFIG_SPEAR320) - return SOC_SPEAR320; #endif } diff --git a/arch/arm/cpu/arm926ejs/spear/timer.c b/arch/arm/cpu/arm926ejs/spear/timer.c index b42baa7150..d5f6cccaae 100644 --- a/arch/arm/cpu/arm926ejs/spear/timer.c +++ b/arch/arm/cpu/arm926ejs/spear/timer.c @@ -36,10 +36,7 @@ int timer_init(void) u32 synth; /* Prescaler setting */ -#if defined(CONFIG_SPEAR3XX) - writel(MISC_PRSC_CFG, &misc_regs_p->prsc2_clk_cfg); - synth = MISC_GPT4SYNTH; -#elif defined(CONFIG_SPEAR600) +#if defined(CONFIG_SPEAR600) writel(MISC_PRSC_CFG, &misc_regs_p->prsc1_clk_cfg); synth = MISC_GPT3SYNTH; #else |