blob: 1d7963d6ddb7e114a88240351008ebbc897ced77 [file] [log] [blame]
/*
* Copyright 2020, 2023 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*${header:start}*/
#include "board.h"
#include "clock_config.h"
#include "fsl_device_registers.h"
#include "pin_mux.h"
/*${header:end}*/
static gpio_pin_config_t pinConfig = {
kGPIO_DigitalOutput,
0,
};
/*${function:start}*/
void BOARD_InitHardware(void)
{
BOARD_InitBootPins();
BOARD_InitBootClocks();
BOARD_InitDebugConsole();
CLOCK_EnableClock(kCLOCK_Flexspi);
RESET_ClearPeripheralReset(kFLEXSPI_RST_SHIFT_RSTn);
/* Use aux0_pll_clk / 2 */
BOARD_SetFlexspiClock(FLEXSPI, 2U, 2U);
}
/*${function:end}*/