u-boot/arch/arm/cpu/armv7/mx6
Peng Fan eb412d79e4 imx:mx6 fix return value of mxc_get_clock
mxc_get_clock's return type is unsigned int. 'return -1' is same with
'return 0xffffffff', so 0 should be used as the return value when
unsupported mxc_clock type is passed to mxc_get_clock.

Also include an err message when unsupported mxc_clock type is passed
to mxc_get_clock.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
2014-12-19 10:43:04 +01:00
..
clock.c imx:mx6 fix return value of mxc_get_clock 2014-12-19 10:43:04 +01:00
ddr.c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
hab.c imx: Support i.MX6 High Assurance Boot authentication 2014-09-22 16:21:04 +02:00
Makefile mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00
mp.c mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00
soc.c mx6: thermal: Check cpu temperature via thermal sensor 2014-11-21 15:30:12 +01:00