blob: e07d28caeb31a9a3550dae8362169cb44c9d928d [file] [log] [blame]
Julius Wernerb624ae02017-06-09 15:17:15 -07001#
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002# Copyright (c) 2017, Arm Limited and Contributors. All rights reserved.
Julius Wernerb624ae02017-06-09 15:17:15 -07003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7COREBOOT := 0
8$(eval $(call assert_boolean,COREBOOT))
9$(eval $(call add_define,COREBOOT))
10
11ifeq (${COREBOOT},1)
12
13ifneq (${ARCH},aarch64)
14$(error "coreboot only supports Trusted Firmware on AArch64.")
15endif
16
17BL31_SOURCES += $(addprefix lib/coreboot/, \
18 coreboot_table.c)
19
Julius Werner385176d2017-06-13 15:53:45 -070020BL31_SOURCES += drivers/coreboot/cbmem_console/${ARCH}/cbmem_console.S
21
Julius Wernerb624ae02017-06-09 15:17:15 -070022endif # COREBOOT