From 6b72787d270077969869e9b17b88a63539f172b4 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 3 Sep 2016 08:28:48 +0200 Subject: src/arch: Improve code formatting Change-Id: Ic1ca6c2e1cd06800d7eb2d00ac0b328987d022ef Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16434 Tested-by: build bot (Jenkins) Reviewed-by: Omar Pakker --- src/arch/riscv/include/arch/cpu.h | 6 +++--- src/arch/riscv/include/arch/hlt.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/arch/riscv') diff --git a/src/arch/riscv/include/arch/cpu.h b/src/arch/riscv/include/arch/cpu.h index 7e8ec63bae..bc7b1962a3 100644 --- a/src/arch/riscv/include/arch/cpu.h +++ b/src/arch/riscv/include/arch/cpu.h @@ -37,9 +37,9 @@ struct cpu_info { }; struct cpuinfo_riscv { - uint8_t riscv; /* CPU family */ - uint8_t riscv_vendor; /* CPU vendor */ - uint8_t riscv_model; + uint8_t riscv; /* CPU family */ + uint8_t riscv_vendor; /* CPU vendor */ + uint8_t riscv_model; }; #endif diff --git a/src/arch/riscv/include/arch/hlt.h b/src/arch/riscv/include/arch/hlt.h index de2f25c5af..da0277821b 100644 --- a/src/arch/riscv/include/arch/hlt.h +++ b/src/arch/riscv/include/arch/hlt.h @@ -13,5 +13,5 @@ static inline __attribute__((always_inline)) void hlt(void) { - while(1); + while (1); } -- cgit v1.2.3