summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2013-03-15 10:07:02 +0000
committerTom Rini <trini@ti.com>2013-03-24 12:49:11 -0400
commit81df2bab46d3bed319e21571c68db8e0a048bbfd (patch)
treec259752906f7609a39b48268a213fc02b893cc16 /board
parent98f92001b3af0748d02e36b515a59865fb187415 (diff)
downloadu-boot-imx-81df2bab46d3bed319e21571c68db8e0a048bbfd.zip
u-boot-imx-81df2bab46d3bed319e21571c68db8e0a048bbfd.tar.gz
u-boot-imx-81df2bab46d3bed319e21571c68db8e0a048bbfd.tar.bz2
am33xx: convert defines from am33xx-specific to generic names
Eliminate AM33xx specific names to prepare for TI814x support within AM33xx-land. Signed-off-by: Matt Porter <mporter@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/phytec/pcm051/board.c6
-rw-r--r--board/ti/am335x/board.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c
index 55bc018..471725a 100644
--- a/board/phytec/pcm051/board.c
+++ b/board/phytec/pcm051/board.c
@@ -61,7 +61,7 @@ static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE;
static void rtc32k_enable(void)
{
- struct rtc_regs *rtc = (struct rtc_regs *)AM335X_RTC_BASE;
+ struct rtc_regs *rtc = (struct rtc_regs *)RTC_BASE;
/*
* Unlock the RTC's registers. For more details please see the
@@ -199,8 +199,8 @@ static struct cpsw_slave_data cpsw_slaves[] = {
};
static struct cpsw_platform_data cpsw_data = {
- .mdio_base = AM335X_CPSW_MDIO_BASE,
- .cpsw_base = AM335X_CPSW_BASE,
+ .mdio_base = CPSW_MDIO_BASE,
+ .cpsw_base = CPSW_BASE,
.mdio_div = 0xff,
.channels = 8,
.cpdma_reg_ofs = 0x800,
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 2e230f4..758ba15 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -134,7 +134,7 @@ static int read_eeprom(void)
static void rtc32k_enable(void)
{
- struct rtc_regs *rtc = (struct rtc_regs *)AM335X_RTC_BASE;
+ struct rtc_regs *rtc = (struct rtc_regs *)RTC_BASE;
/*
* Unlock the RTC's registers. For more details please see the
@@ -414,8 +414,8 @@ static struct cpsw_slave_data cpsw_slaves[] = {
};
static struct cpsw_platform_data cpsw_data = {
- .mdio_base = AM335X_CPSW_MDIO_BASE,
- .cpsw_base = AM335X_CPSW_BASE,
+ .mdio_base = CPSW_MDIO_BASE,
+ .cpsw_base = CPSW_BASE,
.mdio_div = 0xff,
.channels = 8,
.cpdma_reg_ofs = 0x800,