hw/riscv: microchip_pfsoc: Map the reserved memory at address 0
commit27c22b2de08f71500df581563cc9d22638a14b4d
authorBin Meng <bin.meng@windriver.com>
Wed, 28 Oct 2020 05:30:08 +0000 (28 13:30 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 3 Nov 2020 15:17:23 +0000 (3 07:17 -0800)
tree97076925e1db576b9b4c7fde3ca413964d79f3cc
parentcdd58c70fbcb7276d3df656941278e4395ecce14
hw/riscv: microchip_pfsoc: Map the reserved memory at address 0

Somehow HSS needs to access address 0 [1] for the DDR calibration data
which is in the chipset's reserved memory. Let's map it.

[1] See the config_copy() calls in various places in ddr_setup() in
    the HSS source codes.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 1603863010-15807-9-git-send-email-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/microchip_pfsoc.c
include/hw/riscv/microchip_pfsoc.h