summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/pnor')
-rw-r--r--src/usr/pnor/pnor_utils.C3
-rw-r--r--src/usr/pnor/pnor_utils.H26
2 files changed, 0 insertions, 29 deletions
diff --git a/src/usr/pnor/pnor_utils.C b/src/usr/pnor/pnor_utils.C
index fc68fef6f..5a8d39065 100644
--- a/src/usr/pnor/pnor_utils.C
+++ b/src/usr/pnor/pnor_utils.C
@@ -54,10 +54,7 @@ extern trace_desc_t* g_trac_pnor;
#include <config.h>
#include <securerom/ROM.H>
-#ifndef BOOTLOADER
-// Includes needed when hostboot uses this file
#include <pnor/pnorif.H>
-#endif
/**
* @brief calculates the checksum on data(ffs header/entry) and will return
diff --git a/src/usr/pnor/pnor_utils.H b/src/usr/pnor/pnor_utils.H
index fad0dee38..6007b3492 100644
--- a/src/usr/pnor/pnor_utils.H
+++ b/src/usr/pnor/pnor_utils.H
@@ -227,32 +227,6 @@ parseEntries (ffs_hdr* i_ffs_hdr,
bool isEnforcedSecureSection(const uint32_t i_section);
/**
- * @brief Returns string representation of a PNOR SectionId.
- * If id requested is out of range of known string array
- * - Hostboot asserts
- * - Bootloader terminates
- *
- * @param[in] i_secIdIndex PNOR section id which also represents the index
- * into the string array.
- *
- * @return const char* - String associated with Section ID
- *
-*/
-const char * SectionIdToString( uint32_t i_secIdIndex );
-
-/**
- * @brief Memcmp a vaddr to the known secureboot magic number
- *
- * @param[in] i_vaddr: vaddr of secureboot header to check for magic number
- * Note: must point to a buffer of size >= 4 bytes
- * Nullptr asserts or terminates bootloader
- *
- * @return bool - True if the magic number and starting bytes of the vaddr
- * match. False otherwise.
- */
-bool cmpSecurebootMagicNumber(const uint8_t* i_vaddr);
-
-/**
* @brief Determines if a section has a Header and that it is not a Secure Header
*
* @param[out] i_secInfo PNOR information of section
OpenPOWER on IntegriCloud