Re: [PATCH 2/4] hw/openrisc/openrisc_sim: Paramatarize initialization

2022-02-10 Thread Stafford Horne
On Thu, Feb 10, 2022 at 12:07:02PM +0100, Philippe Mathieu-Daudé wrote: > On 10/2/22 07:30, Stafford Horne wrote: > > Move magic numbers to variables and enums. These will be > > reused for upcoming fdt initialization. > > > > Signed-off-by: Stafford Horne > > --- > > hw/openrisc/openrisc_sim.c

Re: [PATCH 2/4] hw/openrisc/openrisc_sim: Paramatarize initialization

2022-02-10 Thread Philippe Mathieu-Daudé via
On 10/2/22 07:30, Stafford Horne wrote: Move magic numbers to variables and enums. These will be reused for upcoming fdt initialization. Signed-off-by: Stafford Horne --- hw/openrisc/openrisc_sim.c | 42 ++ 1 file changed, 34 insertions(+), 8 deletions(-)

[PATCH 2/4] hw/openrisc/openrisc_sim: Paramatarize initialization

2022-02-09 Thread Stafford Horne
Move magic numbers to variables and enums. These will be reused for upcoming fdt initialization. Signed-off-by: Stafford Horne --- hw/openrisc/openrisc_sim.c | 42 ++ 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/hw/openrisc/openrisc_sim.c b/h