mirror of
https://xff.cz/git/u-boot/
synced 2025-12-25 20:59:12 +01:00
microblaze: Remove !OF_CONTROL code for timer and interrupt
OF_CONTROL is enabled by default that's why this is dead code. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
@@ -47,18 +47,6 @@
|
||||
#endif
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* interrupt controller */
|
||||
#ifdef XILINX_INTC_BASEADDR
|
||||
# define CONFIG_SYS_INTC_0_ADDR XILINX_INTC_BASEADDR
|
||||
# define CONFIG_SYS_INTC_0_NUM XILINX_INTC_NUM_INTR_INPUTS
|
||||
#endif
|
||||
|
||||
/* timer */
|
||||
#if defined(XILINX_TIMER_BASEADDR) && defined(XILINX_TIMER_IRQ)
|
||||
# define CONFIG_SYS_TIMER_0_ADDR XILINX_TIMER_BASEADDR
|
||||
# define CONFIG_SYS_TIMER_0_IRQ XILINX_TIMER_IRQ
|
||||
#endif
|
||||
|
||||
/* watchdog */
|
||||
#if defined(XILINX_WATCHDOG_BASEADDR) && defined(XILINX_WATCHDOG_IRQ)
|
||||
# define CONFIG_WATCHDOG_BASEADDR XILINX_WATCHDOG_BASEADDR
|
||||
|
||||
Reference in New Issue
Block a user