mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 18:40:42 +09:00
mxs: Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT
The power switch option is compatible with i.MX23 and i.MX28 so the configration option needs to reflect it. We choose 'CONFIG_SPL_MXS_PSWITCH_WAIT' for the option name. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
f94669f306
commit
a74dbf2734
@ -30,7 +30,7 @@ void early_delay(int delay);
|
|||||||
|
|
||||||
void mxs_power_init(void);
|
void mxs_power_init(void);
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_MX28_PSWITCH_WAIT
|
#ifdef CONFIG_SPL_MXS_PSWITCH_WAIT
|
||||||
void mxs_power_wait_pswitch(void);
|
void mxs_power_wait_pswitch(void);
|
||||||
#else
|
#else
|
||||||
static inline void mxs_power_wait_pswitch(void) { }
|
static inline void mxs_power_wait_pswitch(void) { }
|
||||||
|
@ -921,7 +921,7 @@ void mxs_power_init(void)
|
|||||||
early_delay(1000);
|
early_delay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_MX28_PSWITCH_WAIT
|
#ifdef CONFIG_SPL_MXS_PSWITCH_WAIT
|
||||||
void mxs_power_wait_pswitch(void)
|
void mxs_power_wait_pswitch(void)
|
||||||
{
|
{
|
||||||
struct mxs_power_regs *power_regs =
|
struct mxs_power_regs *power_regs =
|
||||||
|
Loading…
Reference in New Issue
Block a user