Message ID | 1487543082-24746-7-git-send-email-lukma@denx.de |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show |
On Sun, Feb 19, 2017 at 11:24:40PM +0100, Lukasz Majewski wrote: > 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 <lukma@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
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)
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 <lukma@denx.de> --- arch/arm/include/asm/arch-omap5/cpu.h | 14 -------------- 1 file changed, 14 deletions(-)