From f79157d8e23ba62566186c71221de4d0312cbac9 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 14 Dec 2023 16:59:42 +0800 Subject: [PATCH] ipq807x: add layout info to xiaomi devices Signed-off-by: Tianling Shen (cherry picked from commit f4a0b772930ab61438b3df5ca85b842cc9a5fdb0) --- target/linux/ipq807x/image/generic.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target/linux/ipq807x/image/generic.mk b/target/linux/ipq807x/image/generic.mk index ba8cc1af74..e6e13c94dc 100644 --- a/target/linux/ipq807x/image/generic.mk +++ b/target/linux/ipq807x/image/generic.mk @@ -130,6 +130,9 @@ TARGET_DEVICES += redmi_ax6 define Device/redmi_ax6-stock $(call Device/redmi_ax6) DEVICE_VARIANT := (stock layout) + DEVICE_ALT0_VENDOR := Redmi + DEVICE_ALT0_MODEL := AX6 + DEVICE_ALT0_VARIANT := (custom U-Boot layout) KERNEL_SIZE := ARTIFACTS := endef @@ -140,6 +143,7 @@ define Device/xiaomi_ax3600 $(call Device/UbiFit) DEVICE_VENDOR := Xiaomi DEVICE_MODEL := AX3600 + DEVICE_VARIANT := (OpenWrt expand layout) BLOCKSIZE := 128k PAGESIZE := 2048 DEVICE_DTS_CONFIG := config@ac04 @@ -157,6 +161,9 @@ TARGET_DEVICES += xiaomi_ax3600 define Device/xiaomi_ax3600-stock $(call Device/xiaomi_ax3600) DEVICE_VARIANT := (stock layout) + DEVICE_ALT0_VENDOR := Xiaomi + DEVICE_ALT0_MODEL := AX3600 + DEVICE_ALT0_VARIANT := (custom U-Boot layout) KERNEL_SIZE := ARTIFACTS := endef @@ -167,6 +174,7 @@ define Device/xiaomi_ax9000 $(call Device/UbiFit) DEVICE_VENDOR := Xiaomi DEVICE_MODEL := AX9000 + DEVICE_VARIANT := (OpenWrt expand layout) BLOCKSIZE := 128k PAGESIZE := 2048 DEVICE_DTS_CONFIG := config@hk14