Received: from eggs.gnu.org ([2001:4830:134:3::10]:35619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aizQC-0006AS-G1 for qemu-devel@nongnu.org; Thu, 24 Mar 2016 03:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aizQ9-0000HI-AC for qemu-devel@nongnu.org; Thu, 24 Mar 2016 03:11:08 -0400 Received: from zose-mta03.web4all.fr ([185.49.20.44]:37183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aizQ9-0000HE-48 for qemu-devel@nongnu.org; Thu, 24 Mar 2016 03:11:05 -0400 References: <6c925a1d27b5c664238b41329ed0a7506dcab51a.1458420388.git.jcd@tribudubois.net> From: Jean-Christophe DUBOIS Message-ID: <56F39307.5000400@tribudubois.net> Date: Thu, 24 Mar 2016 08:11:03 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 6/6] i.MX: Add sabrelite i.MX6 emulation. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Peter Crosthwaite Le 23/03/2016 15:48, Peter Maydell a =C3=A9crit : > On 19 March 2016 at 20:59, Jean-Christophe Dubois = wrote: >> The sabrelite supports one SPI FLASH memory on SPI1 >> >> Signed-off-by: Jean-Christophe Dubois >> + { >> + /* Add the sst25vf016b NOR FLASH memory to first SPI */ >> + Object *spi_dev; >> + >> + spi_dev =3D object_resolve_path_component(OBJECT(&s->soc), "s= pi1"); > Can you add a comment to remind us there's a todo here: > /* Ideally we would expose the chip select and spi bus on the SoC > * object using alias properties; then we would not need to directly > * access the underlying spi device object. > */ OK > > Otherwise > Reviewed-by: Peter Maydell > > thanks > -- PMM >