Files
u-boot/arch/arm/include/asm
Mathew McBride d360217d4a arm: gpio: include integer type definitions for gpio.h
Both consumers and sub-arch specific versions of gpio.h
may reference stdint or other non-C90 type definitions.

Ensure the common ones are available by including linux/types.h
before any other headers.

This issue came to light when the usb onboard hub driver
was enabled for ten64_tfa_defconfig:

In file included from ./arch/arm/include/asm/gpio.h:2,
		 from common/usb_onboard_hub.c:10:
./arch/arm/include/asm/arch/gpio.h:17:9: error: unknown type name 'ulong'
   17 |         ulong addr;
./arch/arm/include/asm/arch/gpio.h:18:9: error: unknown type name 'ulong'
   18 |         ulong size;
./arch/arm/include/asm/arch/gpio.h:19:9: error: unknown type name 'uint'
   19 |         uint ngpios;

(In this instance, the cited errors actually originate from
arch/arm/include/asm/arch-fsl-layerscape/gpio.h, which is included
by the arm top level asm/gpio.h)

Implemented as per suggestion from Quentin Schulz in Link:

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Link: https://lore.kernel.org/u-boot/35038a9a-fa5a-4f9f-b34e-17cc80a7824c@cherry.de/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2026-05-06 16:04:48 +08:00
..
2022-07-08 17:57:33 -04:00
2026-04-13 17:34:02 -06:00
2018-09-25 21:49:18 -04:00
2023-08-17 16:39:20 -04:00
2024-07-15 12:12:16 -06:00
2020-01-24 11:19:52 -05:00
2022-01-19 18:11:34 +01:00
2023-01-31 15:46:39 +01:00
2025-03-10 07:41:16 +01:00
2026-03-12 09:30:44 +01:00
2022-04-01 16:56:53 -04:00
2023-05-31 14:05:34 -04:00
2026-04-13 17:34:02 -06:00
2021-09-30 08:08:56 -04:00