From: Lukasz Majewski Date: Sun, 19 Feb 2017 23:24:40 +0100 Subject: [U-Boot] [PATCH 5/7] ti: wdt: omap5: Remove not needed struct watchdog definition In-Reply-To: <1487543082-24746-1-git-send-email-lukma@denx.de> References: <1487543082-24746-1-git-send-email-lukma@denx.de> Message-ID: <1487543082-24746-7-git-send-email-lukma@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de After removal of watchdog_init() redundant code from arch/arm/cpu/armv7/omap-common/hwinit-common.c, this structure is not needed anymore. Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-omap5/cpu.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h index 26e7417..de6c4e2 100644 --- a/arch/arm/include/asm/arch-omap5/cpu.h +++ b/arch/arm/include/asm/arch-omap5/cpu.h @@ -47,20 +47,6 @@ struct gptimer { #define GPT_EN ((0x0 << 2) | (0x1 << 1) | (0x1 << 0)) #define WDT_BASE (OMAP54XX_L4_WKUP_BASE + 0x14000) -/* Watchdog */ -#ifndef __KERNEL_STRICT_NAMES -#ifndef __ASSEMBLY__ -struct watchdog { - u8 res1[0x34]; - u32 wwps; /* 0x34 r */ - u8 res2[0x10]; - u32 wspr; /* 0x48 rw */ -}; -#endif /* __ASSEMBLY__ */ -#endif /* __KERNEL_STRICT_NAMES */ - -#define WD_UNLOCK1 0xAAAA -#define WD_UNLOCK2 0x5555 #define TCLR_ST (0x1 << 0) #define TCLR_AR (0x1 << 1) -- 2.1.4