Commit cd7efc2a947b30a2047b248f66ddfa8b182fda64
Committed by
Tom Warren
1 parent
cc07294bc7
Exists in
v2017.01-smarct4x
and in
48 other branches
ARM: tegra: move CONFIG_TEGRAnn
<asm/arch-tegra/tegra.h> needs to use CONFIG_TEGRA* to conditionalize some definitions, since some modules moved between generations. Move the definition of CONFIG_TEGRAnn to a header that's included earlier, so that it's set by the time tegra.h needs to use it. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Showing 8 changed files with 8 additions and 20 deletions Side-by-side Diff
- arch/arm/include/asm/arch-tegra114/tegra.h
- arch/arm/include/asm/arch-tegra124/tegra.h
- arch/arm/include/asm/arch-tegra20/tegra.h
- arch/arm/include/asm/arch-tegra30/tegra.h
- include/configs/tegra114-common.h
- include/configs/tegra124-common.h
- include/configs/tegra20-common.h
- include/configs/tegra30-common.h
arch/arm/include/asm/arch-tegra114/tegra.h
arch/arm/include/asm/arch-tegra124/tegra.h
arch/arm/include/asm/arch-tegra20/tegra.h
arch/arm/include/asm/arch-tegra30/tegra.h
include/configs/tegra114-common.h
... | ... | @@ -26,11 +26,6 @@ |
26 | 26 | */ |
27 | 27 | #define V_NS16550_CLK 408000000 /* 408MHz (pllp_out0) */ |
28 | 28 | |
29 | -/* | |
30 | - * High Level Configuration Options | |
31 | - */ | |
32 | -#define CONFIG_TEGRA114 /* in a NVidia Tegra114 core */ | |
33 | - | |
34 | 29 | /* Environment information, boards can override if required */ |
35 | 30 | #define CONFIG_LOADADDR 0x80408000 /* def. location for kernel */ |
36 | 31 |
include/configs/tegra124-common.h
... | ... | @@ -18,11 +18,6 @@ |
18 | 18 | */ |
19 | 19 | #define V_NS16550_CLK 408000000 /* 408MHz (pllp_out0) */ |
20 | 20 | |
21 | -/* | |
22 | - * High Level Configuration Options | |
23 | - */ | |
24 | -#define CONFIG_TEGRA124 /* is an NVIDIA Tegra124 core */ | |
25 | - | |
26 | 21 | /* Environment information, boards can override if required */ |
27 | 22 | #define CONFIG_LOADADDR 0x80408000 /* def. location for kernel */ |
28 | 23 |
include/configs/tegra20-common.h
... | ... | @@ -24,11 +24,6 @@ |
24 | 24 | */ |
25 | 25 | #define V_NS16550_CLK 216000000 /* 216MHz (pllp_out0) */ |
26 | 26 | |
27 | -/* | |
28 | - * High Level Configuration Options | |
29 | - */ | |
30 | -#define CONFIG_TEGRA20 /* in a NVidia Tegra20 core */ | |
31 | - | |
32 | 27 | /* Environment information, boards can override if required */ |
33 | 28 | #define CONFIG_LOADADDR 0x00408000 /* def. location for kernel */ |
34 | 29 |
include/configs/tegra30-common.h
... | ... | @@ -23,11 +23,6 @@ |
23 | 23 | */ |
24 | 24 | #define V_NS16550_CLK 408000000 /* 408MHz (pllp_out0) */ |
25 | 25 | |
26 | -/* | |
27 | - * High Level Configuration Options | |
28 | - */ | |
29 | -#define CONFIG_TEGRA30 /* in a NVidia Tegra30 core */ | |
30 | - | |
31 | 26 | /* Environment information, boards can override if required */ |
32 | 27 | #define CONFIG_LOADADDR 0x80408000 /* def. location for kernel */ |
33 | 28 |