Revert "fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()"
PATCH 1/1 Revert "fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()"
On Rockchip platforms we need this area of code in TPL, but there is no TPL_SEPARATE_BSS symbol.
This reverts commit 0a2aaab0b678fd1778ff2fc59d0770fc82995532.
Reported-by Jesper Schmitz Mouridsen <[email protected]>
Reported-by Peter Robinson <[email protected]>
Signed-off-by Tom Rini <[email protected]>
--- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/fdtdec.c +1 -1
@@ -1253,7 +1253,7 @@ __weak void *board_fdt_blob_setup(void)void *fdt_blob =NULL ;#ifdef CONFIG_SPL_BUILD /* FDT is at end of BSS unless it is in a different memory region */ -if (CONFIG_IS_ENABLED (SEPARATE_BSS )) +if (IS_ENABLED (CONFIG_SPL_SEPARATE_BSS )) fdt_blob = (ulong *)&_image_binary_end;else fdt_blob = (ulong *)&__bss_end;
Signature · 1 line
2.17.1
PATCH 1/1 Revert "fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()"
Quoted 9 lines · Tom Rini
On Rockchip platforms we need this area of code in TPL, but there is no
TPL_SEPARATE_BSSsymbol.This reverts commit
0a2aaab0b678fd1778ff2fc59d0770fc82995532.Reported-by Jesper Schmitz Mouridsen <[email protected]>Reported-by Peter Robinson <[email protected]>Signed-off-by Tom Rini <[email protected]>
Tested-by Peter Robinson <[email protected]>
Quoted 20 lines
--- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/fdtdec.c +1
-2@@ -1253,7 +1253,7 @@ __weak void *board_fdt_blob_setup(void)void *fdt_blob =NULL ;#ifdef CONFIG_SPL_BUILD /* FDT is at end of BSS unless it is in a different memory region */ -if (CONFIG_IS_ENABLED (SEPARATE_BSS )) +if (IS_ENABLED (CONFIG_SPL_SEPARATE_BSS )) fdt_blob = (ulong *)&_image_binary_end;else fdt_blob = (ulong *)&__bss_end; --2.17.1
PATCH 1/1 Revert "fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()"
In reply to Tom RiniQuoted 10 lines · Tom Rini
On Rockchip platforms we need this area of code in TPL, but there is no
TPL_SEPARATE_BSSsymbol.This reverts commit
0a2aaab0b678fd1778ff2fc59d0770fc82995532.Reported-by Markus Reichl <[email protected]>Reported-by Jesper Schmitz Mouridsen <[email protected]>Reported-by Peter Robinson <[email protected]>Tested-by Peter Robinson <[email protected]>Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/7692e80c/attachment.sig>