Skip to content
Commit d8396a32 authored by Fabian Vogt's avatar Fabian Vogt Committed by Tom Rini
Browse files

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: default avatarFabian Vogt <fvogt@suse.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent cb97ad47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment