ipq40xx: fix support for Asus RT-AC1300uhp in 4.19

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-11 19:54:00 +08:00
parent 5c9bdc934e
commit fd72bf35b7
2 changed files with 21 additions and 3 deletions

View File

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

View File

@ -126,7 +126,7 @@ TARGET_DEVICES += asus_map-ac2200
define Device/asus_rt-ac58u
$(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC58U / RT-AC1300UHP
DEVICE_MODEL := RT-AC58U
DEVICE_DTS := qcom-ipq4018-rt-ac58u
BLOCKSIZE := 128k
PAGESIZE := 2048
@ -147,6 +147,24 @@ define Device/asus_rt-ac58u
endef
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
$(call Device/FitImageLzma)
DEVICE_VENDOR := ASUS