From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Date: Mon, 6 Jun 2016 18:22:23 +0200 Subject: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver In-Reply-To: <31991e89-53e0-0d9c-c643-241c6f8e8d51@redhat.com> References: <1465226478-22252-1-git-send-email-boris.brezillon@free-electrons.com> <1465226478-22252-4-git-send-email-boris.brezillon@free-electrons.com> <31991e89-53e0-0d9c-c643-241c6f8e8d51@redhat.com> Message-ID: <20160606182223.1636b0df@bbrezillon> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 6 Jun 2016 17:36:10 +0200 Hans de Goede wrote: > > +#ifndef CONFIG_SPL_BUILD > > +void sunxi_nand_init(void); > > +#endif > > + > > Can we have this in a header somewhere please, and without > the #ifdef around it, that is not necessary for prototypes. Hehe, I was expecting this one :-). Do you know where I should put this prototype definition? A board.h file in board/sunxi/? -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com