From 741584525213e4d53353540ae01e858f7d9bfa32 Mon Sep 17 00:00:00 2001 From: Martin Peschke Date: Wed, 30 Mar 2016 18:21:24 +0200 Subject: 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 Reviewed-by: Martin Peschke Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22674 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/import/chips/p9/xip/p9_xip_image.h | 66 +--------------------------------- 1 file changed, 1 insertion(+), 65 deletions(-) (limited to 'src/import/chips/p9/xip') 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 . $" -> "." -/// \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 . $" -> "." -/// \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: -- cgit v1.2.1