commit | d8396a3272edc4b8154d0c93ea9b40473b300739 | [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 | cb97ad47bfa365128927438b94065fa900838770 [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>