[U-Boot] [PATCH v3 1/4] microblaze: Delete Xilinx watchdog related macros
Michal Simek
michal.simek at xilinx.com
Mon Jul 16 11:08:08 UTC 2018
From: Shreenidhi Shedi <yesshedi at gmail.com>
These macros are not required anymore. These will be taken from
configuration file.
Signed-off-by: Shreenidhi Shedi <yesshedi at gmail.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
Changes in v3:
- Fix commit message
Changes in v2:
- Added appropriate commit message.
Changes in v1:
- Removed reduntant macros.
board/xilinx/microblaze-generic/xparameters.h | 4 ----
include/configs/microblaze-generic.h | 10 ----------
2 files changed, 14 deletions(-)
diff --git a/board/xilinx/microblaze-generic/xparameters.h b/board/xilinx/microblaze-generic/xparameters.h
index 57998edba472..01116d827c63 100644
--- a/board/xilinx/microblaze-generic/xparameters.h
+++ b/board/xilinx/microblaze-generic/xparameters.h
@@ -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
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 7f16700d4f13..6a049cf2af6b 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -43,16 +43,6 @@
# 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 */
--
1.9.1
More information about the U-Boot
mailing list