FP5: Initial kernel build changes
Change-Id: I604400c6d5e1325bb853131a8b4e764e13d17c78
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 7a931ca..5bc0a1a 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -72,7 +72,7 @@
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
# Kernel
-BOARD_BOOT_HEADER_VERSION := 2
+BOARD_BOOT_HEADER_VERSION := 3
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
@@ -84,16 +84,20 @@
androidboot.memcg=1 \
androidboot.usbcontroller=a600000.dwc3 \
cgroup.memory=nokmem,nosocket \
+ ip6table_raw.raw_before_defrag=1 \
+ iptable_raw.raw_before_defrag=1 \
loop.max_part=7 \
lpm_levels.sleep_disabled=1 \
msm_rtb.filter=0x237 \
+ pcie_ports=compat \
service_locator.enable=1 \
- swiotlb=2048
+ swiotlb=0
BOARD_KERNEL_IMAGE_NAME := Image
BOARD_KERNEL_SEPARATED_DTBO := true
-TARGET_KERNEL_CONFIG := vendor/lito-perf_defconfig vendor/debugfs.config vendor/fairphone/FP4.config
-TARGET_KERNEL_SOURCE := kernel/fairphone/sm7225
+TARGET_KERNEL_CONFIG := vendor/fp5-qgki_defconfig vendor/fp5.config
+TARGET_KERNEL_NO_GCC := true
+TARGET_KERNEL_SOURCE := kernel/fairphone/qcm6490
# Kernel modules - Audio
TARGET_MODULE_ALIASES += \