aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-07-13 10:37:28 +0100
committerChuanhong Guo <gch981213@gmail.com>2020-07-26 16:42:36 +0800
commitad295e0ee81b61b667f6e38418b02006aea7c5aa (patch)
treeb22394a43c17f2ceba3f54484dbc544115bde556 /package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch
parentff8cc137fb999d2f828cfaa53584fa77138836ed (diff)
downloadupstream-ad295e0ee81b61b667f6e38418b02006aea7c5aa.tar.gz
upstream-ad295e0ee81b61b667f6e38418b02006aea7c5aa.tar.bz2
upstream-ad295e0ee81b61b667f6e38418b02006aea7c5aa.zip
mediatek: add U-Boot build for UniElec U7623
Patches submitted upstream at https://patchwork.ozlabs.org/project/uboot/list/?series=189178 Tested on Banana Pi R2 and U7623-06. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch b/package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch
new file mode 100644
index 0000000000..ec189f82dc
--- /dev/null
+++ b/package/boot/uboot-mediatek/patches/010-update-u7623-defconfig.patch
@@ -0,0 +1,17 @@
+diff --git a/configs/mt7623n_bpir2_defconfig b/configs/mt7623n_bpir2_defconfig
+index 6b9fbd7e22..fb2a004803 100644
+--- a/configs/mt7623a_unielec_u7623_02_defconfig
++++ b/configs/mt7623a_unielec_u7623_02_defconfig
+@@ -52,3 +52,12 @@ CONFIG_TIMER=y
+ CONFIG_MTK_TIMER=y
+ CONFIG_WDT_MTK=y
+ CONFIG_LZMA=y
++CONFIG_CMD_BOOTZ=y
++CONFIG_OF_LIBFDT_OVERLAY=y
++#enables savenenv-command
++CONFIG_ENV_IS_IN_FAT=y
++CONFIG_ENV_FAT_INTERFACE="mmc"
++CONFIG_ENV_FAT_DEVICE_AND_PART="0:2"
++CONFIG_ENV_FAT_FILE="uboot.env"
++CONFIG_CMD_ASKENV=y
++CONFIG_CMD_SETEXPR=y