]> git.proxmox.com Git - qemu.git/commit
hw/arm_sysctl: Fix RESETCTL for realview-pb-a8 and -pbx-a9
authorJean-Christophe DUBOIS <jcd@tribudubois.net>
Mon, 14 Nov 2011 02:09:20 +0000 (03:09 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Mon, 14 Nov 2011 02:09:20 +0000 (03:09 +0100)
commitb2887c43eeec4b8e7697e18dfac071fd9cb4f0c0
tree90caa3658576e6537c2facf0cdc965caf28f51e0
parent7c64d297f988f6ee2136f29fac010db2c8fc352c
hw/arm_sysctl: Fix RESETCTL for realview-pb-a8 and -pbx-a9

Depending on the considered baseboard the bit used to
reset the platform is different.

Here is the list of considered Realview/Versatile platforms:

Realview/Versatile AB for ARM926EJ-S: BOARD_ID = 0x100 = BOARD_ID_PB9
http://infocenter.arm.com/help/topic/com.arm.doc.dui0225d/CACCIFGI.html

RealView Emulation Baseboard: BOARD_ID = 0x140 = BOARD_ID_EB
No reset register

RealView PB for Cortex-A8: BOARD_ID = 0x178 = BOARD_ID_PBA8
http://infocenter.arm.com/help/topic/com.arm.doc.dui0417d/BBACIGAD.html

RealView PB for Cortex-A9: BOARD_ID = 0x182 = BOARD_ID_PBX
http://infocenter.arm.com/help/topic/com.arm.doc.dui0440b/CACCHBFB.html

Motherboard Express =C2=B5ATX: BOARD_ID = 0x190 = BOARD_ID_VEXPRESS
No reset register

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/arm_sysctl.c