summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-11-20 12:36:48 -0600
committerNicholas E Bofferding <bofferdn@us.ibm.com>2019-12-06 10:28:47 -0600
commitc46f1ee5b8b9f7ea7e398f373f990b6e3440a257 (patch)
tree7b897db6a651ba8a1c4e4e0567fd8305eb929760 /src/usr/pnor
parentb28407123f5e5e834d658f994432ea77f8ba01d9 (diff)
downloadtalos-hostboot-c46f1ee5b8b9f7ea7e398f373f990b6e3440a257.tar.gz
talos-hostboot-c46f1ee5b8b9f7ea7e398f373f990b6e3440a257.zip
Automatically include config.h
Rather than having to remember to include config.h anywhere we reference a CONFIG variable (and usually forgetting), this adds it to the default compiler flags so that it gets included in every source file we build. Change-Id: I53622ab4d46c55d942e98cae6ec03049fd5b3d08 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87475 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r--src/usr/pnor/ast_mboxdd.C3
-rw-r--r--src/usr/pnor/ast_mboxdd.H3
-rw-r--r--src/usr/pnor/norflash.H3
-rw-r--r--src/usr/pnor/pnor_common.C1
-rw-r--r--src/usr/pnor/pnor_ipmidd.C3
-rw-r--r--src/usr/pnor/pnor_ipmidd.H3
-rw-r--r--src/usr/pnor/pnor_mboxdd.C3
-rw-r--r--src/usr/pnor/pnor_mboxdd.H3
-rw-r--r--src/usr/pnor/pnor_sfcdd.C1
-rw-r--r--src/usr/pnor/pnor_sfcdd.H3
-rw-r--r--src/usr/pnor/pnor_utils.C1
-rw-r--r--src/usr/pnor/pnor_utils.H3
-rw-r--r--src/usr/pnor/pnorrp.C1
-rw-r--r--src/usr/pnor/pnorrp.H1
-rw-r--r--src/usr/pnor/runtime/rt_pnor.C3
-rw-r--r--src/usr/pnor/sfc_ast2400.H3
-rw-r--r--src/usr/pnor/sfc_ast2500.H3
-rw-r--r--src/usr/pnor/sfc_ast2X00.H3
-rw-r--r--src/usr/pnor/spnorrp.C1
-rw-r--r--src/usr/pnor/spnorrp.H1
-rw-r--r--src/usr/pnor/test/pnorrptest.H1
21 files changed, 13 insertions, 34 deletions
diff --git a/src/usr/pnor/ast_mboxdd.C b/src/usr/pnor/ast_mboxdd.C
index 5b6e58300..9a7c45e9b 100644
--- a/src/usr/pnor/ast_mboxdd.C
+++ b/src/usr/pnor/ast_mboxdd.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2018 */
+/* Contributors Listed Below - COPYRIGHT 2011,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -51,7 +51,6 @@
#include <initservice/initserviceif.H>
#include <util/align.H>
#include <lpc/lpcif.H>
-#include <config.h>
// Initialized in pnorrp.C
extern trace_desc_t* g_trac_pnor;
diff --git a/src/usr/pnor/ast_mboxdd.H b/src/usr/pnor/ast_mboxdd.H
index 2d1aa48ad..44c745cab 100644
--- a/src/usr/pnor/ast_mboxdd.H
+++ b/src/usr/pnor/ast_mboxdd.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2017 */
+/* Contributors Listed Below - COPYRIGHT 2011,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -26,7 +26,6 @@
#define __AST_MBOXDD_H
#include <limits.h>
-#include <config.h>
/** @file ast_mboxdd.H
* @brief Provides the interfaces Aspeed MBOX hardware
diff --git a/src/usr/pnor/norflash.H b/src/usr/pnor/norflash.H
index 29ac2f8f0..e7e61f389 100644
--- a/src/usr/pnor/norflash.H
+++ b/src/usr/pnor/norflash.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2016 */
+/* Contributors Listed Below - COPYRIGHT 2014,2019 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -25,7 +25,6 @@
/* IBM_PROLOG_END_TAG */
#ifndef __PNOR_NORFLASH_H
#define __PNOR_NORFLASH_H
-#include <config.h>
#include <errl/errlentry.H>
class SfcDD;
diff --git a/src/usr/pnor/pnor_common.C b/src/usr/pnor/pnor_common.C
index 2ea6f838f..41f17ff7e 100644
--- a/src/usr/pnor/pnor_common.C
+++ b/src/usr/pnor/pnor_common.C
@@ -34,7 +34,6 @@
#include <initservice/initserviceif.H>
#include <util/align.H>
#include <errl/errlmanager.H>
-#include <config.h> // @FIXME RTC 132398
#include <secureboot/trustedbootif.H>
#include <devicefw/driverif.H>
diff --git a/src/usr/pnor/pnor_ipmidd.C b/src/usr/pnor/pnor_ipmidd.C
index 078195dad..43df5adfe 100644
--- a/src/usr/pnor/pnor_ipmidd.C
+++ b/src/usr/pnor/pnor_ipmidd.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018 */
+/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -58,7 +58,6 @@
#include <initservice/initserviceif.H>
#include <util/align.H>
#include <lpc/lpcif.H>
-#include <config.h>
#include "sfcdd.H"
#include <ipmi/ipmiif.H>
diff --git a/src/usr/pnor/pnor_ipmidd.H b/src/usr/pnor/pnor_ipmidd.H
index fc843db6a..5c99607fe 100644
--- a/src/usr/pnor/pnor_ipmidd.H
+++ b/src/usr/pnor/pnor_ipmidd.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018 */
+/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -31,7 +31,6 @@
*/
#include <limits.h>
-#include <config.h>
#include "pnorif.H"
diff --git a/src/usr/pnor/pnor_mboxdd.C b/src/usr/pnor/pnor_mboxdd.C
index a156ffb8f..92819143d 100644
--- a/src/usr/pnor/pnor_mboxdd.C
+++ b/src/usr/pnor/pnor_mboxdd.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2018 */
+/* Contributors Listed Below - COPYRIGHT 2011,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -54,7 +54,6 @@
#include <initservice/initserviceif.H>
#include <util/align.H>
#include <lpc/lpcif.H>
-#include <config.h>
#include "sfcdd.H"
// Initialized in pnorrp.C
diff --git a/src/usr/pnor/pnor_mboxdd.H b/src/usr/pnor/pnor_mboxdd.H
index 16105efe2..6095dce35 100644
--- a/src/usr/pnor/pnor_mboxdd.H
+++ b/src/usr/pnor/pnor_mboxdd.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2018 */
+/* Contributors Listed Below - COPYRIGHT 2011,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -26,7 +26,6 @@
#define __PNOR_MBOXDD_H
#include <limits.h>
-#include <config.h>
#include "pnorif.H"
namespace PNOR
diff --git a/src/usr/pnor/pnor_sfcdd.C b/src/usr/pnor/pnor_sfcdd.C
index a3d40d9b8..9acea977b 100644
--- a/src/usr/pnor/pnor_sfcdd.C
+++ b/src/usr/pnor/pnor_sfcdd.C
@@ -53,7 +53,6 @@
#include <initservice/initserviceif.H>
#include <util/align.H>
#include <lpc/lpcif.H>
-#include <config.h>
#include "sfcdd.H"
/*****************************************************************************/
diff --git a/src/usr/pnor/pnor_sfcdd.H b/src/usr/pnor/pnor_sfcdd.H
index bfd3140a7..ba7f0aa0d 100644
--- a/src/usr/pnor/pnor_sfcdd.H
+++ b/src/usr/pnor/pnor_sfcdd.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2018 */
+/* Contributors Listed Below - COPYRIGHT 2011,2019 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -27,7 +27,6 @@
#define __PNOR_PNORDD_H
#include <limits.h>
-#include <config.h>
#include <pnor/pnor_const.H>
namespace PNOR { class UdPnorDDParms; }
diff --git a/src/usr/pnor/pnor_utils.C b/src/usr/pnor/pnor_utils.C
index 8adb715aa..e09b85e6c 100644
--- a/src/usr/pnor/pnor_utils.C
+++ b/src/usr/pnor/pnor_utils.C
@@ -53,7 +53,6 @@ extern trace_desc_t* g_trac_pnor;
#include "common/ffs_hb.H"
#include <util/align.H>
-#include <config.h>
#include <securerom/ROM.H>
#include <pnor/pnorif.H>
diff --git a/src/usr/pnor/pnor_utils.H b/src/usr/pnor/pnor_utils.H
index 53a402f97..d529c8c6c 100644
--- a/src/usr/pnor/pnor_utils.H
+++ b/src/usr/pnor/pnor_utils.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2018 */
+/* Contributors Listed Below - COPYRIGHT 2011,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -29,7 +29,6 @@
#include <pnor/pnor_const.H>
#include "limits.h"
#include "ffs.h"
-#include <config.h>
#ifndef BOOTLOADER
#include <errl/errlentry.H>
diff --git a/src/usr/pnor/pnorrp.C b/src/usr/pnor/pnorrp.C
index 2c531e63e..fa35be627 100644
--- a/src/usr/pnor/pnorrp.C
+++ b/src/usr/pnor/pnorrp.C
@@ -44,7 +44,6 @@
#include <kernel/console.H>
#include <endian.h>
#include <util/align.H>
-#include <config.h>
#include <pnor/pnorif.H>
#include "pnor_common.H"
#include <hwas/common/hwasCallout.H>
diff --git a/src/usr/pnor/pnorrp.H b/src/usr/pnor/pnorrp.H
index 1fe3c088c..650b62126 100644
--- a/src/usr/pnor/pnorrp.H
+++ b/src/usr/pnor/pnorrp.H
@@ -34,7 +34,6 @@
#include <map>
#include "pnor_common.H"
#include "ffs.h"
-#include <config.h>
#include "pnor_utils.H"
/**
diff --git a/src/usr/pnor/runtime/rt_pnor.C b/src/usr/pnor/runtime/rt_pnor.C
index f3e969f2e..c8fb34599 100644
--- a/src/usr/pnor/runtime/rt_pnor.C
+++ b/src/usr/pnor/runtime/rt_pnor.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2018 */
+/* Contributors Listed Below - COPYRIGHT 2014,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -42,7 +42,6 @@
#include <util/align.H>
#include <runtime/customize_attrs_for_payload.H>
#include <securerom/ROM.H>
-#include <config.h>
#include "../pnor_utils.H"
#include <runtime/common/runtime_utils.H>
diff --git a/src/usr/pnor/sfc_ast2400.H b/src/usr/pnor/sfc_ast2400.H
index c83db94c0..937435332 100644
--- a/src/usr/pnor/sfc_ast2400.H
+++ b/src/usr/pnor/sfc_ast2400.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2016 */
+/* Contributors Listed Below - COPYRIGHT 2014,2019 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -31,7 +31,6 @@
#include <errl/errlentry.H>
#include "sfcdd.H"
#include "sfc_ast2X00.H"
-#include <config.h>
/** @file sfc_ast2400.H
* @brief Provides the logic to access and configure the
diff --git a/src/usr/pnor/sfc_ast2500.H b/src/usr/pnor/sfc_ast2500.H
index 73f07c58a..83607a5b9 100644
--- a/src/usr/pnor/sfc_ast2500.H
+++ b/src/usr/pnor/sfc_ast2500.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -30,7 +30,6 @@
#include <errl/errlentry.H>
#include "sfcdd.H"
#include "sfc_ast2X00.H"
-#include <config.h>
/** @file sfc_ast2500.H
* @brief Provides the logic to access and configure the
diff --git a/src/usr/pnor/sfc_ast2X00.H b/src/usr/pnor/sfc_ast2X00.H
index 2847b75d3..aceed1c30 100644
--- a/src/usr/pnor/sfc_ast2X00.H
+++ b/src/usr/pnor/sfc_ast2X00.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -29,7 +29,6 @@
#include <targeting/common/targetservice.H>
#include <errl/errlentry.H>
#include "sfcdd.H"
-#include <config.h>
/** @file sfc_ast2X00.H
* @brief Provides the base logic to access and configure the
diff --git a/src/usr/pnor/spnorrp.C b/src/usr/pnor/spnorrp.C
index a58f1c566..fe2998756 100644
--- a/src/usr/pnor/spnorrp.C
+++ b/src/usr/pnor/spnorrp.C
@@ -33,7 +33,6 @@
#include <sys/mm.h>
#include <errno.h>
#include <util/align.H>
-#include <config.h>
#include "pnor_common.H"
#include <console/consoleif.H>
#include <secureboot/service.H>
diff --git a/src/usr/pnor/spnorrp.H b/src/usr/pnor/spnorrp.H
index 578858e5e..daaa3ffb7 100644
--- a/src/usr/pnor/spnorrp.H
+++ b/src/usr/pnor/spnorrp.H
@@ -33,7 +33,6 @@
#include <map>
#include "pnor_common.H"
#include "ffs.h"
-#include <config.h>
#include <securerom/ROM.H>
namespace SECUREBOOT
diff --git a/src/usr/pnor/test/pnorrptest.H b/src/usr/pnor/test/pnorrptest.H
index 1a5c40993..54ed5f1cc 100644
--- a/src/usr/pnor/test/pnorrptest.H
+++ b/src/usr/pnor/test/pnorrptest.H
@@ -42,7 +42,6 @@
#include <sys/task.h>
#include <targeting/common/targetservice.H>
#include <devicefw/userif.H>
-#include <config.h>
#include <pnor/ecc.H>
#include "../pnorrp.H"
#include "../pnor_common.H"
OpenPOWER on IntegriCloud