blob: 2c290391f298653198784669e57fd48f72366922 [file] [log] [blame]
Richard Zhao3d5a44b2010-12-30 19:25:05 +08001/*
2 * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
4
5/*
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
Shawn Guoe0557c02012-09-13 15:51:15 +080021#include "devices/devices-common.h"
Richard Zhao3d5a44b2010-12-30 19:25:05 +080022
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080023extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[];
Richard Zhao3d5a44b2010-12-30 19:25:05 +080024#define imx50_add_imx_uart(id, pdata) \
25 imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata)
Richard Zhao82c520d2011-01-14 17:48:03 +080026
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080027extern const struct imx_fec_data imx50_fec_data;
Richard Zhao82c520d2011-01-14 17:48:03 +080028#define imx50_add_fec(pdata) \
29 imx_add_fec(&imx50_fec_data, pdata)
30
Richard Zhaoaf12e3a2011-03-31 18:16:23 +080031extern const struct imx_imx_i2c_data imx50_imx_i2c_data[];
Richard Zhao98b7d552011-01-14 17:48:04 +080032#define imx50_add_imx_i2c(id, pdata) \
33 imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata)