/*1* Helper module for board specific I2C bus registration2*3* Copyright (C) 2009 Nokia Corporation.4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License7* version 2 as published by the Free Software Foundation.8*9* This program is distributed in the hope that it will be useful, but10* WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12* General Public License for more details.13*14* You should have received a copy of the GNU General Public License15* along with this program; if not, write to the Free Software16* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA17* 02110-1301 USA18*19*/2021#include <plat/i2c.h>22#include <plat/mux.h>23#include <plat/cpu.h>2425void __init omap1_i2c_mux_pins(int bus_id)26{27if (cpu_is_omap7xx()) {28omap_cfg_reg(I2C_7XX_SDA);29omap_cfg_reg(I2C_7XX_SCL);30} else {31omap_cfg_reg(I2C_SDA);32omap_cfg_reg(I2C_SCL);33}34}353637