]> git.baikalelectronics.ru Git - uboot.git/commit
move UL() macro from armv8/mmu.h into common.h
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jan 2017 11:48:30 +0000 (11:48 +0000)
committerJagan Teki <jagan@openedev.com>
Wed, 4 Jan 2017 15:37:41 +0000 (16:37 +0100)
commitbce453f008ded17b6dd6c81589e48676653939fd
treeddaf3da4360dc6530937b22fd7d1526d7b917ea0
parentce237ef00a8a0447d38fc99b7d2508f35fa66604
move UL() macro from armv8/mmu.h into common.h

The UL() macro is pretty useful in sharing constants between assembly
and C files while still being able to specify a type for C.
Move the macro from an armv8 specific header into a common header file
to be able to use it by arm code (for instance) as well.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/include/asm/armv8/mmu.h
include/common.h