summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2020-02-17 15:38:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-25 08:46:50 +0100
commite69f93cdbd4856389b45ab45a1fde9d3dcbc9c1c (patch)
tree53c230b0660641fd360ee5c19990cc1d51c222e9 /arch
parent1b3ee1f1a292f88e5f18aae152082fac97aa1ba6 (diff)
downloadbarebox-e69f93cdbd4856389b45ab45a1fde9d3dcbc9c1c.tar.gz
arm: baltos: use compressed DTB images
This reduces the size of MLO enough to fit into SRAM. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boards/vscom-baltos/lowlevel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boards/vscom-baltos/lowlevel.c b/arch/arm/boards/vscom-baltos/lowlevel.c
index 98bbbaa..0a220f2 100644
--- a/arch/arm/boards/vscom-baltos/lowlevel.c
+++ b/arch/arm/boards/vscom-baltos/lowlevel.c
@@ -66,7 +66,7 @@ static const struct am33xx_emif_regs ddr3_regs_256mb = {
};
-extern char __dtb_am335x_baltos_minimal_start[];
+extern char __dtb_z_am335x_baltos_minimal_start[];
/**
* @brief The basic entry point for board initialization.
@@ -82,7 +82,7 @@ static noinline void baltos_sram_init(void)
uint32_t sdram_size;
void *fdt;
- fdt = __dtb_am335x_baltos_minimal_start;
+ fdt = __dtb_z_am335x_baltos_minimal_start;
/* WDT1 is already running when the bootloader gets control
* Disable it to avoid "random" resets
@@ -132,7 +132,7 @@ ENTRY_FUNCTION(start_am33xx_baltos_sdram, r0, r1, r2)
*/
__raw_writel(0x000010ff, AM33XX_PRM_RSTTIME);
- fdt = __dtb_am335x_baltos_minimal_start;
+ fdt = __dtb_z_am335x_baltos_minimal_start;
fdt += get_runtime_offset();