arm-trusted-firmware/bl31
Dan Handley 625de1d4f0 Remove variables from .data section
Update code base to remove variables from the .data section,
mainly by using const static data where possible and adding
the const specifier as required. Most changes are to the IO
subsystem, including the framework APIs. The FVP power
management code is also affected.

Delay initialization of the global static variable,
next_image_type in bl31_main.c, until it is realy needed.
Doing this moves the variable from the .data to the .bss
section.

Also review the IO interface for inconsistencies, using
uintptr_t where possible instead of void *. Remove the
io_handle and io_dev_handle typedefs, which were
unnecessary, replacing instances with uintptr_t.

Fixes ARM-software/tf-issues#107.

Change-Id: I085a62197c82410b566e4698e5590063563ed304
2014-05-06 17:55:38 +01:00
..
aarch64 Reduce deep nesting of header files 2014-05-06 13:57:48 +01:00
bl31.ld.S Use --gc-sections during link 2014-03-26 21:54:37 +00:00
bl31.mk Remove vpath usage in makefiles 2014-05-06 12:35:02 +01:00
bl31_main.c Remove variables from .data section 2014-05-06 17:55:38 +01:00
context_mgmt.c Reduce deep nesting of header files 2014-05-06 13:57:48 +01:00
runtime_svc.c Reduce deep nesting of header files 2014-05-06 13:57:48 +01:00