mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Convert CONFIG_SPL_PAD_TO et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE CONFIG_TPL_PAD_TO CONFIG_TPL_MAX_SIZE Note that we need to make TPL_MAX_SIZE be hex, and so move and convert the existing places. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -9,20 +9,12 @@
|
||||
#ifndef __CONFIG_FALLBACKS_H
|
||||
#define __CONFIG_FALLBACKS_H
|
||||
|
||||
#ifdef CONFIG_SPL
|
||||
#ifdef CONFIG_SPL_PAD_TO
|
||||
#ifdef CONFIG_SPL_MAX_SIZE
|
||||
#if CONFIG_SPL_PAD_TO && CONFIG_SPL_PAD_TO < CONFIG_SPL_MAX_SIZE
|
||||
#error CONFIG_SPL_PAD_TO < CONFIG_SPL_MAX_SIZE
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#ifdef CONFIG_SPL_MAX_SIZE
|
||||
#define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE
|
||||
#else
|
||||
#define CONFIG_SPL_PAD_TO 0
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_BAUDRATE_TABLE
|
||||
|
||||
Reference in New Issue
Block a user