diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2020-03-31 11:47:11 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-03 08:21:28 +0200 |
commit | d15fb4e2b1695160d72213b9a1597c7a378b3d49 (patch) | |
tree | dc0dc1883d0f2131d786d12985f36fdd10f7db07 /arch | |
parent | 31300d79e82767b45ffd93a82af083980033a89e (diff) | |
download | barebox-d15fb4e2b1695160d72213b9a1597c7a378b3d49.tar.gz barebox-d15fb4e2b1695160d72213b9a1597c7a378b3d49.tar.xz |
ARM: zii-imx6q-rdu2: Register SD card slot with BBU
Register SD card slot with BBU. This is really useful for development
since this allows to update the bootloader on SD card without having
to take it out of the device.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boards/zii-imx6q-rdu2/board.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boards/zii-imx6q-rdu2/board.c b/arch/arm/boards/zii-imx6q-rdu2/board.c index 6d6bc1caaa..0f298d6a42 100644 --- a/arch/arm/boards/zii-imx6q-rdu2/board.c +++ b/arch/arm/boards/zii-imx6q-rdu2/board.c @@ -154,6 +154,7 @@ static int rdu2_devices_init(void) BBU_HANDLER_FLAG_DEFAULT); imx6_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc3", 0); + imx6_bbu_internal_mmc_register_handler("SD", "/dev/mmc1", 0); defaultenv_append_directory(defaultenv_zii_common); defaultenv_append_directory(defaultenv_rdu2); |