aboutsummaryrefslogtreecommitdiff
path: root/tools/spl_size_limit.c
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2019-09-20 08:47:53 +0200
committerStefano Babic <sbabic@denx.de>2019-10-08 16:36:37 +0200
commitd714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b (patch)
tree87e607fbc00efbc80e47cc89f0798c268df7a772 /tools/spl_size_limit.c
parentc115cd154c1da885299e461cda93c9fc4edc952d (diff)
downloadu-boot-d714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b.zip
u-boot-d714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b.tar.gz
u-boot-d714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b.tar.bz2
imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB
CONFIG_SECURE_BOOT is too generic and forbids to use it for cross architecture purposes. If Secure Boot is required for imx, this means to enable and use the HAB processor in the soc. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'tools/spl_size_limit.c')
-rw-r--r--tools/spl_size_limit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/spl_size_limit.c b/tools/spl_size_limit.c
index 8902e30..c6c139e 100644
--- a/tools/spl_size_limit.c
+++ b/tools/spl_size_limit.c
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
#ifdef CONFIG_SPL_SIZE_LIMIT
spl_size_limit = CONFIG_SPL_SIZE_LIMIT;
-#if defined(CONFIG_SECURE_BOOT) && defined(CONFIG_CSF_SIZE)
+#if defined(CONFIG_IMX_HAB) && defined(CONFIG_CSF_SIZE)
spl_size_limit -= CONFIG_CSF_SIZE;
#endif
#ifdef CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD