Re: [PATCH v2 09/17] hw/misc: Store DRAM size in NPCM8XX GCR Module

2025-02-04 Thread Peter Maydell
On Thu, 26 Dec 2024 at 08:28, 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 >

[PATCH v2 09/17] hw/misc: Store DRAM size in NPCM8XX GCR Module

2024-12-26 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 --- hw/misc/npcm_gcr.c | 24 +++