aboutsummaryrefslogtreecommitdiff
path: root/include/configs/imx6_spl.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-16 17:20:26 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:06 -0400
commitca8a329a1b7f3195ee56fee4c0906ee883383dfa (patch)
tree8672fcf56ab0cfdf16945cdcaca4b2b1ac72a4a5 /include/configs/imx6_spl.h
parent4a11e34bc9c0f3818f3e847ac51c82d1c9bbb807 (diff)
downloadu-boot-ca8a329a1b7f3195ee56fee4c0906ee883383dfa.zip
u-boot-ca8a329a1b7f3195ee56fee4c0906ee883383dfa.tar.gz
u-boot-ca8a329a1b7f3195ee56fee4c0906ee883383dfa.tar.bz2
Convert CONFIG_SPL_PAD_TO et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE CONFIG_TPL_PAD_TO CONFIG_TPL_MAX_SIZE Note that we need to make TPL_MAX_SIZE be hex, and so move and convert the existing places. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/imx6_spl.h')
-rw-r--r--include/configs/imx6_spl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 38aec94..5b8d759 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -21,14 +21,12 @@
* and some padding thus 'our' max size is really 0x00908000 - 0x00938000
* or 192KB
*/
-#define CONFIG_SPL_MAX_SIZE 0x30000
#define CONFIG_SPL_STACK 0x0093FFB8
/*
* Pad SPL to 196KB (4KB header + 192KB max size). This allows to write the
* SPL/U-Boot combination generated with u-boot-with-spl.imx directly to a
* boot media (given that boot media specific offset is configured properly).
*/
-#define CONFIG_SPL_PAD_TO 0x31000
#else
/*
* see Figure 8-3 in IMX6SDL Reference manuals:
@@ -42,14 +40,12 @@
* and some padding thus 'our' max size is really 0x00908000 - 0x00918000
* or 64KB
*/
-#define CONFIG_SPL_MAX_SIZE 0x10000
#define CONFIG_SPL_STACK 0x0091FFB8
/*
* Pad SPL to 68KB (4KB header + 64KB max size). This allows to write the
* SPL/U-Boot combination generated with u-boot-with-spl.imx directly to a
* boot media (given that boot media specific offset is configured properly).
*/
-#define CONFIG_SPL_PAD_TO 0x11000
#endif