]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Convert BOOT_FROM_* constants to function macros
authorPali Rohár <pali@kernel.org>
Wed, 29 Mar 2023 19:03:32 +0000 (21:03 +0200)
committerStefan Roese <sr@denx.de>
Thu, 30 Mar 2023 05:05:20 +0000 (07:05 +0200)
commit7ba084c7f81f5b31125fdfdefd8e105dbd0366fe
tree60b2f76524738ed405598dc2b8a981269a57fb29
parent4642bb3e76cfc3fe765dbe3174ceaffba94ea1f2
arm: mvebu: Convert BOOT_FROM_* constants to function macros

This allows to merge BOOT_FROM_MMC and BOOT_FROM_MMC_ALT constants to one
macro. And also allows to extend other BOOT_FROM_* macros for other
variants.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Tested-by: Martin Rowe <martin.p.rowe@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/include/mach/soc.h