diff options
author | Martin Peschke <mpeschke@de.ibm.com> | 2016-05-22 08:01:16 +0200 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-06-01 14:41:19 -0400 |
commit | 9214a4ef7f0d918ff89bf7350561dc20dd184dfa (patch) | |
tree | 91ffb29b92faae738fcd390e3c73b2702738de02 /src/import/chips/p9/xip/p9_xip_image.h | |
parent | 76f3457a941f8be22c7113634a53f7de57734d74 (diff) | |
download | talos-hostboot-9214a4ef7f0d918ff89bf7350561dc20dd184dfa.tar.gz talos-hostboot-9214a4ef7f0d918ff89bf7350561dc20dd184dfa.zip |
P9-XIP: cleaning up endianess conversion
Use system header endian.h routines to do endianess conversion
instead of own routines.
Change-Id: I6dd657b77b61a9a56797a254af6464f8526cc60f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24893
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Tested-by: PPE CI
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24895
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip/p9_xip_image.h')
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index 37befecc9..979e58c7d 100644 --- a/src/import/chips/p9/xip/p9_xip_image.h +++ b/src/import/chips/p9/xip/p9_xip_image.h @@ -1302,23 +1302,6 @@ p9_xip_host2image(const void* i_image, #endif // PPC_HYP -// Note: For maximum flexibility we provide private versions of -// endian-conversion routines rather than counting on a system-specific header -// to provide these. - -/// Byte-reverse a 16-bit integer if on a little-endian machine -XIP_STATIC uint16_t -xipRevLe16(const uint16_t i_x); - -/// Byte-reverse a 32-bit integer if on a little-endian machine -XIP_STATIC uint32_t -xipRevLe32(const uint32_t i_x); - - -/// Byte-reverse a 64-bit integer if on a little-endian machine -XIP_STATIC uint64_t -xipRevLe64(const uint64_t i_x); - /// \defgroup p9_xip_image_errors Error codes from P9-XIP image APIs /// /// @{ |