1#@TYPE: Machine
2#@NAME: Nuvoton NPCM8XX
3#@DESCRIPTION: Common machine configuration for Nuvoton NPCM8XX Chip
4
5require conf/machine/include/nuvoton.inc
6
7KERNEL_IMAGETYPE ?= "Image"
8
9KERNEL_IMAGETYPE:df-obmc-static-norootfs = "Image"
10KERNEL_IMAGETYPES:df-obmc-static-norootfs = "${KERNEL_IMAGETYPE}"
11
12KERNEL_EXTRA_ARGS ?= "UIMAGE_LOADADDR=0x00008000"
13
14UBOOT_MACHINE ?= "arbel_evb_defconfig"
15UBOOT_ENTRYPOINT ?= "0x6200000"
16UBOOT_LOADADDRESS ?= "0x6200000"
17
18FLASH_SIZE ?= "32768"
19FLASH_UBOOT_OFFSET ?= "0"
20FLASH_UBOOT_ENV_OFFSET = "1024"
21FLASH_KERNEL_OFFSET ?= "2048"
22FLASH_ROFS_OFFSET ?= "8192"
23FLASH_RWFS_OFFSET ?= "31744"
24
25# UBI volume sizes in KB unless otherwise noted.
26FLASH_UBI_RWFS_SIZE ?= "6144"
27FLASH_UBI_RWFS_TXT_SIZE ?= "6MiB"
28
29SERIAL_CONSOLES ?= "115200;ttyS0"
30
31SOC_FAMILY = "npcm8xx"
32include conf/machine/include/soc-family.inc
33MACHINEOVERRIDES .= ":npcm8xx"
34
35require conf/machine/include/arm/armv8a/tune-cortexa35.inc
36
37COMPATIBLE_MACHINE:npcm8xx = "npcm8xx"
38TFA_PLATFORM = "npcm845x"
39
40# Nuvoton prefers optee for BL32.
41TFA_SPD = "opteed"
42
43# Nuvoton prefers u-boot as BL33.
44TFA_UBOOT = "1"
45
46# Nuvoton prefers TFA default build is BL31.
47TFA_BUILD_TARGET = "bl31"
48
49OPTEEMACHINE ?= "nuvoton"
50
51TIP_IMAGE ?= "True"
52
53SA_TIP_IMAGE ?= "False"
54