[PATCH] arch/arm/include/asm/arch-imxrt/gpio.h: imxrt gpio use commong gpio.h
Giulio Benetti
giulio.benetti at benettiengineering.com
Sat Jun 28 23:48:17 CEST 2025
s/commong/common
can please the committer fix the subject when/if applying?
Thanks in advance
Best regards
--
Giulio Benetti
CEO&CTO at Benetti Engineering sas
https://www.linkedin.com/company/benetti-engineering-sas/
https://www.linkedin.com/in/giulio-benetti-79975951/
On 6/28/25 23:46, Giulio Benetti wrote:
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> ---
> arch/arm/include/asm/arch-imxrt/gpio.h | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-imxrt/gpio.h b/arch/arm/include/asm/arch-imxrt/gpio.h
> index da31a7438aa..be130e00652 100644
> --- a/arch/arm/include/asm/arch-imxrt/gpio.h
> +++ b/arch/arm/include/asm/arch-imxrt/gpio.h
> @@ -7,13 +7,6 @@
> #ifndef __ASM_ARCH_GPIO_H__
> #define __ASM_ARCH_GPIO_H__
>
> -#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
> -/* GPIO registers */
> -struct gpio_regs {
> - u32 gpio_dr; /* data */
> - u32 gpio_dir; /* direction */
> - u32 gpio_psr; /* pad satus */
> -};
> -#endif
> +#include <asm/mach-imx/gpio.h>
>
> #endif /* __ASM_ARCH_GPIO_H__ */
More information about the U-Boot
mailing list