coreboot.mk 483 B

12345678910111213141516171819202122
  1. #
  2. # Copyright (c) 2017, Arm Limited and Contributors. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. COREBOOT := 0
  7. $(eval $(call assert_boolean,COREBOOT))
  8. $(eval $(call add_define,COREBOOT))
  9. ifeq (${COREBOOT},1)
  10. ifneq (${ARCH},aarch64)
  11. $(error "coreboot only supports Trusted Firmware on AArch64.")
  12. endif
  13. BL31_SOURCES += $(addprefix lib/coreboot/, \
  14. coreboot_table.c)
  15. BL31_SOURCES += drivers/coreboot/cbmem_console/${ARCH}/cbmem_console.S
  16. endif # COREBOOT