From 0d1bd150f041b9c5939e2e6be36f91444b10cace Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Tue, 19 Dec 2017 18:30:35 -0700 Subject: [PATCH] ARM: tegra: remove SPL config for non-SPL SoCs No 64-bit Tegra uses SPL. Remove various unused definitions from config headers. Signed-off-by: Stephen Warren Signed-off-by: Tom Warren --- 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(-) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 3cdd9741b2..75e36c0b75 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 98e4fc2d25..495d18555f 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 4c05576a90..93c9455e8f 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 -- 2.30.2