microblaze: Delete Xilinx watchdog related macros
authorShreenidhi Shedi <yesshedi@gmail.com>
Sat, 14 Jul 2018 20:35:39 +0000 (02:05 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:55 +0000 (10:49 +0200)
These macros are not required anymore. These will be taken from
configuration file.

Signed-off-by: Shreenidhi Shedi <yesshedi@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/microblaze-generic/xparameters.h
include/configs/microblaze-generic.h

index 57998edba472c70b5b2e6d5499b8a01937d7a7fd..01116d827c63cbd98b61fc2b23db3192f7e4e0fb 100644 (file)
@@ -19,7 +19,3 @@
 /* Flash Memory is FLASH_2Mx32 */
 #define XILINX_FLASH_START     0x2c000000
 #define XILINX_FLASH_SIZE      0x00800000
-
-/* Watchdog IP is wxi_timebase_wdt_0 */
-#define XILINX_WATCHDOG_BASEADDR       0x50000000
-#define XILINX_WATCHDOG_IRQ            1
index 7f16700d4f13153ad8b50274db3287062513e40f..6a049cf2af6b5b99798c260a768958f6b0699292 100644 (file)
 # define CONFIG_SYS_GPIO_0_ADDR                XILINX_GPIO_BASEADDR
 #endif
 
-/* watchdog */
-#if defined(XILINX_WATCHDOG_BASEADDR) && defined(XILINX_WATCHDOG_IRQ)
-# define CONFIG_WATCHDOG_BASEADDR      XILINX_WATCHDOG_BASEADDR
-# define CONFIG_WATCHDOG_IRQ           XILINX_WATCHDOG_IRQ
-# ifndef CONFIG_SPL_BUILD
-#  define CONFIG_HW_WATCHDOG
-#  define CONFIG_XILINX_TB_WATCHDOG
-# endif
-#endif
-
 #define CONFIG_SYS_MALLOC_LEN  0xC0000
 
 /* Stack location before relocation */