spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 10 Feb 2014 08:20:11 +0000 (12:20 +0400)
committerHeiko Schocher <hs@denx.de>
Thu, 20 Feb 2014 05:49:02 +0000 (06:49 +0100)
commitf93f589ca2defd02fa76a3d0cde695d61820390d
treee501f9871d323a8b512267bbc4b74fd2665379ff
parentd5243359e1afc957acd373dbbde1cf6c70ee5485
spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs

Having CONFIG_SYS_I2C_BASE requires DW I2C driver to explicitly include
<arch/hardware.h> which other platforms may not have at all.

It's always good to have a driver platform-independent.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Tom Rini <trini@ti.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Vipin Kumar <vipin.kumar@st.com>
Cc: Armando Visconti <armando.visconti@st.com>
arch/arm/include/asm/arch-spear/hardware.h
include/configs/spear-common.h
include/configs/x600.h