summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFabian Vogt <fvogt@suse.com>2016-09-26 14:26:50 +0200
committerTom Rini <trini@konsulko.com>2016-11-28 20:09:51 -0500
commitd8396a3272edc4b8154d0c93ea9b40473b300739 (patch)
tree71e709a639edcfa0ffd04ea2b1ef69bd146bb40e /include/configs
parentcb97ad47bfa365128927438b94065fa900838770 (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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/rpi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index 45c8234905..fa959ef7e3 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -16,7 +16,6 @@
/* Architecture, CPU, etc.*/
#define CONFIG_ARCH_CPU_INIT
-#define CONFIG_BOARD_EARLY_INIT_F
/* Use SoC timer for AArch32, but architected timer for AArch64 */
#ifndef CONFIG_ARM64