ARM: at91: fix ordering of SRAM and PM initialization
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 23 Jan 2015 10:47:37 +0000 (11:47 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 26 Jan 2015 12:43:35 +0000 (13:43 +0100)
commitea69f998499d556251d1e2843953cc4f85788464
tree02c34ddbad3f14ccc155a05b15ff6a7cba6e167a
parentb9f122cc63ef7f30919b628bee48ab31501e3408
ARM: at91: fix ordering of SRAM and PM initialization

The PM initialization needs internal SRAM for allocating a gen_pool and
use it to store its PM code. So we need to have of_platform_populate() before
this code.

Suggested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/board-dt-rm9200.c
arch/arm/mach-at91/board-dt-sam9.c
arch/arm/mach-at91/board-dt-sama5.c