]> git.baikalelectronics.ru Git - uboot.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)
commitd96953973d21ee3bb6660e8d2905e2da0d704402
tree60b2f76524738ed405598dc2b8a981269a57fb29
parentdcc00183fc8b86515291a83e06fd0b0935fa7bbd
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