diff mbox series

[U-Boot,2/4] ARM: tegra: remove SPL config for non-SPL SoCs

Message ID 20171220013037.24485-2-swarren@wwwdotorg.org
State Accepted
Commit 0d1bd150f041b9c5939e2e6be36f91444b10cace
Delegated to: Tom Warren
Headers show
Series [U-Boot,1/4] ARM: tegra: don't use CONFIG_SPL_TEXT_BASE when no SPL | expand

Commit Message

Stephen Warren Dec. 20, 2017, 1:30 a.m. UTC
From: Stephen Warren <swarren@nvidia.com>

No 64-bit Tegra uses SPL. Remove various unused definitions from config
headers.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 include/configs/tegra-common.h    | 2 ++
 include/configs/tegra186-common.h | 5 -----
 include/configs/tegra210-common.h | 5 -----
 3 files changed, 2 insertions(+), 10 deletions(-)

Comments

Simon Glass Jan. 8, 2018, 3:39 a.m. UTC | #1
On 19 December 2017 at 18:30, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> No 64-bit Tegra uses SPL. Remove various unused definitions from config
> headers.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
>  include/configs/tegra-common.h    | 2 ++
>  include/configs/tegra186-common.h | 5 -----
>  include/configs/tegra210-common.h | 5 -----
>  3 files changed, 2 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 3cdd9741b241..75e36c0b759d 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -84,11 +84,13 @@ 
 						CONFIG_SYS_INIT_RAM_SIZE - \
 						GENERATED_GBL_DATA_SIZE)
 
+#ifndef CONFIG_ARM64
 /* Defines for SPL */
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_MAX_FOOTPRINT	(CONFIG_SYS_TEXT_BASE - \
 						CONFIG_SPL_TEXT_BASE)
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x00010000
+#endif
 
 /* Misc utility code */
 #define CONFIG_BOUNCE_BUFFER
diff --git a/include/configs/tegra186-common.h b/include/configs/tegra186-common.h
index 98e4fc2d252b..495d18555f3f 100644
--- a/include/configs/tegra186-common.h
+++ b/include/configs/tegra186-common.h
@@ -60,9 +60,4 @@ 
 	"fdt_addr_r=0x82000000\0" \
 	"ramdisk_addr_r=0x82100000\0"
 
-/* Defines for SPL */
-#define CONFIG_SPL_TEXT_BASE		0x80108000
-#define CONFIG_SYS_SPL_MALLOC_START	0x80090000
-#define CONFIG_SPL_STACK		0x800ffffc
-
 #endif
diff --git a/include/configs/tegra210-common.h b/include/configs/tegra210-common.h
index 4c05576a909e..93c9455e8ff3 100644
--- a/include/configs/tegra210-common.h
+++ b/include/configs/tegra210-common.h
@@ -60,11 +60,6 @@ 
 	"fdt_addr_r=0x82000000\0" \
 	"ramdisk_addr_r=0x82100000\0"
 
-/* Defines for SPL */
-#define CONFIG_SPL_TEXT_BASE		0x80108000
-#define CONFIG_SYS_SPL_MALLOC_START	0x80090000
-#define CONFIG_SPL_STACK		0x800ffffc
-
 /* For USB EHCI controller */
 #define CONFIG_EHCI_IS_TDI
 #define CONFIG_USB_EHCI_TXFIFO_THRESH	0x10