
Hi Andreas,
On 10/30/2013 19:11, Andreas Bießmann wrote:
Hi Bo,
On 10/30/2013 10:15 AM, Bo Shen wrote:
Enable the PIO peripherals early that other peripherals.
Signed-off-by: Bo Shen voice.shen@atmel.com
board/atmel/sama5d3xek/sama5d3xek.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index b0965ef..7fa3ae7 100644 --- a/board/atmel/sama5d3xek/sama5d3xek.c +++ b/board/atmel/sama5d3xek/sama5d3xek.c @@ -158,6 +158,9 @@ void lcd_show_board_info(void)
int board_early_init_f(void) {
- at91_periph_clk_enable(ATMEL_ID_PIOA | ATMEL_ID_PIOB | ATMEL_ID_PIOC |
ATMEL_ID_PIOD | ATMEL_ID_PIOE);
that should be done in some SPL specific 'main()'. I dunno which is the entry point for SPL, but we should provide such a function and there should we do such stuff.
As before, we depends on the at91bootstrap to enable the PIO clock. Now, I think we need to enable PIO clock in u-boot by itself. So, we need this.
Best regards
Andreas Bießmann
Best Regards, Bo Shen