[U-Boot] [PATCH v2 24/37] rockchip: Tidy up the register-access macros

Simon Glass sjg at chromium.org
Fri Jan 22 19:38:47 CET 2016


On 21 January 2016 at 19:45, Simon Glass <sjg at chromium.org> wrote:
> These work reasonable well, but there are a few errors:
>
> - Brackets should be used to avoid unexpected side-effects
> - When setting bits, the corresponding upper 16 bits should be set also
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  arch/arm/include/asm/arch-rockchip/hardware.h | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Applied to u-boot-rockchip.


More information about the U-Boot mailing list