aboutsummaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/gw_ventana_spl.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-07-24 10:40:32 -0700
committerStefano Babic <sbabic@denx.de>2021-08-09 14:46:50 +0200
commit45c902c434e4a7a1d8e475d36049c334b6b058b8 (patch)
tree2f24bab5f904708a1f23ac27aa6469c2412c8e9b /board/gateworks/gw_ventana/gw_ventana_spl.c
parent36de64f2eb3029ea695379c3954caf3c3d13dc70 (diff)
downloadu-boot-45c902c434e4a7a1d8e475d36049c334b6b058b8.zip
u-boot-45c902c434e4a7a1d8e475d36049c334b6b058b8.tar.gz
u-boot-45c902c434e4a7a1d8e475d36049c334b6b058b8.tar.bz2
imx: ventana: move wdog/uhs-i board/revision dt fixups
Move board/revision specific dt fixups for WDOG and UHS-I features so that we can call them early for U-Boot control dt as well. Additionally drop a deprected non-mainline dt-prop fixup regarding HDMI input format. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/gw_ventana_spl.c')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index a4f6439..5a69aff 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -729,10 +729,10 @@ void board_boot_order(u32 *spl_boot_list)
/* called from board_init_r after gd setup if CONFIG_SPL_BOARD_INIT defined */
/* its our chance to print info about boot device */
+static int board_type;
void spl_board_init(void)
{
u32 boot_device;
- int board_type;
/* determine boot device from SRC_SBMR1 (BOOT_CFG[4:1]) or SRC_GPR9 */
boot_device = spl_boot_device();
@@ -785,3 +785,8 @@ int spl_start_uboot(void)
return ret;
}
#endif
+
+void spl_perform_fixups(struct spl_image_info *spl_image)
+{
+ ft_early_fixup(spl_image->fdt_addr, board_type);
+}