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>
This commit is contained in:
parent
085f7378e3
commit
34a28bdd61
@ -18,7 +18,9 @@ obj-$(CONFIG_SAM9X60) += sam9x60_devices.o
|
|||||||
obj-$(CONFIG_AT91_EFLASH) += eflash.o
|
obj-$(CONFIG_AT91_EFLASH) += eflash.o
|
||||||
obj-y += clock.o
|
obj-y += clock.o
|
||||||
obj-y += cpu.o
|
obj-y += cpu.o
|
||||||
|
ifndef CONFIG_$(SPL_TPL_)SYSRESET
|
||||||
obj-y += reset.o
|
obj-y += reset.o
|
||||||
|
endif
|
||||||
ifneq ($(CONFIG_ATMEL_PIT_TIMER),y)
|
ifneq ($(CONFIG_ATMEL_PIT_TIMER),y)
|
||||||
ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y)
|
ifneq ($(CONFIG_MCHP_PIT64B_TIMER),y)
|
||||||
# old non-DM timer driver
|
# old non-DM timer driver
|
||||||
|
Loading…
Reference in New Issue
Block a user