aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches
diff options
context:
space:
mode:
authorJo Deisenhofer <jo.deisenhofer@gmail.com>2023-01-17 19:46:04 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-01-18 20:26:39 +0000
commitef9acfb68bb4e3dbddbd19d2333147a935bcda0e (patch)
tree39d6a7648d47574c3677b55d0ba50602e35902c2 /package/boot/uboot-mediatek/patches
parentafcf1a4de4599a371f14db170b8456da915088bf (diff)
downloadupstream-ef9acfb68bb4e3dbddbd19d2333147a935bcda0e.tar.gz
upstream-ef9acfb68bb4e3dbddbd19d2333147a935bcda0e.tar.bz2
upstream-ef9acfb68bb4e3dbddbd19d2333147a935bcda0e.zip
uboot-mediatek: Fix ramips/mt76x8 buildbot
Move defines from header to defconfig The package build and the Buildbot hang in 'make syncconfig' for u-boot-ravpower_rp-wd009 because CONFIG_SYS_MIPS_TIMER_FREQ is not in the .config, causing a console prompt. Also moved two other defines in defconfig causing duplicate definition warnings. Fixes: 3d5c5427e17a ("uboot-mediatek: update to U-Boot 2023.01") Signed-off-by: Jo Deisenhofer <jo.deisenhofer@gmail.com>
Diffstat (limited to 'package/boot/uboot-mediatek/patches')
-rw-r--r--package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch b/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch
index 80af85a959..a89b6c68bd 100644
--- a/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch
+++ b/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch
@@ -125,7 +125,7 @@ Subject: [PATCH] add support for RAVPower RP-WD009
+}
--- /dev/null
+++ b/configs/ravpower-rp-wd009-ram_defconfig
-@@ -0,0 +1,61 @@
+@@ -0,0 +1,64 @@
+CONFIG_MIPS=y
+CONFIG_SYS_LOAD_ADDR=0x80010000
+CONFIG_NR_DRAM_BANKS=1
@@ -140,6 +140,7 @@ Subject: [PATCH] add support for RAVPower RP-WD009
+CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_VERSION_VARIABLE=y
+CONFIG_BOARD_RAVPOWER_RP_WD009=y
++CONFIG_SYS_MIPS_TIMER_FREQ=290000000
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_LICENSE=y
+# CONFIG_CMD_ELF is not set
@@ -187,9 +188,11 @@ Subject: [PATCH] add support for RAVPower RP-WD009
+CONFIG_WDT_MT7621=y
+CONFIG_LZMA=y
+CONFIG_BAUDRATE=57600
++CONFIG_SYS_MAXARGS=64
++CONFIG_SYS_CBSIZE=512
--- /dev/null
+++ b/include/configs/ravpower-rp-wd009.h
-@@ -0,0 +1,42 @@
+@@ -0,0 +1,40 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018 Stefan Roese <sr@denx.de>
@@ -219,9 +222,7 @@ Subject: [PATCH] add support for RAVPower RP-WD009
+#define CONFIG_SYS_MEMTEST_END 0x80400000
+
+/* Memory usage */
-+#define CONFIG_SYS_MAXARGS 64
+#define CONFIG_SYS_BOOTPARAMS_LEN (128 * 1024)
-+#define CONFIG_SYS_CBSIZE 512
+
+/* Environment settings */
+