uninorth: remove token register from uninorth device
commit45fefe7c4d9bfc5a4a222d3d2c8244531e87130f
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 6 May 2018 14:20:05 +0000 (6 15:20 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 11 Jun 2018 23:33:52 +0000 (12 09:33 +1000)
tree8f8b9b4e338c19a7f00677e046a30726fe0fc71c
parent56e7404bc19c8abfe02c08f733ad387b58817f94
uninorth: remove token register from uninorth device

>From observation of various OS sources it can be seen that the token register
introduced in 4e46dcdbd3 "PPC: Newworld: Add uninorth token register" is not
required, since the only register currently implemented is the uninorth hardware
version which is read-only.

Remove the token register implementation and instead return the uninorth
version corresponding to the hardware.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/uninorth.c
include/hw/pci-host/uninorth.h