[U-Boot] [PATCH 17/20] arm: rpi: Drop the UART console platform data
Simon Glass
sjg at chromium.org
Wed Jul 8 04:53:49 CEST 2015
We can rely on the device tree to provide the UART information.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/raspberrypi/rpi/rpi.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 96fe870..7de1921 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -28,21 +28,6 @@ U_BOOT_DEVICE(bcm2835_gpios) = {
.platdata = &gpio_platdata,
};
-static const struct pl01x_serial_platdata serial_platdata = {
-#ifdef CONFIG_BCM2836
- .base = 0x3f201000,
-#else
- .base = 0x20201000,
-#endif
- .type = TYPE_PL011,
- .clock = 3000000,
-};
-
-U_BOOT_DEVICE(bcm2835_serials) = {
- .name = "serial_pl01x",
- .platdata = &serial_platdata,
-};
-
struct msg_get_arm_mem {
struct bcm2835_mbox_hdr hdr;
struct bcm2835_mbox_tag_get_arm_mem get_arm_mem;
--
2.4.3.573.g4eafbef
More information about the U-Boot
mailing list