summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-12-30 12:17:18 -0500
committerTom Rini <trini@ti.com>2014-12-30 12:17:18 -0500
commit5523cc2b8aa01c81c1df476e4e466d418510eae3 (patch)
treeebd59e72a6cb4c0f6b56aee8938bc3309ec0dad0 /arch/arm/cpu/armv7
parentf23041a38afd302db862fbbceb81b05590579c40 (diff)
parent87e47e905887b91c0505495cc6bbab70ba266d51 (diff)
downloadu-boot-imx-5523cc2b8aa01c81c1df476e4e466d418510eae3.zip
u-boot-imx-5523cc2b8aa01c81c1df476e4e466d418510eae3.tar.gz
u-boot-imx-5523cc2b8aa01c81c1df476e4e466d418510eae3.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r--arch/arm/cpu/armv7/mx6/clock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
index 93a02ad..b6983e6 100644
--- a/arch/arm/cpu/armv7/mx6/clock.c
+++ b/arch/arm/cpu/armv7/mx6/clock.c
@@ -746,10 +746,11 @@ unsigned int mxc_get_clock(enum mxc_clock clk)
case MXC_SATA_CLK:
return get_ahb_clk();
default:
+ printf("Unsupported MXC CLK: %d\n", clk);
break;
}
- return -1;
+ return 0;
}
/*