hw: aspeed_gpio: Simplify 1.8V defines
commit64e5758b75f92be9a633d0c0aa65cb706215cc83
authorJoel Stanley <joel@jms.id.au>
Mon, 20 Sep 2021 06:50:59 +0000 (20 08:50 +0200)
committerCédric Le Goater <clg@kaod.org>
Mon, 20 Sep 2021 06:50:59 +0000 (20 08:50 +0200)
tree29a93454b518b5eef5187ac1f9e37c11e8217425
parent74b67e1f9de37f88e9a6062075ef647ae61d68df
hw: aspeed_gpio: Simplify 1.8V defines

There's no need to define the registers relative to the 0x800 offset
where the controller is mapped, as the device is instantiated as it's
own model at the correct memory address.

Simplify the defines and remove the offset to save future confusion.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Rashmica Gupta <rashmica.g@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210713065854.134634-3-joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/gpio/aspeed_gpio.c