[coreboot-gerrit] Patch merged into coreboot/master: de8c53a cpu/allwinner/a10: Refactor API for gating clocks to peripherals
gerrit at coreboot.org
gerrit at coreboot.org
Wed Jan 8 23:03:36 CET 2014
the following patch was just integrated into master:
commit de8c53a3317f114e3252d9aa4574a89204ea43eb
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date: Tue Dec 24 16:48:03 2013 -0500
cpu/allwinner/a10: Refactor API for gating clocks to peripherals
Rather than having to track which bit in which register should be
cleared or set to gate or ungate the clock to a certain peripheral,
provide a simplified enum which encodes the register and bit. This
change comes with a function which decodes the enum and gates/ungates
the clock.
This also removes the register-dependent bitmasks for APB0 and APB1
gating registers.
Change-Id: Ib3ca16e54eb37eadc3ceb88f4ccc497829ac34bc
Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
See http://review.coreboot.org/4571 for details.
-gerrit
More information about the coreboot-gerrit
mailing list