diff options
author | Sergiu Moga <sergiu.moga@microchip.com> | 2022-04-01 12:27:26 +0300 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2022-04-26 09:52:26 +0300 |
commit | 34a28bdd618369af9abe04a6d9adfa2559c80348 (patch) | |
tree | 21f53f9276d7552e64c250e6ca2a4cbc0c7282d7 /arch/arm/mach-at91 | |
parent | 085f7378e3e8939faab604f8cfe7a223716bc967 (diff) | |
download | u-boot-34a28bdd618369af9abe04a6d9adfa2559c80348.tar.gz u-boot-34a28bdd618369af9abe04a6d9adfa2559c80348.tar.bz2 u-boot-34a28bdd618369af9abe04a6d9adfa2559c80348.zip |
ARM: mach-at91: arm926ejs: Add SYSRESET conditional
This commit adds a condition to the Makefile so that whenever the SYSRESET
option is chosen in the configuration, the default reset driver is ignored.
Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/arm926ejs/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/arm926ejs/Makefile b/arch/arm/mach-at91/arm926ejs/Makefile index f306b172f0..902dd3a60e 100644 --- a/arch/arm/mach-at91/arm926ejs/Makefile +++ b/arch/arm/mach-at91/arm926ejs/Makefile @@ -18,7 +18,9 @@ obj-$(CONFIG_SAM9X60) += sam9x60_devices.o obj-$(CONFIG_AT91_EFLASH) += eflash.o obj-y += clock.o obj-y += cpu.o +ifndef CONFIG_$(SPL_TPL_)SYSRESET obj-y += reset.o +endif ifneq ($(CONFIG_ATMEL_PIT_TIMER),y) ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y) # old non-DM timer driver |