mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 14:56:03 +00:00
arc: Drop CONFIG_MMU
This option is set in the Makefile but has no effect in the assembly code, i.e. the #ifdef branch is never used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9df5011e1e
commit
8697ea97bd
2 changed files with 0 additions and 9 deletions
|
@ -12,10 +12,6 @@ KBUILD_LDFLAGS += -EB
|
||||||
PLATFORM_CPPFLAGS += -mbig-endian
|
PLATFORM_CPPFLAGS += -mbig-endian
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_ARC_MMU_VER
|
|
||||||
CONFIG_MMU = 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata
|
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata
|
||||||
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections -fno-common
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections -fno-common
|
||||||
|
|
||||||
|
|
|
@ -76,13 +76,8 @@
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro SAVE_EXCEPTION_SOURCE
|
.macro SAVE_EXCEPTION_SOURCE
|
||||||
#ifdef CONFIG_MMU
|
|
||||||
/* If MMU exists exception faulting address is loaded in EFA reg */
|
|
||||||
lr %r0, [%efa]
|
|
||||||
#else
|
|
||||||
/* Otherwise in ERET (exception return) reg */
|
/* Otherwise in ERET (exception return) reg */
|
||||||
lr %r0, [%eret]
|
lr %r0, [%eret]
|
||||||
#endif
|
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
ENTRY(memory_error)
|
ENTRY(memory_error)
|
||||||
|
|
Loading…
Add table
Reference in a new issue