hw/mips/malta: Use bootloader helper to set BAR registers
commit0c8427baf0f66bdaecae41891304f6e15242e682
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Wed, 26 Oct 2022 19:18:21 +0000 (26 21:18 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:56 +0000 (31 11:32 +0100)
tree902d58c037411ba8d7c1df2c40a4ba6b36bf92b7
parentfe1f2f4e92782b00ed7edb355c227a2073cfa45b
hw/mips/malta: Use bootloader helper to set BAR registers

Translate embedded assembly into IO writes which is more
readable.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20210127065424.114125-4-jiaxun.yang@flygoat.com>
[PMD: Explode addresses/values to ease review/maintainance]
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221026191821.28167-4-philmd@linaro.org>
hw/mips/malta.c