]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mx5: Fix clock gate values
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Thu, 27 Sep 2012 10:21:22 +0000 (10:21 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:10 +0000 (11:54 -0700)
commit248cdf0b5270651ca5eefb1aff4a338df6a1ca25
treec87a72170aa90295c975b73f9c71eed0af83f7af
parent1f5e4ee0b9e06a129a6a1b117d77c77189c18542
mx5: Fix clock gate values

The clock gate values are 2-bit bit-fields. Hence, setting or clearing only one
of these bits like what was done is wrong and can lead to unpredictable behavior
depending on the original value of these bit-fields.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx5/clock.c
arch/arm/include/asm/arch-mx5/crm_regs.h