]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3399: spl: always report errors triggering a hard stop
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 19 Nov 2018 12:03:51 +0000 (13:03 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 30 Nov 2018 18:03:16 +0000 (19:03 +0100)
commitadbca53a3a0e2c7843561330d80d97660f347d76
tree4cfe39f36461e3b1774d378124478b1df8bfafce
parent4c2808fd06c3f75df302af6a1354f3ec12278980
rockchip: rk3399: spl: always report errors triggering a hard stop

The RK3399 SPL has two cases that may end in a hard-stop: if either
the pinctrl can not be initialised or if the DRAM fails to initialise.
Both have previously not triggered an error message unless DEBUG was
defined (i.e. both used debug() to print the error).

This converts both error messages to be printed using pr_err() to
ensure that some output points to the cause of the hard-stop.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3399-board-spl.c