From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:13 +0200 Subject: [U-Boot] [U-Boot, v4, 32/66] rockchip: rk3368: grf: use shifted-constants In-Reply-To: <1501706105-7490-33-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-33-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > The RK3368 GRF header was still defines with a shifted-mask but with > non-shifted function selectors for the IOMUX defines. As the RK3368 > support is still fresh enough to allow a quick change, we do this now > before having more code use this. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > --- > > Changes in v4: > - restore the symbolic constant for the shift-values in the IOMUX > enums > > Changes in v3: None > Changes in v2: > - dropped the RK3368_ prefix for the GRF constants > > arch/arm/include/asm/arch-rockchip/grf_rk3368.h | 413 ++++++++++++++---------- > drivers/pinctrl/rockchip/pinctrl_rk3368.c | 9 +- > 2 files changed, 242 insertions(+), 180 deletions(-) > Applied to u-boot-rockchip, thanks!