]> git.sur5r.net Git - u-boot/commitdiff
rockchip: rk3288: fix EMMC_DIV_MASK definition in header
authorKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2017 01:28:14 +0000 (09:28 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:15:08 +0000 (17:15 +0200)
It should be '<<' instead of '<' for _MASK definition, fix it.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/cru_rk3288.h

index cb0a935edce711ecc421e0c2de77f6043ebf4ded..c7e21bd605efdde1c395756df188dfc61888260e 100644 (file)
@@ -85,7 +85,7 @@ enum {
        EMMC_PLL_SELECT_24MHZ,
 
        EMMC_DIV_SHIFT          = 8,
-       EMMC_DIV_MASK           = 0x3f < EMMC_DIV_SHIFT,
+       EMMC_DIV_MASK           = 0x3f << EMMC_DIV_SHIFT,
 
        SDIO0_PLL_SHIFT         = 6,
        SDIO0_PLL_MASK          = 3 << SDIO0_PLL_SHIFT,