summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm283x/include/mach/wdog.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-11-02 10:36:18 +0100
committerTom Rini <trini@konsulko.com>2016-11-28 20:15:19 -0500
commit6b0ee50634212a63a49e17646716f87df303a68d (patch)
treecaec60357e57920eaae03e0072332f1e95409d5a /arch/arm/mach-bcm283x/include/mach/wdog.h
parent1de40662f1cfd438efa98efa8be6937c6eb5c843 (diff)
downloadu-boot-imx-6b0ee50634212a63a49e17646716f87df303a68d.zip
u-boot-imx-6b0ee50634212a63a49e17646716f87df303a68d.tar.gz
u-boot-imx-6b0ee50634212a63a49e17646716f87df303a68d.tar.bz2
ARM: bcm283x: Implement EFI RTS reset_system
The rpi has a pretty simple way of resetting the whole system. All it takes is to poke a few registers at a well defined location in MMIO space. This patch adds support for the EFI loader implementation to allow an OS to reset and power off the system when we're outside of boot time. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/arm/mach-bcm283x/include/mach/wdog.h')
-rw-r--r--arch/arm/mach-bcm283x/include/mach/wdog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm283x/include/mach/wdog.h b/arch/arm/mach-bcm283x/include/mach/wdog.h
index 7741d7b..b4caca1 100644
--- a/arch/arm/mach-bcm283x/include/mach/wdog.h
+++ b/arch/arm/mach-bcm283x/include/mach/wdog.h
@@ -16,7 +16,7 @@
struct bcm2835_wdog_regs {
u32 unknown0[7];
u32 rstc;
- u32 unknown1;
+ u32 rsts;
u32 wdog;
};