[coreboot-gerrit] Patch set updated for coreboot: northbridge/amd/agesa/family15rl: Sanitize #includes

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Apr 13 21:40:07 CEST 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/7640

-gerrit

commit f9534da4aaa3e8ad1be7adeb32898687b409bec0
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Thu Dec 4 23:23:11 2014 +1100

    northbridge/amd/agesa/family15rl: Sanitize #includes
    
    Change-Id: I7cf2b33fed428d843b946b175288403aad7ce33c
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/northbridge/amd/agesa/family15rl/chip.h        |  4 +++-
 src/northbridge/amd/agesa/family15rl/northbridge.c | 28 ++++++++++------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/northbridge/amd/agesa/family15rl/chip.h b/src/northbridge/amd/agesa/family15rl/chip.h
index 06f4410..3a59e86 100644
--- a/src/northbridge/amd/agesa/family15rl/chip.h
+++ b/src/northbridge/amd/agesa/family15rl/chip.h
@@ -16,9 +16,11 @@
 #ifndef _NB_AGESA_CHIP_H_
 #define _NB_AGESA_CHIP_H_
 
+#include <stdint.h>
+
 struct northbridge_amd_agesa_family15rl_config
 {
 	u8 spdAddrLookup[2][2][4];
 };
 
-#endif
+#endif /* _NB_AGESA_CHIP_H_ */
diff --git a/src/northbridge/amd/agesa/family15rl/northbridge.c b/src/northbridge/amd/agesa/family15rl/northbridge.c
index 37bca38..7bd20b6 100644
--- a/src/northbridge/amd/agesa/family15rl/northbridge.c
+++ b/src/northbridge/amd/agesa/family15rl/northbridge.c
@@ -14,31 +14,29 @@
  * GNU General Public License for more details.
  */
 
-#include <console/console.h>
 #include <arch/io.h>
 #include <arch/acpi.h>
 #include <arch/acpigen.h>
-#include <stdint.h>
+#include <console/console.h>
+#include <cbmem.h>
+#include <cpu/amd/amdfam15.h>
+#include <cpu/cpu.h>
+#include <cpu/x86/lapic.h>
+#include <cpu/amd/mtrr.h>
 #include <device/device.h>
+#include <device/hypertransport.h>
 #include <device/pci.h>
 #include <device/pci_ids.h>
-#include <device/hypertransport.h>
+#include <lib.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
-#include <lib.h>
-#include <cpu/cpu.h>
-#include <cbmem.h>
-#include <AGESA.h>
 
-#include <cpu/x86/lapic.h>
-#include <cpu/amd/mtrr.h>
-
-#include <Porting.h>
-#include <Options.h>
-#include <Topology.h>
-#include <cpu/amd/amdfam15.h>
-#include <cpuRegisters.h>
 #include <northbridge/amd/agesa/agesawrapper.h>
+#include <vendorcode/amd/agesa/f15tn/AGESA.h>
+#include <vendorcode/amd/agesa/f15tn/Include/Options.h>
+#include <vendorcode/amd/agesa/f15tn/Include/Topology.h>
+#include <vendorcode/amd/agesa/f15tn/Proc/CPU/cpuRegisters.h>
 
 #define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
 



More information about the coreboot-gerrit mailing list