arm-trusted-firmware/include
Juan Castillo 80bb6afd23 Fix build error with optimizations disabled (-O0)
If Trusted Firmware is built with optimizations disabled (-O0), the
linker throws the following error:

    undefined reference to 'xxx'

Where 'xxx' is a raw inline function defined in a header file. The
reason is that, with optimizations disabled, GCC may decide to skip
the inlining. If that is the case, an external definition to the
compilation unit must be provided. Because no external definition
is present, the linker throws the error.

This patch fixes the problem by declaring the following inline
functions static, so the internal definition is used:

    inline void soc_css_security_setup(void)
    inline const arm_config_t *get_arm_config(void)

Change-Id: Id650d6be1b1396bdb48af1ac8a4c7900d212e95f
2015-08-05 09:34:48 +01:00
..
bl31 PSCI: Add SYSTEM_SUSPEND API support 2015-06-22 18:11:54 +01:00
bl32 Pass arguments/results between EL3/S-EL1 via CPU registers (x0-x7) 2015-04-13 17:17:56 +01:00
common TBB: switch to the new authentication framework 2015-06-25 08:53:27 +01:00
drivers Use uintptr_t as base address type in ARM driver APIs 2015-07-09 11:53:32 +01:00
lib Add header guards to asm macro files 2015-04-27 18:06:24 +01:00
plat Fix build error with optimizations disabled (-O0) 2015-08-05 09:34:48 +01:00
stdlib Enable type-checking of arguments passed to printf() et al. 2015-03-06 13:07:43 +00:00