Hi Alistair,

On Wed, Oct 28, 2020 at 1:42 AM Alistair Francis <alistai...@gmail.com> wrote:
>
> On Tue, Oct 27, 2020 at 7:53 AM Bin Meng <bmeng...@gmail.com> wrote:
> >
> > From: Bin Meng <bin.m...@windriver.com>
> >
> > Somehow HSS needs to access address 0 [1] for the DDR calibration data
> > which is in the chipset's debug memory. Let's map the debug memory.
> >
> > [1] See the config_copy() calls in various places in ddr_setup() in
> >     the HSS source codes.
>
> Really? This is reserved memory that they just read and write to? That's 
> crazy.

Yes, that's crazy.

>
> If we really need this can you add a comment saying that the
> documentation is wrong (again) and that this needs to be here.
>

I will try to only map 256 bytes to see how that goes.

> >
> > Signed-off-by: Bin Meng <bin.m...@windriver.com>
> > ---
> >
> >  hw/riscv/microchip_pfsoc.c | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >

Regards,
Bin

Reply via email to