]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: board: Print error after power initialization fails
authorOlliver Schinagl <oliver@schinagl.nl>
Wed, 21 Nov 2018 18:05:25 +0000 (20:05 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Dec 2018 16:54:33 +0000 (22:24 +0530)
commit332dfe303ef2e2c68de17f357c6617a8aacb619c
tree8cbaba1a58369efab63f43b07146f34c76e50aeb
parent208bc920630f7bb15cc80ee3c5257a631f14d630
sunxi: board: Print error after power initialization fails

Currently during init, we enable all power, then enable the dram and
after that check whether there was an error during power-up.

This makes little sense, we should enable power and then check if power
was brought up properly before we continue to initialize other things.

This patch moves the DRAM init after the power failure check.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Priit Laes <plaes@plaes.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
board/sunxi/board.c