From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Sat, 5 Sep 2015 08:16:20 +0800 Subject: [U-Boot] [PATCH v2 2/8] nios2: move altera_pio_init to board_early_init_r In-Reply-To: <201509041555.59810.marex@denx.de> References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <1441369343-4638-1-git-send-email-thomas@wytron.com.tw> <1441369343-4638-3-git-send-email-thomas@wytron.com.tw> <201509041555.59810.marex@denx.de> Message-ID: <55EA3454.10607@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Regards, Thomas Chou