1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00

Makefile: Add support for Elbrus (e2k) architecture

Signed-off-by: Anton Samsonov <devel@zxlab.ru>
Change-Id: Ifc834e943ae93c59447afc86454b22ca662d3ef6
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66426
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Anton Samsonov 2022-08-04 11:48:23 +03:00 committed by Thomas Heijligen
parent ef4eb1714b
commit bd72307a46
2 changed files with 3 additions and 1 deletions

View File

@ -363,7 +363,7 @@ endif
# Additionally disable all drivers needing raw access (memory, PCI, port I/O)
# on architectures with unknown raw access properties.
# Right now those architectures are alpha hppa m68k sh s390
ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc))
ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc e2k))
$(call mark_unsupported,$(DEPENDS_ON_RAW_MEM_ACCESS))
endif

View File

@ -45,6 +45,8 @@
#define __FLASHROM_ARCH__ "s390"
#elif defined(__arc__)
#define __FLASHROM_ARCH__ "arc"
#elif defined(__e2k__)
#define __FLASHROM_ARCH__ "e2k"
#else
#define __FLASHROM_ARCH__ "unknown"
#endif