Searched hist:"0 eb7fa91e18bd888d94cd8d92f033ba92d9cb818" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/rockchip/rk3399/drivers/pmu/ |
| H A D | pmu.c | 0eb7fa91e18bd888d94cd8d92f033ba92d9cb818 Mon Aug 05 14:44:36 UTC 2019 Heiko Stuebner <heiko@sntech.de> rockchip: rk3399: store actual debug uart information on suspend
The rk3399 suspend code saves and restores the debug uart settings, but right now always does this for the default uart. Right now this works only by chance for the majority of rk3399 boards, which do not deviate from that default.
But both Coreboot as well as U-Boot-based platforms can actually use different uarts for their output, which can be configured from either devicetree or Coreboot-variables.
To fix this, just use the stored uart-base information instead of the default constant.
Signed-off-by: Heiko Stuebner <heiko@sntech.de> Change-Id: I1ea059d59a1126f6f8702315df7e620e632b686e
|