diff --git a/Makefile b/Makefile index f73d14401..a16f35127 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Makefile.d/arch_test.h b/Makefile.d/arch_test.h index 077aabacf..2b988efde 100644 --- a/Makefile.d/arch_test.h +++ b/Makefile.d/arch_test.h @@ -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