summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-12-09 10:53:25 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2015-12-18 12:15:58 (GMT)
commitb5e9b9a9a1bb231e35e206f8f3e2becee1dd06ab (patch)
tree8c61da1a7a470c3bfad33f7b697cff947703890b /include
parent4280f50238916f6375746c44db11ebbe00012693 (diff)
downloadu-boot-fsl-qoriq-b5e9b9a9a1bb231e35e206f8f3e2becee1dd06ab.tar.xz
microblaze: Do not handle watchdog and gpio in SPL
watchdog and gpio are not validated for SPL that's why do not use them. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/microblaze-generic.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 8db6b55..f93861d 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -97,8 +97,10 @@
#if defined(XILINX_WATCHDOG_BASEADDR) && defined(XILINX_WATCHDOG_IRQ)
# define CONFIG_WATCHDOG_BASEADDR XILINX_WATCHDOG_BASEADDR
# define CONFIG_WATCHDOG_IRQ XILINX_WATCHDOG_IRQ
-# define CONFIG_HW_WATCHDOG
-# define CONFIG_XILINX_TB_WATCHDOG
+# ifndef CONFIG_SPL_BUILD
+# define CONFIG_HW_WATCHDOG
+# define CONFIG_XILINX_TB_WATCHDOG
+# endif
#endif
#if !defined(CONFIG_OF_CONTROL) || \