mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
imx6: Add include guards for include/asm/arch-mx6/sys_proto.h file
Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
a3eec24ad3
commit
90d0e38c1e
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __SYS_PROTO_IMX6_
|
||||||
|
#define __SYS_PROTO_IMX6_
|
||||||
|
|
||||||
#include <asm/mach-imx/sys_proto.h>
|
#include <asm/mach-imx/sys_proto.h>
|
||||||
#include <asm/arch/iomux.h>
|
#include <asm/arch/iomux.h>
|
||||||
|
|
||||||
|
@ -27,3 +30,5 @@ static inline void iomuxc_set_rgmii_io_voltage(int io_vol)
|
||||||
{
|
{
|
||||||
__raw_writel(io_vol, IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE_RGMII);
|
__raw_writel(io_vol, IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE_RGMII);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* __SYS_PROTO_IMX6_ */
|
||||||
|
|
Loading…
Add table
Reference in a new issue