28 lines
465 B
C
28 lines
465 B
C
|
/*
|
||
|
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2021-10-12 Steven Liu first implementation
|
||
|
*/
|
||
|
|
||
|
#include "rtdef.h"
|
||
|
#include "iomux.h"
|
||
|
#include "hal_base.h"
|
||
|
|
||
|
/**
|
||
|
* @brief Config iomux for RK3568
|
||
|
*/
|
||
|
void rt_hw_iomux_config(void)
|
||
|
{
|
||
|
uart2_iomux_config();
|
||
|
|
||
|
#ifdef M4_JTAG_ENABLE
|
||
|
m4_jtag_iomux_config();
|
||
|
#else
|
||
|
uart0_iomux_config();
|
||
|
#endif
|
||
|
}
|