qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 5/5] Netduino: Add the Netduino Plus 2 Machin


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v1 5/5] Netduino: Add the Netduino Plus 2 Machine Model
Date: Mon, 1 Sep 2014 17:33:21 +0100

On 1 September 2014 13:44, Peter Maydell <address@hidden> wrote:
> Yeah, but it's not really the right design IMHO. We should
> have common armv7m init code for the parts which are
> really "the CPU has all this" (including at least the bitbanding,
> NVIC, memory mapped system registers, reset/ELF file
> loading, etc), and board specific code in the board files.
> Copying this code just because it's easier in the short
> term leaves us still with the cleanup to do in the long term.

In fact, looking at the data sheets and the other patches in
this series there's another level or two here too:

 * init common to all ARMv7M
 * (maybe) init common to Cortex-M3
 * init for this STM SoC
 * init for the board

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]