Makefile: doesn't need check stack size when dtb is not built
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 10 Mar 2020 00:20:43 +0000 (09:20 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 13 Mar 2020 13:30:30 +0000 (09:30 -0400)
commitdde1b75e9526d887a9aba9d4b30eb62ad2f22013
treef0bb8d31d636eb1c13f149c03e6476091f65b851
parent1886024a0e17a37d86dce622e395e37262d7bc3a
Makefile: doesn't need check stack size when dtb is not built

The commit 5fed97af20da ("Makefile: ensure DTB doesn't overflow into
initial stack") adds an extra check for stack size in BSS if
CONFIG_SYS_INIT_SP_BSS_OFFSET is enabled.
This check, however, doesn't make sense under the configuration where
control dtb won't be built in and it should be void in such cases.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Fixes: 5fed97af20da ("Makefile: ensure DTB doesn't overflow into initial stack")
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Makefile