[U-Boot] [PATCH 5/7] ti: wdt: omap5: Remove not needed struct watchdog definition

Lukasz Majewski lukma at denx.de
Sun Feb 19 22:24:40 UTC 2017


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 at denx.de>
---
 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



More information about the U-Boot mailing list