db845c: make build pg_agnostic and support 16k page size kernels
To support booting with 16k page size kernels, add a new 16k page size
option. This also uses 16k block size for the filesystems in use.
Also add page agnostic support so that 4k and 16k page size kernels
can be booted with 16K aligned userspace.
Change-Id: I318b416791419bd7d8b1e5261a2c5cc2907eb388
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
diff --git a/db845c/device.mk b/db845c/device.mk
index fb1b719..bfc728c 100644
--- a/db845c/device.mk
+++ b/db845c/device.mk
@@ -69,4 +69,9 @@
TARGET_HARDWARE := db845c
TARGET_KERNEL_USE ?= 6.6
+# Page agnostic support - will build ELF files 16K aligned,
+# which will allow 4k/16k page size aligned kernels
+PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384
+PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
+
include device/linaro/dragonboard/device-common.mk