From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftsjh-0007c8-VE for qemu-devel@nongnu.org; Sun, 26 Aug 2018 06:57:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftsjh-0004FN-0y for qemu-devel@nongnu.org; Sun, 26 Aug 2018 06:57:37 -0400 Received: from mail-oi0-x243.google.com ([2607:f8b0:4003:c06::243]:43713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftsjg-0004BZ-IP for qemu-devel@nongnu.org; Sun, 26 Aug 2018 06:57:36 -0400 Received: by mail-oi0-x243.google.com with SMTP id b15-v6so22560122oib.10 for ; Sun, 26 Aug 2018 03:57:36 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20180816141303.20518-1-joel@jms.id.au> <20180816141303.20518-3-joel@jms.id.au> From: Peter Maydell Date: Sun, 26 Aug 2018 11:57:15 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v5 2/3] arm: Add Nordic Semiconductor nRF51 SoC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joel Stanley Cc: QEMU Developers , qemu-arm , Jim Mussared , Stefan Hajnoczi , =?UTF-8?Q?Steffen_G=C3=B6rtz?= , Julia Suvorova On 26 August 2018 at 01:48, Joel Stanley wrote: > I agree that it would be neater to do this. I didn't as the flash is > part of the NRF51822 SoC, opposed to some external flash that is on > the microbit board and connected to the SoC. This is mentioned in the > comment at the start of the file: > > /* > * The size and base is for the NRF51822 part. If other parts > * are supported in the future, add a sub-class of NRF51SoC for > * the specific variants > */ Oh, right. I'd assumed it wasn't fixed because it was specified as a property on the object. > What would you prefer we do here? I don't see anything that seems like the really obvious clean thing, so I suggest just doing something that seems reasonable. I think Steffen's patchset also had a change in this area, which might affect the decision. thanks -- PMM