Path: blob/master/arch/arm/mach-mx5/devices-imx50.h
10817 views
/*1* Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.2*/34/*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.910* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.1415* You should have received a copy of the GNU General Public License along16* with this program; if not, write to the Free Software Foundation, Inc.,17* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.18*/1920#include <mach/mx50.h>21#include <mach/devices-common.h>2223extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[];24#define imx50_add_imx_uart(id, pdata) \25imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata)2627extern const struct imx_fec_data imx50_fec_data;28#define imx50_add_fec(pdata) \29imx_add_fec(&imx50_fec_data, pdata)3031extern const struct imx_imx_i2c_data imx50_imx_i2c_data[];32#define imx50_add_imx_i2c(id, pdata) \33imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata)343536