diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-04-29 15:07:19 -0700 |
---|---|---|
committer | Leroy P Leahy <leroy.p.leahy@intel.com> | 2016-05-04 19:21:40 +0200 |
commit | 564dc9c7c89a94ff1b7803ef9937ca4f0dd95809 (patch) | |
tree | 93b3d344c243d8a0c48bdd8f7b23d0e8a45cfdc5 /src/southbridge/ricoh/rl5c476/rl5c476.c | |
parent | d3fccfbc41988b110d6861f53ee3b8908e90e422 (diff) |
lib/reg_script: Add display support
Add the ability to enable the display of the script:
* Added REG_SCRIPT_COMMAND_DISPLAY to enable and disable display output
* Added context values to manage display support
* display_state - Updated by the command to enable or disable display
* display_features - May be updated by step routine to control what
the step displays for register and value
* display_prefix - Prefix to display before register data
* Added REG_SCRIPT_DISPLAY_ON and REG_SCRIPT_DISPLAY_OFF macros to
control the display from the register script
* Added REG_SCRIPT_DISPLAY_REGISTER and REG_SCRIPT_DISPLAY_VALUE as
two features of the common display. With these features enabled
the following is output:
* Write: <optional prefix> register <-- value
* Read: <optional prefix> register --> value
TEST=Build and run on Galileo Gen2
Change-Id: If0d4d61ed8ef48ec20082b327f358fd1987e3fb9
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/14553
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/southbridge/ricoh/rl5c476/rl5c476.c')
0 files changed, 0 insertions, 0 deletions