[flashrom] [PATCH 4/6] add pretty printing functions for SSFS+SSFC and the OPCODE struct and use them

Stefan Reinauer stefan.reinauer at coreboot.org
Tue Apr 5 23:45:11 CEST 2011


* Stefan Tauner <stefan.tauner at student.tuwien.ac.at> [110401 14:33]:
> 
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> ---
>  ichspi.c |   47 +++++++++++++++++++++++++++++++++++++++++------
>  1 files changed, 41 insertions(+), 6 deletions(-)
> 
> diff --git a/ichspi.c b/ichspi.c
> index 9491604..b24b6a0 100644
> --- a/ichspi.c
> +++ b/ichspi.c
> @@ -242,6 +242,41 @@ static OPCODE POSSIBLE_OPCODES[] = {
>  
>  static OPCODES O_EXISTING = {};
>  
> +/* pretty printing functions */
> +static void pretty_print_opcodes(OPCODES *ops){

curly brakes for functions should go on a new line.

Stefan




More information about the flashrom mailing list