summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSRICHARAN R <r.sricharan@ti.com>2012-03-12 02:25:42 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:24 +0200
commit002a2c0c66d2e1757b89ad6824b4a472dcef1076 (patch)
tree2430c5d89bff12195be42930520e5af456ab6b48 /drivers
parent47c50143aad7676ffa513bc395c49eb254a2c191 (diff)
downloadu-boot-imx-002a2c0c66d2e1757b89ad6824b4a472dcef1076.zip
u-boot-imx-002a2c0c66d2e1757b89ad6824b4a472dcef1076.tar.gz
u-boot-imx-002a2c0c66d2e1757b89ad6824b4a472dcef1076.tar.bz2
OMAP4/5: Make the sysctrl structure common
Make the sysctrl structure common, so that it can be used in generic functions across socs. Also change the base address of the system control module, to include all the registers and not simply the io regs. Signed-off-by: R Sricharan <r.sricharan@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/omap_hsmmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index b8ab7bc..f421ff9 100644
--- a/drivers/mmc/omap_hsmmc.c
+++ b/drivers/mmc/omap_hsmmc.c
@@ -45,8 +45,8 @@ static struct mmc hsmmc_dev[2];
static void omap4_vmmc_pbias_config(struct mmc *mmc)
{
u32 value = 0;
- struct omap4_sys_ctrl_regs *const ctrl =
- (struct omap4_sys_ctrl_regs *)SYSCTRL_GENERAL_CORE_BASE;
+ struct omap_sys_ctrl_regs *const ctrl =
+ (struct omap_sys_ctrl_regs *) SYSCTRL_GENERAL_CORE_BASE;
value = readl(&ctrl->control_pbiaslite);