mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
af93082760
Move arch/arm/include/asm/arch-at91/* -> arch/arm/mach-at91/include/mach/* Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
30 lines
443 B
C
30 lines
443 B
C
/*
|
|
* Copyright (C) 2009 Jens Scharsig (js_at_ng@scharsoft.de)
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef AT91_ST_H
|
|
#define AT91_ST_H
|
|
|
|
typedef struct at91_st {
|
|
|
|
u32 cr;
|
|
u32 pimr;
|
|
u32 wdmr;
|
|
u32 rtmr;
|
|
u32 sr;
|
|
u32 ier;
|
|
u32 idr;
|
|
u32 imr;
|
|
u32 rtar;
|
|
u32 crtr;
|
|
} at91_st_t ;
|
|
|
|
#define AT91_ST_CR_WDRST 1
|
|
|
|
#define AT91_ST_WDMR_WDV(x) (x & 0xFFFF)
|
|
#define AT91_ST_WDMR_RSTEN 0x00010000
|
|
#define AT91_ST_WDMR_EXTEN 0x00020000
|
|
|
|
#endif
|