MIPS: Attach goldfish machine reset and power-off routines

If "reboot" or "reboot -p" are requested from the emulator, these
routines will be triggered which in return should reset or power-off the
machine.

This simple power management device is mapped at 0x1f007000 address.
It contains only one register, which holds commands to be performed.
    GORESET: 0x42 command for reboot
    GOPOWEROFF: 0x43 command for shutdown

Change-Id: I73654a7cc6e8ffbac4b3867561ba713892440328
Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com>
2 files changed