[U-Boot] [PATCH v2 23/28] rockchip: rk3288: Convert clock driver to use shifted masks

sjg at google.com sjg at google.com
Fri Jun 9 00:01:35 UTC 2017


Shifted masks are the standard approach with rockchip since it allows
use of the mask without shifting it each time. Update the definitions and
the driver to match.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 arch/arm/include/asm/arch-rockchip/cru_rk3288.h |  74 ++++++++-------
 drivers/clk/rockchip/clk_rk3288.c               | 121 ++++++++++--------------
 2 files changed, 90 insertions(+), 105 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list