aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-11-27 21:22:41 +0100
committerPetr Štetiar <ynezz@true.cz>2019-04-08 18:37:03 +0200
commitadb0a420e56e6dd721f8fa49c8ac66ceb412a58a (patch)
treed199dd2933a4a537637ea062a9aca5101becbee4 /package
parent136001675e09d1288cdbb4302ac2455a4655ba32 (diff)
downloadupstream-adb0a420e56e6dd721f8fa49c8ac66ceb412a58a.tar.gz
upstream-adb0a420e56e6dd721f8fa49c8ac66ceb412a58a.tar.bz2
upstream-adb0a420e56e6dd721f8fa49c8ac66ceb412a58a.zip
uboot-envtools: imx6: Add support for Toradex Apalis board family
This patch is needed in order to be able to use fw_{set,print}env commands. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/files/imx64
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/imx6 b/package/boot/uboot-envtools/files/imx6
index fec8ce0aa4..fb05f13346 100644
--- a/package/boot/uboot-envtools/files/imx6
+++ b/package/boot/uboot-envtools/files/imx6
@@ -7,12 +7,16 @@
touch /etc/config/ubootenv
+. /lib/imx6.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
board=$(board_name)
case "$board" in
+apalis*)
+ ubootenv_add_uci_config $(bootdev_from_uuid)boot0 -0x2200 0x2000 0x200 10
+ ;;
*gw5*)
if [ -c /dev/mtd1 ]; then
# board boots from NAND