From: Shreenidhi Shedi Date: Sun, 15 Jul 2018 02:05:39 +0530 Subject: [U-Boot] [PATCH v2 1/3] microblaze: Delete Xilinx watchdog related macros In-Reply-To: <20180714203541.31272-1-yesshedi@gmail.com> References: <20180714203541.31272-1-yesshedi@gmail.com> Message-ID: <20180714203541.31272-2-yesshedi@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tested-by: monstr at monstr.eu Reviewed-by: monstr at monstr.eu These macros are not required anymore. These will be taken from configuration file. Changes in V1: - Removed reduntant macros. Changes in V2: - Added appropriate commit message. Signed-off-by: Shreenidhi Shedi --- Changes in v2: - Appropriate commit messages for each patch - Cosmetic changes patch is taken out - Changes in xilinx_tb_wdt.c based on review comments 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 51bca40e34..43aad1f8b0 100644 --- a/board/xilinx/microblaze-generic/xparameters.h +++ b/board/xilinx/microblaze-generic/xparameters.h @@ -21,7 +21,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 966feeeafd..212debc102 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 */ -- 2.17.1