mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
Convert CONFIG_POWER_PCA9450 to Kconfig
This converts the following to Kconfig: CONFIG_POWER_PCA9450 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
b95de034c5
commit
3f7a496531
9 changed files with 7 additions and 24 deletions
|
@ -99,6 +99,7 @@ CONFIG_PINCTRL=y
|
||||||
CONFIG_SPL_PINCTRL=y
|
CONFIG_SPL_PINCTRL=y
|
||||||
CONFIG_PINCTRL_IMX8M=y
|
CONFIG_PINCTRL_IMX8M=y
|
||||||
CONFIG_SPL_POWER_LEGACY=y
|
CONFIG_SPL_POWER_LEGACY=y
|
||||||
|
CONFIG_POWER_PCA9450=y
|
||||||
CONFIG_DM_REGULATOR=y
|
CONFIG_DM_REGULATOR=y
|
||||||
CONFIG_DM_REGULATOR_FIXED=y
|
CONFIG_DM_REGULATOR_FIXED=y
|
||||||
CONFIG_DM_REGULATOR_GPIO=y
|
CONFIG_DM_REGULATOR_GPIO=y
|
||||||
|
|
|
@ -99,6 +99,7 @@ CONFIG_PINCTRL=y
|
||||||
CONFIG_SPL_PINCTRL=y
|
CONFIG_SPL_PINCTRL=y
|
||||||
CONFIG_PINCTRL_IMX8M=y
|
CONFIG_PINCTRL_IMX8M=y
|
||||||
CONFIG_SPL_POWER_LEGACY=y
|
CONFIG_SPL_POWER_LEGACY=y
|
||||||
|
CONFIG_POWER_PCA9450=y
|
||||||
CONFIG_DM_REGULATOR=y
|
CONFIG_DM_REGULATOR=y
|
||||||
CONFIG_DM_REGULATOR_FIXED=y
|
CONFIG_DM_REGULATOR_FIXED=y
|
||||||
CONFIG_DM_REGULATOR_GPIO=y
|
CONFIG_DM_REGULATOR_GPIO=y
|
||||||
|
|
|
@ -107,6 +107,7 @@ CONFIG_PINCTRL=y
|
||||||
CONFIG_SPL_PINCTRL=y
|
CONFIG_SPL_PINCTRL=y
|
||||||
CONFIG_PINCTRL_IMX8M=y
|
CONFIG_PINCTRL_IMX8M=y
|
||||||
CONFIG_SPL_POWER_LEGACY=y
|
CONFIG_SPL_POWER_LEGACY=y
|
||||||
|
CONFIG_POWER_PCA9450=y
|
||||||
CONFIG_DM_REGULATOR=y
|
CONFIG_DM_REGULATOR=y
|
||||||
CONFIG_DM_REGULATOR_FIXED=y
|
CONFIG_DM_REGULATOR_FIXED=y
|
||||||
CONFIG_DM_REGULATOR_GPIO=y
|
CONFIG_DM_REGULATOR_GPIO=y
|
||||||
|
|
|
@ -143,6 +143,7 @@ CONFIG_SPL_POWER_LEGACY=y
|
||||||
CONFIG_POWER_DOMAIN=y
|
CONFIG_POWER_DOMAIN=y
|
||||||
CONFIG_IMX8M_POWER_DOMAIN=y
|
CONFIG_IMX8M_POWER_DOMAIN=y
|
||||||
CONFIG_IMX8MP_HSIOMIX_BLKCTRL=y
|
CONFIG_IMX8MP_HSIOMIX_BLKCTRL=y
|
||||||
|
CONFIG_POWER_PCA9450=y
|
||||||
CONFIG_DM_REGULATOR=y
|
CONFIG_DM_REGULATOR=y
|
||||||
CONFIG_DM_REGULATOR_FIXED=y
|
CONFIG_DM_REGULATOR_FIXED=y
|
||||||
CONFIG_DM_REGULATOR_GPIO=y
|
CONFIG_DM_REGULATOR_GPIO=y
|
||||||
|
|
|
@ -416,6 +416,9 @@ config POWER_HI6553
|
||||||
config POWER_LTC3676
|
config POWER_LTC3676
|
||||||
bool "Enable legacy driver for LTC3676 PMIC"
|
bool "Enable legacy driver for LTC3676 PMIC"
|
||||||
|
|
||||||
|
config POWER_PCA9450
|
||||||
|
bool "Enable legacy driver for PCA9450 PMIC"
|
||||||
|
|
||||||
config POWER_PFUZE100
|
config POWER_PFUZE100
|
||||||
bool "Enable legacy driver for PFUZE100 PMIC"
|
bool "Enable legacy driver for PFUZE100 PMIC"
|
||||||
|
|
||||||
|
|
|
@ -12,14 +12,6 @@
|
||||||
|
|
||||||
#define CFG_SYS_UBOOT_BASE (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
|
#define CFG_SYS_UBOOT_BASE (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
|
||||||
/*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
|
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_POWER_PCA9450
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_NET)
|
#if defined(CONFIG_CMD_NET)
|
||||||
#define CONFIG_FEC_MXC_PHYADDR 1
|
#define CONFIG_FEC_MXC_PHYADDR 1
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,6 @@
|
||||||
|
|
||||||
#define CFG_SYS_UBOOT_BASE (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
|
#define CFG_SYS_UBOOT_BASE (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
|
||||||
/*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
|
|
||||||
|
|
||||||
#define CONFIG_POWER_PCA9450
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_NET)
|
#if defined(CONFIG_CMD_NET)
|
||||||
#define CONFIG_FEC_MXC_PHYADDR 1
|
#define CONFIG_FEC_MXC_PHYADDR 1
|
||||||
|
|
||||||
|
|
|
@ -13,12 +13,6 @@
|
||||||
#define CFG_SYS_UBOOT_BASE \
|
#define CFG_SYS_UBOOT_BASE \
|
||||||
(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
|
(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
|
||||||
|
|
||||||
#define CONFIG_POWER_PCA9450
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"image=Image\0" \
|
"image=Image\0" \
|
||||||
"console=ttymxc0,115200\0" \
|
"console=ttymxc0,115200\0" \
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
#define CONFIG_MALLOC_F_ADDR 0x184000
|
#define CONFIG_MALLOC_F_ADDR 0x184000
|
||||||
/* For RAW image gives a error info not panic */
|
/* For RAW image gives a error info not panic */
|
||||||
|
|
||||||
#define CONFIG_POWER_PCA9450
|
|
||||||
|
|
||||||
#define CONFIG_SYS_I2C
|
|
||||||
#endif /* CONFIG_SPL_BUILD */
|
#endif /* CONFIG_SPL_BUILD */
|
||||||
|
|
||||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||||
|
|
Loading…
Reference in a new issue