src/include: Add space around operators
Change-Id: I0ee4c443b6861018f05cfc32135d632fd4996029 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16614 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
committed by
Patrick Georgi
parent
c92abedd3a
commit
a0fed37044
@ -73,7 +73,7 @@ static inline int is_e0_later_in_bsp(int nodeid)
|
||||
if (IS_ENABLED(CONFIG_K8_REV_F_SUPPORT))
|
||||
return 1;
|
||||
|
||||
if (nodeid==0) { // we don't need to do that for node 0 in core0/node0
|
||||
if (nodeid == 0) { // we don't need to do that for node 0 in core0/node0
|
||||
return !is_cpu_pre_e0();
|
||||
}
|
||||
// d0 will be treated as e0 with this methods, but the d0 nb_cfg_54 always 0
|
||||
|
@ -114,8 +114,8 @@ struct mp_ops {
|
||||
* 3. get_smm_info()
|
||||
* 4. get_microcode_info()
|
||||
* 5. adjust_cpu_apic_entry() for each number of get_cpu_count()
|
||||
* 6. adjust_smm_params(is_perm=0)
|
||||
* 7. adjust_smm_params(is_perm=1)
|
||||
* 6. adjust_smm_params(is_perm = 0)
|
||||
* 7. adjust_smm_params(is_perm = 1)
|
||||
* 8. pre_mp_smm_init()
|
||||
* 9. per_cpu_smm_trigger() in parallel for all cpus which calls
|
||||
* relocation_handler() in SMM.
|
||||
|
@ -40,7 +40,7 @@
|
||||
/* 2 values for divider stage reset, others for "testing purposes only" */
|
||||
# define RTC_DIV_RESET1 0x60
|
||||
# define RTC_DIV_RESET2 0x70
|
||||
/* Periodic intr. / Square wave rate select. 0=none, 1=32.8kHz,... 15=2Hz */
|
||||
/* Periodic intr. / Square wave rate select. 0 = none, 1 = 32.8kHz,... 15 = 2Hz */
|
||||
# define RTC_RATE_SELECT 0x0F
|
||||
# define RTC_RATE_NONE 0x00
|
||||
# define RTC_RATE_32786HZ 0x01
|
||||
|
@ -197,21 +197,21 @@ typedef enum {
|
||||
|
||||
#define SMBIOS_STATE_SAFE 3
|
||||
typedef enum {
|
||||
SMBIOS_BIOS_INFORMATION=0,
|
||||
SMBIOS_SYSTEM_INFORMATION=1,
|
||||
SMBIOS_BOARD_INFORMATION=2,
|
||||
SMBIOS_SYSTEM_ENCLOSURE=3,
|
||||
SMBIOS_PROCESSOR_INFORMATION=4,
|
||||
SMBIOS_CACHE_INFORMATION=7,
|
||||
SMBIOS_SYSTEM_SLOTS=9,
|
||||
SMBIOS_OEM_STRINGS=11,
|
||||
SMBIOS_EVENT_LOG=15,
|
||||
SMBIOS_PHYS_MEMORY_ARRAY=16,
|
||||
SMBIOS_MEMORY_DEVICE=17,
|
||||
SMBIOS_MEMORY_ARRAY_MAPPED_ADDRESS=19,
|
||||
SMBIOS_SYSTEM_BOOT_INFORMATION=32,
|
||||
SMBIOS_ONBOARD_DEVICES_EXTENDED_INFORMATION=41,
|
||||
SMBIOS_END_OF_TABLE=127,
|
||||
SMBIOS_BIOS_INFORMATION = 0,
|
||||
SMBIOS_SYSTEM_INFORMATION = 1,
|
||||
SMBIOS_BOARD_INFORMATION = 2,
|
||||
SMBIOS_SYSTEM_ENCLOSURE = 3,
|
||||
SMBIOS_PROCESSOR_INFORMATION = 4,
|
||||
SMBIOS_CACHE_INFORMATION = 7,
|
||||
SMBIOS_SYSTEM_SLOTS = 9,
|
||||
SMBIOS_OEM_STRINGS = 11,
|
||||
SMBIOS_EVENT_LOG = 15,
|
||||
SMBIOS_PHYS_MEMORY_ARRAY = 16,
|
||||
SMBIOS_MEMORY_DEVICE = 17,
|
||||
SMBIOS_MEMORY_ARRAY_MAPPED_ADDRESS = 19,
|
||||
SMBIOS_SYSTEM_BOOT_INFORMATION = 32,
|
||||
SMBIOS_ONBOARD_DEVICES_EXTENDED_INFORMATION = 41,
|
||||
SMBIOS_END_OF_TABLE = 127,
|
||||
} smbios_struct_type_t;
|
||||
|
||||
struct smbios_entry {
|
||||
|
@ -54,7 +54,7 @@
|
||||
SDRAM device, it could be 0x4, 0x8, so address
|
||||
lines for that would be 2, and 3 */
|
||||
|
||||
/* Number of Ranks bit [2:0], Package (bit4, 1=stack, 0=planr), Height bit[7:5] */
|
||||
/* Number of Ranks bit [2:0], Package (bit4, 1 = stack, 0 = planr), Height bit[7:5] */
|
||||
#define SPD_MOD_ATTRIB_RANK 5
|
||||
#define SPD_MOD_ATTRIB_RANK_NUM_SHIFT 0
|
||||
#define SPD_MOD_ATTRIB_RANK_NUM_MASK 0x07
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <boot/coreboot_tables.h>
|
||||
// these structs are for input from and output to OF
|
||||
typedef struct {
|
||||
u8 display_type; // 0=NONE, 1= analog, 2=digital
|
||||
u8 display_type; // 0 = NONE, 1 = analog, 2 = digital
|
||||
u16 screen_width;
|
||||
u16 screen_height;
|
||||
u16 screen_linebytes; // bytes per line in framebuffer, may be more than screen_width
|
||||
|
Reference in New Issue
Block a user