]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9037/1: uncompress: Add OF_DT_MAGIC macro
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 4 Dec 2020 09:39:10 +0000 (10:39 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 21 Dec 2020 11:19:21 +0000 (11:19 +0000)
commit551b39efc6ffdc7a881122fbac0caa2a27a464d8
treebbfd80fbd3775001c60d2a5daee0ef1f739aba24
parent1ecec38547d415054fdb63a231234f44396b6d06
ARM: 9037/1: uncompress: Add OF_DT_MAGIC macro

The DTB magic marker is stored as a 32-bit big-endian value, and thus
depends on the CPU's endianness.  Add a macro to define this value in
native endianness, to reduce #ifdef clutter and (future) duplication.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/head.S