aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-06-11 19:32:12 +0100
committerPetr Štetiar <ynezz@true.cz>2020-07-08 23:22:30 +0200
commitf0b51c1389e495d6fba3694b76e4df29c00617d5 (patch)
tree088005e7cfdad6b3dcc7e77f3a0b3b74acd81b2d /package/boot/uboot-mediatek/patches
parent1e4c885395720236d3c7206e019c136795724f6c (diff)
downloadupstream-f0b51c1389e495d6fba3694b76e4df29c00617d5.tar.gz
upstream-f0b51c1389e495d6fba3694b76e4df29c00617d5.tar.bz2
upstream-f0b51c1389e495d6fba3694b76e4df29c00617d5.zip
mediatek: add mt7623 u-boot build for Banana Pi R2
For building full SD/eMMC images for Banana Pi R2 we'll want a u-boot image built for that platform. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'package/boot/uboot-mediatek/patches')
-rw-r--r--package/boot/uboot-mediatek/patches/005-update-bpir2-defconfig.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/boot/uboot-mediatek/patches/005-update-bpir2-defconfig.patch b/package/boot/uboot-mediatek/patches/005-update-bpir2-defconfig.patch
new file mode 100644
index 0000000000..4ec0edeca5
--- /dev/null
+++ b/package/boot/uboot-mediatek/patches/005-update-bpir2-defconfig.patch
@@ -0,0 +1,14 @@
+diff --git a/configs/mt7623n_bpir2_defconfig b/configs/mt7623n_bpir2_defconfig
+index 6b9fbd7e22..fb2a004803 100644
+--- a/configs/mt7623n_bpir2_defconfig
++++ b/configs/mt7623n_bpir2_defconfig
+@@ -52,3 +52,9 @@ CONFIG_TIMER=y
+ CONFIG_WDT_MTK=y
+ CONFIG_LZMA=y
+ # CONFIG_EFI_LOADER is not set
++CONFIG_CMD_BOOTZ=y
++CONFIG_OF_LIBFDT_OVERLAY=y
++#enables savenenv-command
++CONFIG_ENV_IS_IN_MMC=y
++CONFIG_CMD_ASKENV=y
++CONFIG_ENV_SIZE=0x2000