aboutsummaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-27 16:19:05 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:29 -0400
commit7f2c91e5d8114da994f0005696539e276172340d (patch)
tree757242dd95edabb43f18ff8b656ad1e31ec2d02f /common/spl
parentcfb5dd358531a19c6aef5531f183b625fbf7d16f (diff)
downloadu-boot-7f2c91e5d8114da994f0005696539e276172340d.zip
u-boot-7f2c91e5d8114da994f0005696539e276172340d.tar.gz
u-boot-7f2c91e5d8114da994f0005696539e276172340d.tar.bz2
Convert CONFIG_SPL_GD_ADDR to Kconfig
This converts the following to Kconfig: CONFIG_SPL_GD_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 10d9cdd..027ac42 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -246,6 +246,10 @@ config SPL_FLUSH_IMAGE
config SPL_SKIP_RELOCATE
bool "Skip relocating SPL"
+config SPL_GD_ADDR
+ hex "Address to use for global data (gd) in SPL"
+ depends on !SPL_INIT_MINIMAL
+
config SPL_RELOC_TEXT_BASE
hex "Address to relocate SPL to"
default SPL_TEXT_BASE
@@ -272,6 +276,10 @@ config SPL_RELOC_MALLOC_SIZE
hex "Size of malloc pool in SPL"
depends on SPL_RELOC_MALLOC
+config TPL_GD_ADDR
+ hex "Address to use for global data (gd) in TPL"
+ depends on TPL
+
config TPL_RELOC_TEXT_BASE
hex "Address to relocate TPL to"
depends on TPL