#include <netdev.h>
#include <fdt_support.h>
#include <sata.h>
-#include <serial_mxc.h>
#include <asm/arch/crm_regs.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/iomux.h>
#include <asm/imx-common/sata.h>
#include <asm/io.h>
#include <asm/gpio.h>
+#include <dm/platform_data/serial_mxc.h>
#include "common.h"
#include "../common/eeprom.h"
#include <common.h>
#include <dm.h>
#include <errno.h>
-#include <serial_mxc.h>
#include <watchdog.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/clock.h>
+#include <dm/platform_data/serial_mxc.h>
#include <serial.h>
#include <linux/compiler.h>
#include <watchdog.h>
#include <asm/io.h>
#include <serial.h>
-#include <serial_pl01x.h>
+#include <dm/platform_data/serial_pl01x.h>
#include <linux/compiler.h>
#include "serial_pl01x_internal.h"
--- /dev/null
+/*
+ * Copyright (c) 2014 Google, Inc
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __serial_mxc_h
+#define __serial_mxc_h
+
+/* Information about a serial port */
+struct mxc_serial_platdata {
+ struct mxc_uart *reg; /* address of registers in physical memory */
+};
+
+#endif
--- /dev/null
+/*
+ * Copyright (c) 2014 Google, Inc
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __serial_pl01x_h
+#define __serial_pl01x_h
+
+enum pl01x_type {
+ TYPE_PL010,
+ TYPE_PL011,
+};
+
+/*
+ *Information about a serial port
+ *
+ * @base: Register base address
+ * @type: Port type
+ * @clock: Input clock rate, used for calculating the baud rate divisor
+ */
+struct pl01x_serial_platdata {
+ unsigned long base;
+ enum pl01x_type type;
+ unsigned int clock;
+};
+
+#endif
+++ /dev/null
-/*
- * Copyright (c) 2014 Google, Inc
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef __serial_mxc_h
-#define __serial_mxc_h
-
-/* Information about a serial port */
-struct mxc_serial_platdata {
- struct mxc_uart *reg; /* address of registers in physical memory */
-};
-
-#endif
+++ /dev/null
-/*
- * Copyright (c) 2014 Google, Inc
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef __serial_pl01x_h
-#define __serial_pl01x_h
-
-enum pl01x_type {
- TYPE_PL010,
- TYPE_PL011,
-};
-
-/*
- *Information about a serial port
- *
- * @base: Register base address
- * @type: Port type
- * @clock: Input clock rate, used for calculating the baud rate divisor
- */
-struct pl01x_serial_platdata {
- unsigned long base;
- enum pl01x_type type;
- unsigned int clock;
-};
-
-#endif