mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-10 05:06:16 +09:00
microblaze: ml401 - add ifdef for GPIO
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
af7ae1a411
commit
4c6a6f02e2
|
@ -64,8 +64,10 @@
|
||||||
#undef ET_DEBUG
|
#undef ET_DEBUG
|
||||||
|
|
||||||
/* gpio */
|
/* gpio */
|
||||||
|
#ifdef XILINX_GPIO_BASEADDR
|
||||||
#define CFG_GPIO_0 1
|
#define CFG_GPIO_0 1
|
||||||
#define CFG_GPIO_0_ADDR XILINX_GPIO_BASEADDR
|
#define CFG_GPIO_0_ADDR XILINX_GPIO_BASEADDR
|
||||||
|
#endif
|
||||||
|
|
||||||
/* interrupt controller */
|
/* interrupt controller */
|
||||||
#define CFG_INTC_0 1
|
#define CFG_INTC_0 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user