diff options
author | Andre Przywara <andre.przywara@linaro.org> | 2013-08-13 17:13:07 +0200 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-08-20 15:24:06 +0100 |
commit | d72e8bcf12eb0b9e0fcfbc48406b5c4cbf9a84ef (patch) | |
tree | 7509721dc3904241ab92036d64dc4fc9428baabf /xen/include/asm-arm | |
parent | 0cf2554189351848e1fc4eb13607b7d0b0f6d2b1 (diff) | |
download | xen-d72e8bcf12eb0b9e0fcfbc48406b5c4cbf9a84ef.tar.gz xen-d72e8bcf12eb0b9e0fcfbc48406b5c4cbf9a84ef.tar.bz2 xen-d72e8bcf12eb0b9e0fcfbc48406b5c4cbf9a84ef.zip |
ARM: add Calxeda Midway platform
Calxeda Midway is an ARMv7 server platform with Cortex-A15 cores.
The peripheral side has many similarities with the machine known as
Highbank.
Add Calxeda Midway to the list of supported platforms to avoid a
warning on boot and provide the proper reset method.
Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Diffstat (limited to 'xen/include/asm-arm')
-rw-r--r-- | xen/include/asm-arm/platforms/midway.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xen/include/asm-arm/platforms/midway.h b/xen/include/asm-arm/platforms/midway.h new file mode 100644 index 0000000000..099e4350f9 --- /dev/null +++ b/xen/include/asm-arm/platforms/midway.h @@ -0,0 +1,21 @@ +#ifndef __ASM_ARM_PLATFORMS_MIDWAY_H +#define __ASM_ASM_PLATFORMS_MIDWAY_H + +/* addresses of SREG registers for resetting the SoC */ +#define MW_SREG_PWR_REQ 0xfff3cf00 +#define MW_SREG_A15_PWR_CTRL 0xfff3c200 + +#define MW_PWR_SUSPEND 0 +#define MW_PWR_SOFT_RESET 1 +#define MW_PWR_HARD_RESET 2 +#define MW_PWR_SHUTDOWN 3 + +#endif /* __ASM_ARM_PLATFORMS_MIDWAY_H */ +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ |