# Copyright 2022 The ChromiumOS Authors | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# ARM specific Kconfig overrides. | |
config TRAP_UNALIGNED_ACCESS | |
default y | |
choice NULL_POINTER_EXCEPTION_DETECTION | |
default NULL_POINTER_EXCEPTION_DETECTION_MPU | |
endchoice | |
config CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE | |
# Using 0x20 because NPCX accesses 0x40 for down_from_flash_api. | |
# See b/282983670 for other NPCX ROM accesses. | |
default "0x20" |