Message ID | 20220323212009.1066483-19-trini@konsulko.com |
---|---|
State | Accepted |
Commit | a9ee1ad95a9a19bc41f77a0806a8686ae2fb912c |
Delegated to: | Tom Rini |
Headers | show |
Series | [01/22] Convert CONFIG_CF_DSPI to Kconfig | expand |
Dear Tom, On Thu, 24 Mar 2022 at 06:23, Tom Rini <trini@konsulko.com> wrote: > We only set one of these values ever at this point, so remove dead code. > > Cc: Minkyu Kang <mk7.kang@samsung.com> > Cc: Jaehoon Chung <jh80.chung@samsung.com> > Signed-off-by: Tom Rini <trini@konsulko.com> > --- > arch/arm/mach-exynos/exynos4_setup.h | 20 -------------------- > include/configs/origen.h | 2 -- > include/configs/smdkv310.h | 2 -- > 3 files changed, 24 deletions(-) > > Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
On 3/24/22 06:20, Tom Rini wrote: > We only set one of these values ever at this point, so remove dead code. > > Cc: Minkyu Kang <mk7.kang@samsung.com> > Cc: Jaehoon Chung <jh80.chung@samsung.com> > Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Best Regards, Jaehoon Chung > --- > arch/arm/mach-exynos/exynos4_setup.h | 20 -------------------- > include/configs/origen.h | 2 -- > include/configs/smdkv310.h | 2 -- > 3 files changed, 24 deletions(-) > > diff --git a/arch/arm/mach-exynos/exynos4_setup.h b/arch/arm/mach-exynos/exynos4_setup.h > index 38735f002f10..a08d64a8e23e 100644 > --- a/arch/arm/mach-exynos/exynos4_setup.h > +++ b/arch/arm/mach-exynos/exynos4_setup.h > @@ -11,19 +11,6 @@ > #include <config.h> > #include <asm/arch/cpu.h> > > -#ifdef CONFIG_CLK_800_330_165 > -#define DRAM_CLK_330 > -#endif > -#ifdef CONFIG_CLK_1000_200_200 > -#define DRAM_CLK_200 > -#endif > -#ifdef CONFIG_CLK_1000_330_165 > -#define DRAM_CLK_330 > -#endif > -#ifdef CONFIG_CLK_1000_400_200 > -#define DRAM_CLK_400 > -#endif > - > /* Bus Configuration Register Address */ > #define ASYNC_CONFIG 0x10010350 > > @@ -562,15 +549,8 @@ struct mem_timings { > #define TIMINGPOWER_VAL 0x52000A3C > #else > #define TIMINGREF_VAL 0x000000BC > -#ifdef DRAM_CLK_330 > -#define TIMINGROW_VAL 0x3545548d > -#define TIMINGDATA_VAL 0x45430506 > -#define TIMINGPOWER_VAL 0x4439033c > -#endif > -#ifdef DRAM_CLK_400 > #define TIMINGROW_VAL 0x45430506 > #define TIMINGDATA_VAL 0x56500506 > #define TIMINGPOWER_VAL 0x5444033d > #endif > #endif > -#endif > diff --git a/include/configs/origen.h b/include/configs/origen.h > index 22325180ce0e..e8b54def9288 100644 > --- a/include/configs/origen.h > +++ b/include/configs/origen.h > @@ -46,8 +46,6 @@ > "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ > "source ${loadaddr}\0" > > -#define CONFIG_CLK_1000_400_200 > - > /* MIU (Memory Interleaving Unit) */ > #define CONFIG_MIU_2BIT_21_7_INTERLEAVED > > diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h > index 84b8537e54df..9ff05fcca789 100644 > --- a/include/configs/smdkv310.h > +++ b/include/configs/smdkv310.h > @@ -38,8 +38,6 @@ > > /* FLASH and environment organization */ > > -#define CONFIG_CLK_1000_400_200 > - > /* MIU (Memory Interleaving Unit) */ > #define CONFIG_MIU_2BIT_INTERLEAVED >
diff --git a/arch/arm/mach-exynos/exynos4_setup.h b/arch/arm/mach-exynos/exynos4_setup.h index 38735f002f10..a08d64a8e23e 100644 --- a/arch/arm/mach-exynos/exynos4_setup.h +++ b/arch/arm/mach-exynos/exynos4_setup.h @@ -11,19 +11,6 @@ #include <config.h> #include <asm/arch/cpu.h> -#ifdef CONFIG_CLK_800_330_165 -#define DRAM_CLK_330 -#endif -#ifdef CONFIG_CLK_1000_200_200 -#define DRAM_CLK_200 -#endif -#ifdef CONFIG_CLK_1000_330_165 -#define DRAM_CLK_330 -#endif -#ifdef CONFIG_CLK_1000_400_200 -#define DRAM_CLK_400 -#endif - /* Bus Configuration Register Address */ #define ASYNC_CONFIG 0x10010350 @@ -562,15 +549,8 @@ struct mem_timings { #define TIMINGPOWER_VAL 0x52000A3C #else #define TIMINGREF_VAL 0x000000BC -#ifdef DRAM_CLK_330 -#define TIMINGROW_VAL 0x3545548d -#define TIMINGDATA_VAL 0x45430506 -#define TIMINGPOWER_VAL 0x4439033c -#endif -#ifdef DRAM_CLK_400 #define TIMINGROW_VAL 0x45430506 #define TIMINGDATA_VAL 0x56500506 #define TIMINGPOWER_VAL 0x5444033d #endif #endif -#endif diff --git a/include/configs/origen.h b/include/configs/origen.h index 22325180ce0e..e8b54def9288 100644 --- a/include/configs/origen.h +++ b/include/configs/origen.h @@ -46,8 +46,6 @@ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ "source ${loadaddr}\0" -#define CONFIG_CLK_1000_400_200 - /* MIU (Memory Interleaving Unit) */ #define CONFIG_MIU_2BIT_21_7_INTERLEAVED diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h index 84b8537e54df..9ff05fcca789 100644 --- a/include/configs/smdkv310.h +++ b/include/configs/smdkv310.h @@ -38,8 +38,6 @@ /* FLASH and environment organization */ -#define CONFIG_CLK_1000_400_200 - /* MIU (Memory Interleaving Unit) */ #define CONFIG_MIU_2BIT_INTERLEAVED
We only set one of these values ever at this point, so remove dead code. Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Tom Rini <trini@konsulko.com> --- arch/arm/mach-exynos/exynos4_setup.h | 20 -------------------- include/configs/origen.h | 2 -- include/configs/smdkv310.h | 2 -- 3 files changed, 24 deletions(-)