arm64: v8r: Enable AARCH64_IMAGE_HEADER by default
Enable AARCH64_IMAGE_HEADER by default and fix the relevant warning Signed-off-by: Jaxson Han <jaxson.han@arm.com>
This commit is contained in:
parent
a072a801e7
commit
7ea0591d30
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ config IPM_CONSOLE_STACK_SIZE
|
|||
|
||||
config AARCH64_IMAGE_HEADER
|
||||
bool "Add image header"
|
||||
default y if ARM_MMU
|
||||
default y if ARM_MMU || ARM_MPU
|
||||
help
|
||||
This option enables standard ARM64 boot image header used by Linux
|
||||
and understood by loaders such as u-boot on Xen xl tool.
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <arch/cpu.h>
|
||||
#include "mmu.h"
|
||||
|
||||
#if CONFIG_MMU_PAGE_SIZE == 4096
|
||||
#if CONFIG_MMU_PAGE_SIZE == 4096 || defined(CONFIG_ARM_MPU)
|
||||
#define HEADER_PGSIZE 1
|
||||
#elif CONFIG_MMU_PAGE_SIZE == 16384
|
||||
#define HEADER_PGSIZE 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue