mos6522: remove anh register
commit068fe58cf93030fd96b7659bfc7626867ecd518a
authorLaurent Vivier <laurent@vivier.eu>
Fri, 20 Dec 2019 21:40:54 +0000 (20 22:40 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 8 Jan 2020 00:01:59 +0000 (8 11:01 +1100)
treed1b98ca9cfd3cc476cd48311d6850ff66d346819
parent8f06e3705e83c9df5a8dc61bd72b4ccf2794f076
mos6522: remove anh register

Register addr 1 is defined as buffer A with handshake (vBufAH),
register addr 15 is also defined as buffer A without handshake (vBufA).

As both addresses access the same register, remove the definition of
'anh' and use only 'a' (with VIA_REG_ANH and VIA_REG_A).

Fixes: 51f233ec92cd ("misc: introduce new mos6522 VIA device and enable it for ppc builds")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20191220214054.76525-1-laurent@vivier.eu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/mos6522.c
include/hw/misc/mos6522.h