diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-09 14:18:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-01 22:34:08 +0200 |
commit | c123df1fc8b57b52d81cc462c084eb0fb09a0d8a (patch) | |
tree | 2a2be8e515b84d1036d4e8d8963e063c00a2189f /arch/arm/cpu | |
parent | 9d7a00bd45a0d7a4fc2110251916abb3dc555fd4 (diff) | |
download | barebox-c123df1fc8b57b52d81cc462c084eb0fb09a0d8a.tar.gz barebox-c123df1fc8b57b52d81cc462c084eb0fb09a0d8a.tar.xz |
ARM: drop bultin DTB
We can build multiple DTBs into the binary and board code can select
which one to use. Drop the single builtin DTB and let the boards using
it pass the correct one.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/dtb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/dtb.c b/arch/arm/cpu/dtb.c index b9390b46e6..1ba5aa415e 100644 --- a/arch/arm/cpu/dtb.c +++ b/arch/arm/cpu/dtb.c @@ -36,12 +36,6 @@ static int of_arm_init(void) if (fdt) pr_debug("using boarddata provided DTB\n"); - /* Next see if we have a builtin dtb */ - if (!fdt && IS_ENABLED(CONFIG_BUILTIN_DTB)) { - fdt = __dtb_start; - pr_debug("using internal DTB\n"); - } - if (!fdt) { pr_debug("No DTB found\n"); return 0; |