Re: [PATCH for-7.1 05/11] hw/misc: Store DRAM size in NPCM8XX GCR Module

2022-04-21 Thread Peter Maydell
On Tue, 5 Apr 2022 at 23:38, Hao Wu wrote: > > NPCM8XX boot block stores the DRAM size in SCRPAD_B register in GCR > module. Since we don't simulate a detailed memory controller, we > need to store this information directly similar to the NPCM7XX's > INCTR3 register. > > Signed-off-by: Hao Wu > R

[PATCH for-7.1 05/11] hw/misc: Store DRAM size in NPCM8XX GCR Module

2022-04-05 Thread Hao Wu
NPCM8XX boot block stores the DRAM size in SCRPAD_B register in GCR module. Since we don't simulate a detailed memory controller, we need to store this information directly similar to the NPCM7XX's INCTR3 register. Signed-off-by: Hao Wu Reviwed-by: Titus Rwantare --- hw/misc/npcm_gcr.c