Refactor fvp_config into common platform header
authorDan Handley <dan.handley@arm.com>
Fri, 20 Jun 2014 11:02:01 +0000 (12:02 +0100)
committerDan Handley <dan.handley@arm.com>
Wed, 9 Jul 2014 15:28:07 +0000 (16:28 +0100)
commit6f3b195a18a151c08a4812497aaf4cee700d8b1b
tree90c79123a1f8a6988f3187900c699ecf8c151fc5
parentdac1235a94f4633b838598fb40e03e350e89f089
Refactor fvp_config into common platform header

Changed the fvp_config array in fvp_common.c into a struct and
moved into a new optional common platform header,
include/plat/common/plat_config.h. Removed the config definitions
in fvp_def.h and updated all references to the platform config.

This makes the interface to the platform config cleaner and uses
a little less RAM.

Fixes ARM-software/tf-issues#180

Change-Id: I58dd7b3c150f24f7ee230a26fd57c827853ba803
include/plat/common/plat_config.h [new file with mode: 0644]
plat/fvp/aarch64/fvp_common.c
plat/fvp/fvp_def.h
plat/fvp/fvp_gic.c
plat/fvp/fvp_pm.c
plat/fvp/fvp_private.h
plat/fvp/fvp_security.c
plat/fvp/include/plat_macros.S