diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-08-30 13:51:56 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-05 09:01:41 +0200 |
commit | 399f4e4a35f258a2475fdba59246b344d38101c0 (patch) | |
tree | 4e5b67cbc6226d7875f61fc440e4f087a51522b1 /arch | |
parent | e27f7b7cb2a6ebfc9c746b5b3070da32b97d9a4e (diff) | |
download | barebox-399f4e4a35f258a2475fdba59246b344d38101c0.tar.gz barebox-399f4e4a35f258a2475fdba59246b344d38101c0.tar.xz |
ARM: i.MX8MP: EVK: change bbu handler from eMMC user to boot partition
With recent changes, it's now possible to update and start barebox from
an eMMC boot partition on the i.MX8MP. Reflect this in the board code, so
future barebox updates on eMMC will automatically leverage this.
Tested on an i.MX8MN, which has the same flash header offsets as the 8MP.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210830115156.21907-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boards/nxp-imx8mp-evk/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/nxp-imx8mp-evk/board.c b/arch/arm/boards/nxp-imx8mp-evk/board.c index a3ff598108..8f1c247109 100644 --- a/arch/arm/boards/nxp-imx8mp-evk/board.c +++ b/arch/arm/boards/nxp-imx8mp-evk/board.c @@ -37,7 +37,7 @@ static int nxp_imx8mp_evk_init(void) } imx8m_bbu_internal_mmc_register_handler("SD", "/dev/mmc1.barebox", sd_bbu_flag); - imx8m_bbu_internal_mmc_register_handler("eMMC", "/dev/mmc2", emmc_bbu_flag); + imx8m_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc2", emmc_bbu_flag); val = readl(MX8MP_IOMUXC_GPR_BASE_ADDR + MX8MP_IOMUXC_GPR1); val |= MX8MP_IOMUXC_GPR1_ENET1_RGMII_EN; |