summaryrefslogtreecommitdiffstats
path: root/src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-03-28 14:48:13 -0500
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-04-03 20:19:22 +0200
commit1d87dac4e478608a2605b3e983128d32df8526f3 (patch)
tree4bc30a5269bdf0fbf93b214aef402d08171098e4 /src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c
parentcb3ba5fdbc5cc9bd02b4aacf569cb455c34b81bc (diff)
downloadcoreboot-staging-1d87dac4e478608a2605b3e983128d32df8526f3.zip
coreboot-staging-1d87dac4e478608a2605b3e983128d32df8526f3.tar.gz
hp/pavilion_m6_1035dx: Sanitize #includes
There were a number of things wrong with the includes. First, The includes did not use paths to AGESA files, thus relying on the compiler include paths to find the correct file. This made it unclear where the file included was located, and whether it was local, under vendorcode, or under a different directory. Instead, use full paths for each non-local include. Second, the local includes were mixed with the rest, making it unclear which file is local and which one is not. Keep the local includes at the top. This also prevents us from polluting the namespace of local headers, with library definitions, and allows us to catch if we missed an otherwise needed external header. Thirdly, alphabetize the order of includes where possible. Change-Id: I22c543291beabb83c16d912ea0a490be6ca4e03c Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5412 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c')
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c b/src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c
index 784f6d9..de046ac 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/PlatformGnbPcie.c
@@ -17,12 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "AGESA.h"
-#include "amdlib.h"
-#include "Ids.h"
-#include "heapManager.h"
#include "PlatformGnbPcieComplex.h"
-#include "Filecode.h"
+
+#include <vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.h>
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE
OpenPOWER on IntegriCloud