aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-07-11 21:15:32 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-07-11 21:27:24 +0100
commit2f7fb57c12d7afe5be7747611bceec92a4c0c834 (patch)
tree8766380a7feeb1350a6b78aa01014a8cb43c4e05 /package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch
parentfa75a3a935b26378630498ba7d3f6a0b5b11f86e (diff)
downloadupstream-2f7fb57c12d7afe5be7747611bceec92a4c0c834.tar.gz
upstream-2f7fb57c12d7afe5be7747611bceec92a4c0c834.tar.bz2
upstream-2f7fb57c12d7afe5be7747611bceec92a4c0c834.zip
uboot-ramips: add support for MT7621, merge into uboot-mediatek
* Merge uboot-ramips into uboot-mediatek. * Port support for the RAVPower RP WD009 to U-Boot 2022.07. * Add support for MT7621 and add builds for the reference boards. * Add builds for MT7620 and MT7628 reference boards. This should help to make development of U-Boot-level board support for all MediaTek targets much easier. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch b/package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch
index bb7045916f..a784f32f34 100644
--- a/package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch
+++ b/package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch
@@ -420,7 +420,7 @@
DECLARE_GLOBAL_DATA_PTR;
-@@ -392,6 +393,21 @@ static int initr_onenand(void)
+@@ -392,6 +393,20 @@ static int initr_onenand(void)
}
#endif
@@ -430,11 +430,10 @@
+{
+ struct udevice *new;
+
-+ spi_flash_probe_bus_cs(CONFIG_SF_DEFAULT_BUS,
-+ CONFIG_SF_DEFAULT_CS,
-+ CONFIG_SF_DEFAULT_SPEED,
-+ CONFIG_SF_DEFAULT_MODE,
-+ &new);
++spi_flash_probe_bus_cs(CONFIG_SF_DEFAULT_BUS,
++ CONFIG_SF_DEFAULT_CS,
++ &new);
++
+ return 0;
+}
+#endif