summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@de.ibm.com>2016-03-30 18:21:24 +0200
committerStephen Cprek <smcprek@us.ibm.com>2016-04-21 13:51:18 -0500
commit741584525213e4d53353540ae01e858f7d9bfa32 (patch)
tree6f23ce5e443d5682bfd5ce02b001c7555a1e7027 /src/import/chips/p9/xip
parentb1c8de698598ddb6baa3becdb81bbb7eadc46b03 (diff)
downloadtalos-hostboot-741584525213e4d53353540ae01e858f7d9bfa32.tar.gz
talos-hostboot-741584525213e4d53353540ae01e858f7d9bfa32.zip
P9-XIP: remove dead macro .xip_cvs_revision
That macro was unused and didn't make any sense in a git world. Change-Id: Ide7856d953820f20c6a581563c1cde28ccfde93e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22671 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22674 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip')
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.h66
1 files changed, 1 insertions, 65 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index 9131820ab..cc06ffd05 100644
--- a/src/import/chips/p9/xip/p9_xip_image.h
+++ b/src/import/chips/p9/xip/p9_xip_image.h
@@ -1477,8 +1477,7 @@ xipRevLe64(const uint64_t i_x);
/// The \c .xip_toc macro creates a XIP Table of Contents (TOC) structure in
/// the \c .toc section, as specified by the parameters. This macro is
/// typically not used directly in assembly code. Instead programmers should
-/// use .xip_quad, .xip_quada, .xip_quadia, .xip_address, .xip_string or
-/// .xip_cvs_revision.
+/// use .xip_quad, .xip_quada, .xip_quadia, .xip_address or .xip_string
.macro .xip_toc, index:req, type:req, address:req, elements=1
@@ -1658,32 +1657,6 @@ xipRevLe64(const uint64_t i_x);
.endm
-/// Allocate and initialize a CVS Revison string in .strings
-///
-/// \param[in] index The string will be stored in the TOC using this index
-/// symbol.
-///
-/// \param[in] string A CVS revision string to be allocated in .strings. CVS
-/// revision strings are formatted by stripping out and only storing the
-/// actual revision number :
-///
-/// \code
-/// "$Revision <n>.<m> $" -> "<n>.<m>"
-/// \endcode
-
-
- .macro .xip_cvs_revision, index:req, string:req
-
- .pushsection .strings
-7874647:
- ..cvs_revision_string "\string"
- .popsection
-
- .xip_toc \index, P9_XIP_STRING, 7874647b
-
- .endm
-
-
/// Shorthand to create a TOC entry for an address
///
/// \param[in] index The symbol will be indexed as this name
@@ -1702,43 +1675,6 @@ xipRevLe64(const uint64_t i_x);
.endm
-/// Edit and allocate a CVS revision string
-///
-/// CVS revision strings are formatted by stripping out and only storing the
-/// actual revision number :
-/// \code
-/// "$Revision <n>.<m> $" -> "<n>.<m>"
-/// \endcode
-
- .macro ..cvs_revision_string, rev:req
- .irpc c, \rev
- .ifnc "\c", "$"
- .ifnc "\c", "R"
- .ifnc "\c", "e"
- .ifnc "\c", "v"
- .ifnc "\c", "i"
- .ifnc "\c", "s"
- .ifnc "\c", "i"
- .ifnc "\c", "o"
- .ifnc "\c", "n"
- .ifnc "\c", ":"
- .ifnc "\c", " "
- .ascii "\c"
- .endif
- .endif
- .endif
- .endif
- .endif
- .endif
- .endif
- .endif
- .endif
- .endif
- .endif
- .endr
- .byte 0
- .endm
-
.macro .xip_section, s, alignment=1, empty=0
.ifnb \s
_\s\()_section:
OpenPOWER on IntegriCloud