Skip to content
Snippets Groups Projects
Commit e0320b74 authored by Vikas Manocha's avatar Vikas Manocha Committed by Tom Rini
Browse files

stv0991: use fdt for serial port platform data


This patch ignores the serial port static platform data at compilation time
in case of device tree control.

Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 0a836ceb
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ DECLARE_GLOBAL_DATA_PTR; ...@@ -21,6 +21,7 @@ DECLARE_GLOBAL_DATA_PTR;
struct gpio_regs *const gpioa_regs = struct gpio_regs *const gpioa_regs =
(struct gpio_regs *) GPIOA_BASE_ADDR; (struct gpio_regs *) GPIOA_BASE_ADDR;
#ifndef CONFIG_OF_CONTROL
static const struct pl01x_serial_platdata serial_platdata = { static const struct pl01x_serial_platdata serial_platdata = {
.base = 0x80406000, .base = 0x80406000,
.type = TYPE_PL011, .type = TYPE_PL011,
...@@ -31,6 +32,7 @@ U_BOOT_DEVICE(stv09911_serials) = { ...@@ -31,6 +32,7 @@ U_BOOT_DEVICE(stv09911_serials) = {
.name = "serial_pl01x", .name = "serial_pl01x",
.platdata = &serial_platdata, .platdata = &serial_platdata,
}; };
#endif
#ifdef CONFIG_SHOW_BOOT_PROGRESS #ifdef CONFIG_SHOW_BOOT_PROGRESS
void show_boot_progress(int progress) void show_boot_progress(int progress)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment