Disable zone dma32

As HW doesn't have 32 bit address limitation, we can disable
zone dma32 to simplify memory management and improve performance.

Bug: 236225957
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I3297a9a7440e0baf80666152ae9f54e93491f362
This commit is contained in:
Martin Liu 2022-07-07 17:01:54 +08:00 committed by TreeHugger Robot
parent 445b2fe50b
commit 95ab2f8f9e
2 changed files with 2 additions and 0 deletions

View file

@ -20,6 +20,7 @@ else
TARGET_BOOTLOADER_BOARD_NAME := oriole TARGET_BOOTLOADER_BOARD_NAME := oriole
TARGET_SCREEN_DENSITY := 420 TARGET_SCREEN_DENSITY := 420
USES_DEVICE_GOOGLE_RAVIOLE := true USES_DEVICE_GOOGLE_RAVIOLE := true
BOARD_KERNEL_CMDLINE += disable_dma32=on
include device/google/gs101/BoardConfig-common.mk include device/google/gs101/BoardConfig-common.mk
include device/google/gs101/wifi/BoardConfig-wifi.mk include device/google/gs101/wifi/BoardConfig-wifi.mk

View file

@ -21,6 +21,7 @@ else
TARGET_BOOTLOADER_BOARD_NAME := raven TARGET_BOOTLOADER_BOARD_NAME := raven
TARGET_SCREEN_DENSITY := 560 TARGET_SCREEN_DENSITY := 560
USES_DEVICE_GOOGLE_RAVIOLE := true USES_DEVICE_GOOGLE_RAVIOLE := true
BOARD_KERNEL_CMDLINE += disable_dma32=on
include device/google/gs101/BoardConfig-common.mk include device/google/gs101/BoardConfig-common.mk
include device/google/gs101/wifi/BoardConfig-wifi.mk include device/google/gs101/wifi/BoardConfig-wifi.mk