ipq40xx: fix support for Asus RT-AC1300UHP in 4.19 (#4285)

RT-AC1300UHP has 256M memory and does not need to use ath10k-ct-smallbuffers.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
This commit is contained in:
AmadeusGhost 2020-04-12 12:04:02 +08:00 committed by GitHub
parent a10390cc21
commit 00d40a40ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 3 deletions

View File

@ -6,12 +6,12 @@
#include <dt-bindings/soc/qcom,tcsr.h> #include <dt-bindings/soc/qcom,tcsr.h>
/ { / {
model = "ASUS RT-AC58U"; model = "ASUS RT-AC58U / RT-AC1300UHP";
compatible = "asus,rt-ac58u"; compatible = "asus,rt-ac58u";
memory { memory {
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x8000000>; reg = <0x80000000 0x10000000>;
}; };
aliases { aliases {

View File

@ -75,7 +75,7 @@ TARGET_DEVICES += asus_map-ac2200
define Device/asus_rt-ac58u define Device/asus_rt-ac58u
$(call Device/FitImageLzma) $(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC58U / RT-AC1300UHP DEVICE_MODEL := RT-AC58U
DEVICE_DTS := qcom-ipq4018-rt-ac58u DEVICE_DTS := qcom-ipq4018-rt-ac58u
BLOCKSIZE := 128k BLOCKSIZE := 128k
PAGESIZE := 2048 PAGESIZE := 2048
@ -96,6 +96,24 @@ define Device/asus_rt-ac58u
endef endef
TARGET_DEVICES += asus_rt-ac58u TARGET_DEVICES += asus_rt-ac58u
define Device/asus_rt-ac1300uhp
$(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC1300UHP
DEVICE_DTS := qcom-ipq4018-rt-ac58u
BLOCKSIZE := 128k
PAGESIZE := 2048
DTB_SIZE := 65536
IMAGE_SIZE := 20439364
FILESYSTEMS := squashfs
UIMAGE_NAME:=$(shell echo -e '\03\01\01\01RT-AC58U')
KERNEL_INITRAMFS := $$(KERNEL) | uImage none
KERNEL_INITRAMFS_SUFFIX := -factory.trx
IMAGES := sysupgrade.bin
DEVICE_PACKAGES := kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += asus_rt-ac1300uhp
define Device/asus_rt-acrh17 define Device/asus_rt-acrh17
$(call Device/FitImageLzma) $(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS DEVICE_VENDOR := ASUS