From: Kever Yang Date: Mon, 31 Jul 2017 01:28:14 +0000 (+0800) Subject: rockchip: rk3288: fix EMMC_DIV_MASK definition in header X-Git-Tag: v2017.09-rc2~5^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf82e200a9cf45773d67ef0e67c6262f592dda6d;p=u-boot rockchip: rk3288: fix EMMC_DIV_MASK definition in header It should be '<<' instead of '<' for _MASK definition, fix it. Signed-off-by: Ziyuan Xu Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich Acked-by: Philipp Tomsich Reviewed-by: Simon Glass --- diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3288.h b/arch/arm/include/asm/arch-rockchip/cru_rk3288.h index cb0a935edc..c7e21bd605 100644 --- a/arch/arm/include/asm/arch-rockchip/cru_rk3288.h +++ b/arch/arm/include/asm/arch-rockchip/cru_rk3288.h @@ -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,