Skip to content

Commit

Permalink
Update setup_fw_boot_config() to read out actual values from attributes
Browse files Browse the repository at this point in the history
Change-Id: I2574f01fceb79fb0d3234010581aab92d48ce409
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68248
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: JEREMY R. NEATON <jrneaton@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69961
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
alvintpwang authored and sgupta2m committed Jan 16, 2019
1 parent 37a2ec2 commit dbdcd7a
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,20 @@ fapi_try_exit:
inline void boot_config_setup(std::vector<uint8_t>& io_data)

{

// Need data length as well - boot config can only ever be written
io_data.push_back(FW_BOOT_CONFIG_BYTE_LEN);
io_data.insert(io_data.begin(), FW_BOOT_CONFIG_BYTE_LEN);

// Then add the command
io_data.push_back(FW_BOOT_CONFIG);
io_data.insert(io_data.begin(), FW_BOOT_CONFIG);

// Written commands need to be in the form of (MSB first)
// Written commands need to be in the form of (MSB first). Confirmed by hardware characterization team.
// CMD
// DATA LEN
// DATA
// DATA3
// DATA2
// DATA1
// DATA0
}

///
Expand Down

0 comments on commit dbdcd7a

Please sign in to comment.