Skip to content

Commit

Permalink
PM: Added support for multiple dd level executable in HW Image.
Browse files Browse the repository at this point in the history
    - Hcode queries HW Image and gets DD specific executable.
    - Appends separate magic words in HOMER header based on DD level.

Change-Id: I2878c7809d8eba69255c74baa68a5baebeb983df
RTC: 168880
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39871
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39872
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
premsjha authored and dcrowell77 committed Jun 7, 2017
1 parent 90fc4d2 commit 72e68bb
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 53 deletions.
7 changes: 7 additions & 0 deletions src/import/chips/p9/procedures/hwp/lib/p9_hcd_memmap_base.H
Expand Up @@ -59,6 +59,13 @@ HCD_CONST(CME_BUILD_VERSION, 0x001) // CME__1.0
HCD_CONST(SGPE_BUILD_VERSION, 0x001) // SGPE_1.0
HCD_CONST(PGPE_BUILD_VERSION, 0x001) // PGPE_1.0

HCD_CONST64(CPMR_MAGIC_NUMBER_BASE, ULL(0x43504d525f302e30)) // CPMR_0.0
HCD_CONST64(CME_MAGIC_NUMBER_BASE , ULL(0x434d455f5f302e30)) // CME__0.0
HCD_CONST64(QPMR_MAGIC_NUMBER_BASE, ULL(0x51504d525f302e30)) // QPMR_0.0
HCD_CONST64(SGPE_MAGIC_NUMBER_BASE, ULL(0x534750455f302e30)) // SGPE_0.0
HCD_CONST64(PPMR_MAGIC_NUMBER_BASE, ULL(0x50504d525f302e30)) // PPMR_0.0
HCD_CONST64(PGPE_MAGIC_NUMBER_BASE, ULL(0x504750455F302E30)) // PGPE_0.0

/// Size constants

HCD_CONST(HALF_KB, 512)
Expand Down

0 comments on commit 72e68bb

Please sign in to comment.