commit | 1d317b78fb0a7778d0cbbe27d58ba55da934ab34 | [log] [tgz] |
---|---|---|
author | Fabian Vogt <fvogt@suse.com> | Mon Sep 26 14:26:50 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 28 20:09:51 2016 -0500 |
tree | 71e709a639edcfa0ffd04ea2b1ef69bd146bb40e | |
parent | 0f11661e64948871006f0bd91403e40af96a1ed8 [diff] |
board: rpi: move uart deactivation to board_init When using OF_CONTROL, the disabled value of the mini UART platdata gets reset after board_early_init_f. So move detection and disabling to board_init and remove board_early_init_f. This uses the first device using the mini uart driver, as this method works reliably with different device trees or even no device tree at all. Signed-off-by: Fabian Vogt <fvogt@suse.com> Reviewed-by: Simon Glass <sjg@chromium.org>