u-boot-brain/arch/arm
Bryan O'Donoghue ffab61f4aa imx: hab: Fix usage of packed attribute
commit ed286bc80e ("imx: hab: Check if CSF is valid before authenticating
image") makes use of "__packed" as a prefix to the "struct hab_hdr"
declaration.

With my compiler "gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)" we
get:

./arch/arm/include/asm/mach-imx/hab.h:42:25: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘{’ token
 struct __packed hab_hdr {

Fix this problem by including <linux/compiler.h>

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Utkarsh Gupta <utkarsh.gupta@nxp.com>
Cc: Breno Lima <breno.lima@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
2018-03-11 15:59:51 +01:00
..
cpu libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
dts ARM: dts: imx6dl-icore-rqs: Fix to include correct dtsi 2018-03-11 15:59:43 +01:00
include imx: hab: Fix usage of packed attribute 2018-03-11 15:59:51 +01:00
lib libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
mach-at91 spl: eMMC/SD: Provide one __weak spl_boot_mode() function 2018-02-07 22:06:18 -05:00
mach-bcm283x bcm283x: Add pinctrl driver 2018-01-28 12:27:32 -05:00
mach-davinci spl: eMMC/SD: Provide one __weak spl_boot_mode() function 2018-02-07 22:06:18 -05:00
mach-exynos usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-imx imx: syscounter: make sure asm is volatile 2018-03-09 13:06:14 +01:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-keystone cmd: ti: Generalize cmd_ddr3 command 2018-01-19 15:49:26 -05:00
mach-kirkwood spi: Migrate CONFIG_KIRKWOOD_SPI to Kconfig 2018-02-13 23:01:44 -05:00
mach-meson libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-mvebu libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-omap2 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-orion5x spl: add hierarchical defaults for SPL_LDSCRIPT 2017-08-13 17:12:37 +02:00
mach-qemu ARM: qemu-arm: Add support for AArch64 2018-01-19 15:49:30 -05:00
mach-rmobile ARM: rmobile: Add R8A77965 M3N IDs 2018-03-05 10:59:37 +01:00
mach-rockchip rockchip: rk3288: Fix wrong TPL_TEXT_BASE 2018-02-24 18:47:23 +01:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon db820c: add qualcomm dragonboard 820C support 2018-01-15 16:29:02 -05:00
mach-socfpga libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 board: stm32: Fix stm32f746-disco boot 2018-01-29 12:48:30 -05:00
mach-sunxi spl: eMMC/SD: Provide one __weak spl_boot_mode() function 2018-02-07 22:06:18 -05:00
mach-tegra aes: Allow non-zero initialization vector 2018-01-29 12:50:13 -05:00
mach-uniphier libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ 2018-03-01 16:44:10 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk binman: arm: Include the binman symbol table 2017-12-12 19:53:45 -07:00
Kconfig ARM: Kconfig: Move TI_SECURE_DEVICE to a common area 2018-02-23 10:21:41 -05:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile imx: add i.MX8M into Kconfig 2018-02-04 12:00:58 +01:00