nb/intel/gm45/gm45.h: Clean up cosmetics
Align groups of definitions, reflow long lines and adjust whitespace. Tested with BUILD_TIMELESS=1, Roda RK9 remains identical. Change-Id: I2969274c6b50f56994e45ada5d016504addfc13e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45434 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
This commit is contained in:
parent
9c2d15ff7f
commit
ac4e4b423f
@ -132,6 +132,7 @@ typedef struct {
|
||||
int gs45_low_power_mode; /* low power mode of GMCH_GS45 */
|
||||
int sff; /* small form factor option (soldered down DIMM) */
|
||||
} sysinfo_t;
|
||||
|
||||
#define TOTAL_CHANNELS 2
|
||||
#define CHANNEL_IS_POPULATED(dimms, idx) (dimms[idx].card_type != 0)
|
||||
#define CHANNEL_IS_CARDF(dimms, idx) (dimms[idx].card_type == 0xf)
|
||||
@ -167,8 +168,7 @@ enum {
|
||||
/* Offsets of read/write training results in CMOS.
|
||||
They will be restored upon S3 resumes. */
|
||||
#define CMOS_READ_TRAINING 0x80 /* 16 bytes */
|
||||
#define CMOS_WRITE_TRAINING 0x90 /* 16 bytes
|
||||
(could be reduced to 10 bytes) */
|
||||
#define CMOS_WRITE_TRAINING 0x90 /* 16 bytes (could be reduced to 10 bytes) */
|
||||
|
||||
#define DEFAULT_MCHBAR 0xfed14000
|
||||
#define DEFAULT_DMIBAR 0xfed18000
|
||||
@ -382,6 +382,7 @@ enum {
|
||||
#define EPLE2D 0x60
|
||||
|
||||
#ifndef __ACPI__
|
||||
|
||||
void gm45_early_init(void);
|
||||
void gm45_early_reset(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user