]> git.baikalelectronics.ru Git - uboot.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)
commit630aa81ad843d4beedaa3f86ad9d62ceaa50f27c
tree4cfe39f36461e3b1774d378124478b1df8bfafce
parent7254b674226e0f0b8b543ee35221e29567d1ea0a
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