k64: Remove port clock enables from the soc init
The mcux pinmux driver enables the port clocks, so the soc init no longer needs to enable them. Also removes some soc defines that were used only by the legacy k64 pinmux driver. Change-Id: I63174bef4024b5a09a73f941cea0aec691c759d3 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
4973787c10
commit
eb0a2f8516
2 changed files with 0 additions and 20 deletions
|
@ -168,11 +168,6 @@ static int fsl_frdm_k64f_init(struct device *arg)
|
|||
/* disable interrupts */
|
||||
oldLevel = irq_lock();
|
||||
|
||||
/* enable the port clocks */
|
||||
SIM->SCGC5 |= (SIM_SCGC5_PORTA(1) | SIM_SCGC5_PORTB(1) |
|
||||
SIM_SCGC5_PORTC(1) | SIM_SCGC5_PORTD(1) |
|
||||
SIM_SCGC5_PORTE(1));
|
||||
|
||||
/* release I/O power hold to allow normal run state */
|
||||
PMC->REGSC |= PMC_REGSC_ACKISO_MASK;
|
||||
|
||||
|
|
|
@ -179,12 +179,6 @@ extern "C" {
|
|||
|
||||
#endif /* CONFIG_UART_K20 */
|
||||
|
||||
#define PORT_K64_A_BASE_ADDR 0x40049000
|
||||
#define PORT_K64_B_BASE_ADDR 0x4004A000
|
||||
#define PORT_K64_C_BASE_ADDR 0x4004B000
|
||||
#define PORT_K64_D_BASE_ADDR 0x4004C000
|
||||
#define PORT_K64_E_BASE_ADDR 0x4004D000
|
||||
|
||||
/*
|
||||
* PWM/FTM configuration settings
|
||||
*/
|
||||
|
@ -218,15 +212,6 @@ extern "C" {
|
|||
|
||||
#endif /* CONFIG_SPI_K64 */
|
||||
|
||||
/*
|
||||
* PINMUX configuration settings
|
||||
*/
|
||||
#if defined(CONFIG_PINMUX)
|
||||
|
||||
#define PINMUX_NUM_PINS 160
|
||||
|
||||
#endif /* CONFIG_PINMUX */
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue