Patchwork [U-Boot] Tegra: T20: Remove unused 'SLOW' SoC ID and PLLX table entry

login
register
mail settings
Submitter Tom Warren
Date Jan. 18, 2013, 9:11 p.m.
Message ID <1358543468-17934-1-git-send-email-twarren@nvidia.com>
Download mbox | patch
Permalink /patch/213744/
State Accepted
Delegated to: Tom Warren
Headers show

Comments

Tom Warren - Jan. 18, 2013, 9:11 p.m.
Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 arch/arm/cpu/arm720t/tegra-common/cpu.c |    7 -------
 arch/arm/include/asm/arch-tegra/tegra.h |    1 -
 2 files changed, 0 insertions(+), 8 deletions(-)
Stephen Warren - Jan. 18, 2013, 9:44 p.m.
On 01/18/2013 02:11 PM, Tom Warren wrote:
> Signed-off-by: Tom Warren <twarren@nvidia.com>

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Simon Glass - Jan. 22, 2013, 2:07 p.m.
On Fri, Jan 18, 2013 at 1:11 PM, Tom Warren <twarren.nvidia@gmail.com> wrote:
> Signed-off-by: Tom Warren <twarren@nvidia.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
>  arch/arm/cpu/arm720t/tegra-common/cpu.c |    7 -------
>  arch/arm/include/asm/arch-tegra/tegra.h |    1 -
>  2 files changed, 0 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.c b/arch/arm/cpu/arm720t/tegra-common/cpu.c
> index 693d584..c32925b 100644
> --- a/arch/arm/cpu/arm720t/tegra-common/cpu.c
> +++ b/arch/arm/cpu/arm720t/tegra-common/cpu.c
> @@ -75,13 +75,6 @@ struct clk_pll_table tegra_pll_x_table[TEGRA_SOC_CNT][CLOCK_OSC_FREQ_COUNT] = {
>          { 700, 6, 0, 8},
>          { 700, 13, 0, 8},
>         },
> -
> -       /* TEGRA_SOC2_SLOW: 312 MHz */
> -       {{ 312, 13, 0, 12},     /* OSC 13M */
> -        { 260, 16, 0, 8},      /* OSC 19.2M */
> -        { 312, 12, 0, 12},     /* OSC 12M */
> -        { 312, 26, 0, 12},     /* OSC 26M */
> -       },
>  };
>
>  void adjust_pllp_out_freqs(void)
> diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h
> index 953936c..013a3c5 100644
> --- a/arch/arm/include/asm/arch-tegra/tegra.h
> +++ b/arch/arm/include/asm/arch-tegra/tegra.h
> @@ -85,7 +85,6 @@ enum {
>         TEGRA_SOC_T20,
>         TEGRA_SOC_T25,
>         TEGRA_SOC_T30,
> -       TEGRA_SOC2_SLOW,        /* T2x needs to run at slow clock initially */
>
>         TEGRA_SOC_CNT,
>         TEGRA_SOC_UNKNOWN       = -1,
> --
> 1.7.0.4
>

Patch

diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.c b/arch/arm/cpu/arm720t/tegra-common/cpu.c
index 693d584..c32925b 100644
--- a/arch/arm/cpu/arm720t/tegra-common/cpu.c
+++ b/arch/arm/cpu/arm720t/tegra-common/cpu.c
@@ -75,13 +75,6 @@  struct clk_pll_table tegra_pll_x_table[TEGRA_SOC_CNT][CLOCK_OSC_FREQ_COUNT] = {
 	 { 700, 6, 0, 8},
 	 { 700, 13, 0, 8},
 	},
-
-	/* TEGRA_SOC2_SLOW: 312 MHz */
-	{{ 312, 13, 0, 12},	/* OSC 13M */
-	 { 260, 16, 0, 8},	/* OSC 19.2M */
-	 { 312, 12, 0, 12},	/* OSC 12M */
-	 { 312, 26, 0, 12},	/* OSC 26M */
-	},
 };
 
 void adjust_pllp_out_freqs(void)
diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h
index 953936c..013a3c5 100644
--- a/arch/arm/include/asm/arch-tegra/tegra.h
+++ b/arch/arm/include/asm/arch-tegra/tegra.h
@@ -85,7 +85,6 @@  enum {
 	TEGRA_SOC_T20,
 	TEGRA_SOC_T25,
 	TEGRA_SOC_T30,
-	TEGRA_SOC2_SLOW,	/* T2x needs to run at slow clock initially */
 
 	TEGRA_SOC_CNT,
 	TEGRA_SOC_UNKNOWN	= -1,