uboot-mediatek: fix build error on mt7981-rfb and openwrt-one
authorFelix Fietkau <nbd@nbd.name>
Mon, 2 Sep 2024 08:40:05 +0000 (10:40 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 2 Sep 2024 10:42:05 +0000 (12:42 +0200)
Remove an unnecessary config option that was breaking the build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/boot/uboot-mediatek/patches/107-configs-add-useful-options-to-mt7981-rfb.patch
package/boot/uboot-mediatek/patches/314-mt7981-select-rootdisk.patch
package/boot/uboot-mediatek/patches/453-add-openwrt-one.patch

index b33ba4bdeee15c859c751dac0002cb1554404541..4f5ef91d3521cc7f05be09e4e047c549120ef1c8 100644 (file)
@@ -87,7 +87,7 @@
  CONFIG_CLK=y
 --- a/configs/mt7981_rfb_defconfig
 +++ b/configs/mt7981_rfb_defconfig
-@@ -11,7 +11,23 @@ CONFIG_DEBUG_UART_BASE=0x11002000
+@@ -11,7 +11,22 @@ CONFIG_DEBUG_UART_BASE=0x11002000
  CONFIG_DEBUG_UART_CLOCK=40000000
  CONFIG_SYS_LOAD_ADDR=0x46000000
  CONFIG_DEBUG_UART=y
 +CONFIG_LED_BLINK=y
 +CONFIG_LED_GPIO=y
 +CONFIG_SPI_BOOT=y
-+CONFIG_NAND_BOOT=y
 +CONFIG_BOOTSTD_DEFAULTS=y
 +CONFIG_BOOTSTD_FULL=y
  CONFIG_DEFAULT_FDT_FILE="mt7981-rfb"
  CONFIG_SYS_CBSIZE=512
  CONFIG_SYS_PBSIZE=1049
-@@ -22,23 +38,74 @@ CONFIG_SYS_PROMPT="MT7981> "
+@@ -22,23 +37,74 @@ CONFIG_SYS_PROMPT="MT7981> "
  # CONFIG_BOOTM_PLAN9 is not set
  # CONFIG_BOOTM_RTEMS is not set
  # CONFIG_BOOTM_VXWORKS is not set
  CONFIG_CLK=y
 --- a/configs/mt7981_snfi_nand_rfb_defconfig
 +++ b/configs/mt7981_snfi_nand_rfb_defconfig
-@@ -12,7 +12,23 @@ CONFIG_DEBUG_UART_BASE=0x11002000
+@@ -12,7 +12,22 @@ CONFIG_DEBUG_UART_BASE=0x11002000
  CONFIG_DEBUG_UART_CLOCK=40000000
  CONFIG_SYS_LOAD_ADDR=0x46000000
  CONFIG_DEBUG_UART=y
 +CONFIG_LED_BLINK=y
 +CONFIG_LED_GPIO=y
 +CONFIG_SPI_BOOT=y
-+CONFIG_NAND_BOOT=y
 +CONFIG_BOOTSTD_DEFAULTS=y
 +CONFIG_BOOTSTD_FULL=y
  CONFIG_DEFAULT_FDT_FILE="mt7981-snfi-nand-rfb"
  CONFIG_LOGLEVEL=7
  CONFIG_LOG=y
-@@ -22,22 +38,73 @@ CONFIG_SYS_PBSIZE=1049
+@@ -22,22 +37,73 @@ CONFIG_SYS_PBSIZE=1049
  # CONFIG_BOOTM_PLAN9 is not set
  # CONFIG_BOOTM_RTEMS is not set
  # CONFIG_BOOTM_VXWORKS is not set
index c53e4a875291dacae1000b4a5f803cb4b1c0b871..05b620a27698784960d18dd9372b42a208f2610f 100644 (file)
@@ -81,7 +81,7 @@
 +CONFIG_OF_SYSTEM_SETUP=y
 --- a/configs/mt7981_rfb_defconfig
 +++ b/configs/mt7981_rfb_defconfig
-@@ -135,3 +135,4 @@ CONFIG_DM_SPI=y
+@@ -134,3 +134,4 @@ CONFIG_DM_SPI=y
  CONFIG_MTK_SPIM=y
  CONFIG_HEXDUMP=y
  CONFIG_LMB_MAX_REGIONS=64
@@ -95,7 +95,7 @@
 +CONFIG_OF_SYSTEM_SETUP=y
 --- a/configs/mt7981_snfi_nand_rfb_defconfig
 +++ b/configs/mt7981_snfi_nand_rfb_defconfig
-@@ -120,3 +120,4 @@ CONFIG_DM_SERIAL=y
+@@ -119,3 +119,4 @@ CONFIG_DM_SERIAL=y
  CONFIG_MTK_SERIAL=y
  CONFIG_HEXDUMP=y
  CONFIG_LMB_MAX_REGIONS=64
index b35203bc12a80178e8f598b434853a4ed0535f65..0178c8da6d04455ca1570a807ba0850c9af77f37 100644 (file)
 +};
 --- /dev/null
 +++ b/configs/mt7981_openwrt-one-nor_defconfig
-@@ -0,0 +1,129 @@
+@@ -0,0 +1,128 @@
 +CONFIG_ARM=y
 +CONFIG_SYS_HAS_NONCACHED_MEMORY=y
 +CONFIG_POSITION_INDEPENDENT=y
 +CONFIG_SYS_LOAD_ADDR=0x46000000
 +CONFIG_DEBUG_UART=y
 +CONFIG_FIT=y
-+CONFIG_NAND_BOOT=y
 +CONFIG_SPI_BOOT=y
 +CONFIG_AUTOBOOT_MENU_SHOW=y
 +CONFIG_USE_PREBOOT=y
 +CONFIG_LMB_MAX_REGIONS=64
 --- /dev/null
 +++ b/configs/mt7981_openwrt-one-spi-nand_defconfig
-@@ -0,0 +1,130 @@
+@@ -0,0 +1,129 @@
 +CONFIG_ARM=y
 +CONFIG_SYS_HAS_NONCACHED_MEMORY=y
 +CONFIG_POSITION_INDEPENDENT=y
 +CONFIG_SYS_LOAD_ADDR=0x46000000
 +CONFIG_DEBUG_UART=y
 +CONFIG_FIT=y
-+CONFIG_NAND_BOOT=y
 +CONFIG_SPI_BOOT=y
 +CONFIG_AUTOBOOT_MENU_SHOW=y
 +CONFIG_USE_PREBOOT=y