Replace GPIO control of 1V8 supply with official function enable_1v8_power().
This commit is contained in:
@ -33,7 +33,7 @@ int main(void)
|
|||||||
const uint32_t freq = 2441000000U;
|
const uint32_t freq = 2441000000U;
|
||||||
|
|
||||||
pin_setup();
|
pin_setup();
|
||||||
gpio_set(PORT_EN1V8, PIN_EN1V8); /* 1V8 on */
|
enable_1v8_power();
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
ssp1_init();
|
ssp1_init();
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ int main(void)
|
|||||||
const uint32_t freq = 2441000000U;
|
const uint32_t freq = 2441000000U;
|
||||||
|
|
||||||
pin_setup();
|
pin_setup();
|
||||||
gpio_set(PORT_EN1V8, PIN_EN1V8); /* 1V8 on */
|
enable_1v8_power();
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
ssp1_init();
|
ssp1_init();
|
||||||
|
|
||||||
|
@ -32,8 +32,7 @@ int main(void)
|
|||||||
|
|
||||||
pin_setup();
|
pin_setup();
|
||||||
|
|
||||||
/* Set 1V8 */
|
enable_1v8_power();
|
||||||
gpio_set(PORT_EN1V8, PIN_EN1V8);
|
|
||||||
|
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ int main(void)
|
|||||||
|
|
||||||
pin_setup();
|
pin_setup();
|
||||||
|
|
||||||
gpio_set(PORT_EN1V8, PIN_EN1V8); /* 1V8 on */
|
enable_1v8_power();
|
||||||
|
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ int main(void)
|
|||||||
{
|
{
|
||||||
pin_setup();
|
pin_setup();
|
||||||
|
|
||||||
gpio_set(PORT_EN1V8, PIN_EN1V8); /* 1V8 on */
|
enable_1v8_power();
|
||||||
|
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ int main(void)
|
|||||||
{
|
{
|
||||||
pin_setup();
|
pin_setup();
|
||||||
|
|
||||||
gpio_set(PORT_EN1V8, PIN_EN1V8); /* 1V8 on */
|
enable_1v8_power();
|
||||||
|
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user