Skip to content

Commit

Permalink
ARM: tegra: remove SPL config for non-SPL SoCs
Browse files Browse the repository at this point in the history
No 64-bit Tegra uses SPL. Remove various unused definitions from config
headers.

Signed-off-by: Stephen Warren <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
  • Loading branch information
nvswarren authored and tomcwarren committed Jan 12, 2018
1 parent 3cdb5fa commit 0d1bd15
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 2 additions & 0 deletions include/configs/tegra-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions include/configs/tegra186-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 0 additions & 5 deletions include/configs/tegra210-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d1bd15

Please sign in to comment.