提交 08333fa5 编写于 作者: H hui.song 提交者: Priyanka Jain

armv8: gpio: add gpio feature

add one struct mpc8xxx_gpio_plat to enable gpio feature.
Signed-off-by: Nhui.song <hui.song_1@nxp.com>
Reviewed-by: NPriyanka Jain <priyanka.jain@nxp.com>
上级 e08bcc0e
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2020 NXP
*/
/*
* Dummy header file to enable CONFIG_OF_CONTROL.
* If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
* It includes <asm/arch/gpio.h> via <asm/gpio.h>, so those SoCs that enable
* OF_CONTROL must have arch/gpio.h.
*/
#ifndef __ASM_ARCH_MX85XX_GPIO_H
#define __ASM_ARCH_MX85XX_GPIO_H
struct mpc8xxx_gpio_plat {
ulong addr;
ulong size;
uint ngpios;
};
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册