summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-09-18 15:26:32 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:09 -0700
commit2af7e810159fc94d23d7bf6d02658f09aae2a909 (patch)
tree2700f37d116c310ff8ac6b7fc765ea557f712804 /arch/arm/cpu
parentde710a14b51986c29f608412ee7e15dd77c7c88c (diff)
downloadu-boot-imx-2af7e810159fc94d23d7bf6d02658f09aae2a909.zip
u-boot-imx-2af7e810159fc94d23d7bf6d02658f09aae2a909.tar.gz
u-boot-imx-2af7e810159fc94d23d7bf6d02658f09aae2a909.tar.bz2
i.MX6: get rid of redundant struct src_regs (dupe of struct src)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 7380ffe..bc65767 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -146,7 +146,7 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
void boot_mode_apply(unsigned cfg_val)
{
unsigned reg;
- struct src_regs *psrc = (struct src_regs *)SRC_BASE_ADDR;
+ struct src *psrc = (struct src *)SRC_BASE_ADDR;
writel(cfg_val, &psrc->gpr9);
reg = readl(&psrc->gpr10);
if (cfg_val)