From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 5 Sep 2015 02:54:39 +0200 Subject: [U-Boot] [PATCH v2 2/8] nios2: move altera_pio_init to board_early_init_r In-Reply-To: <55EA3454.10607@wytron.com.tw> References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <201509041555.59810.marex@denx.de> <55EA3454.10607@wytron.com.tw> Message-ID: <201509050254.39329.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday, September 05, 2015 at 02:16:20 AM, Thomas Chou wrote: > Hi Marek, > > On 09/04/2015 09:55 PM, Marek Vasut wrote: > > On Friday, September 04, 2015 at 02:22:17 PM, Thomas Chou wrote: > >> As altera_pio_init() uses BSS, it should be moved to > >> board_early_init_r(). > >> > >> Signed-off-by: Thomas Chou > > > > Shouldn't this be part of arch_cpu_init() instead ? > > This is per board setup. Each board might has a different PIO > configuration. OK, I see what you're doing here now. I agree. Best regards, Marek Vasut