[U-Boot] [PATCH 8/9] board: rpi: move uart deactivation to board_init

Simon Glass sjg at chromium.org
Tue Sep 27 02:35:10 CEST 2016


On 26 September 2016 at 06:26, Fabian Vogt <fvogt at suse.com> wrote:
> 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 at suse.com>
> ---
>  board/raspberrypi/rpi/rpi.c | 40 ++++++++++++++++++++++++++--------------
>  include/configs/rpi.h       |  1 -
>  2 files changed, 26 insertions(+), 15 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list