mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-10 15:16:12 +02:00
arm: at91: wdt: Remove at91_wdt struct
at91_wdt struct is only used by spl, remove this reference and the struct itself. Signed-off-by: Zixun LI <admin@hifiphile.com> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
ce2a7fcbd5
commit
c7e4262580
@ -19,12 +19,6 @@
|
||||
|
||||
#else
|
||||
|
||||
typedef struct at91_wdt {
|
||||
u32 cr;
|
||||
u32 mr;
|
||||
u32 sr;
|
||||
} at91_wdt_t;
|
||||
|
||||
struct at91_wdt_priv {
|
||||
void __iomem *regs;
|
||||
u32 regval;
|
||||
|
||||
@ -14,9 +14,7 @@
|
||||
#if !defined(CONFIG_WDT_AT91)
|
||||
void at91_disable_wdt(void)
|
||||
{
|
||||
struct at91_wdt *wdt = (struct at91_wdt *)ATMEL_BASE_WDT;
|
||||
|
||||
writel(AT91_WDT_MR_WDDIS, &wdt->mr);
|
||||
writel(AT91_WDT_MR_WDDIS, ATMEL_BASE_WDT + AT91_WDT_MR);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user