agl_raspberrypi3.inc: Set CMA for SOTA
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_raspberrypi3.inc
index 2e5f6fc..cc30748 100644 (file)
@@ -2,6 +2,8 @@
 GPU_MEM = "128"
 
 ENABLE_CMA = "1"
+# Add CMA to the kernel arguments for SOTA
+OSTREE_KERNEL_ARGS_sota_append = " cma=256M"
 CMA_LWM = "16"
 CMA_HWM = "32"
 
@@ -25,14 +27,6 @@ IMAGE_FEATURES_remove = "splash"
 # Build updatable image. Only takes effect when sota.bbclass is inherited
 DISTRO_FEATURES_append = " sota"
 
-# Add overlays for 7inch touch
-# https://github.com/k-quigley/linux/commits/rpi-4.14.y
-RPI_KERNEL_DEVICETREE_OVERLAYS_append = "\
-    overlays/rpi-backlight.dtbo \
-    overlays/rpi-7inch.dtbo \
-"
-
-
 # Create WIC images to write to SD cards.
 WKS_FILE = "sdimage-raspberrypi.wks"
 AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"