sb/intel/lynxpoint: Drop typedefs of enum type
There's no need to use typedefs for enum types. Get rid of it. Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 remains identical. Change-Id: I830d95018b33fe6ab7e2c37ebf15bb1df6ceec38 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59620 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -596,9 +596,9 @@ static int me_icc_set_clock_enables(u32 mask)
|
||||
}
|
||||
|
||||
/* Determine the path that we should take based on ME status */
|
||||
static me_bios_path intel_me_path(struct device *dev)
|
||||
static enum me_bios_path intel_me_path(struct device *dev)
|
||||
{
|
||||
me_bios_path path = ME_DISABLE_BIOS_PATH;
|
||||
enum me_bios_path path = ME_DISABLE_BIOS_PATH;
|
||||
struct me_hfs hfs;
|
||||
struct me_hfs2 hfs2;
|
||||
|
||||
@@ -879,7 +879,7 @@ mbp_failure:
|
||||
static void intel_me_init(struct device *dev)
|
||||
{
|
||||
struct southbridge_intel_lynxpoint_config *config = dev->chip_info;
|
||||
me_bios_path path = intel_me_path(dev);
|
||||
enum me_bios_path path = intel_me_path(dev);
|
||||
struct me_bios_payload mbp_data;
|
||||
|
||||
/* Do initial setup and determine the BIOS path */
|
||||
|
Reference in New Issue
Block a user