src/device: Drop unneeded empty lines
Change-Id: Ief990b4174d13b3472ac75a042ae8d878640dda3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44608 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
parent
0dd92f8222
commit
f219cd8342
11 changed files with 0 additions and 15 deletions
|
@ -493,7 +493,6 @@ int spd_xmp_decode_ddr3(dimm_attr *dimm,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fill cbmem with information for SMBIOS type 17.
|
* Fill cbmem with information for SMBIOS type 17.
|
||||||
*
|
*
|
||||||
|
|
|
@ -308,7 +308,6 @@ static unsigned int do_hypertransport_scan_chain(struct bus *bus, unsigned int m
|
||||||
}
|
}
|
||||||
} while ((ctrl & (1 << 5)) == 0);
|
} while ((ctrl & (1 << 5)) == 0);
|
||||||
|
|
||||||
|
|
||||||
/* Get and setup the device_structure. */
|
/* Get and setup the device_structure. */
|
||||||
dev = ht_scan_get_devs(&old_devices);
|
dev = ht_scan_get_devs(&old_devices);
|
||||||
|
|
||||||
|
|
|
@ -1122,7 +1122,6 @@ unsigned int decode_rm10_address(
|
||||||
return 0; /* SHOULD NOT HAPPEN */
|
return 0; /* SHOULD NOT HAPPEN */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
PARAMETERS:
|
PARAMETERS:
|
||||||
mod - modifier
|
mod - modifier
|
||||||
|
|
|
@ -129,7 +129,6 @@ static u32 x86emu_parity_tab[8] =
|
||||||
|
|
||||||
/*----------------------------- Implementation ----------------------------*/
|
/*----------------------------- Implementation ----------------------------*/
|
||||||
|
|
||||||
|
|
||||||
/*--------- Side effects helper functions -------*/
|
/*--------- Side effects helper functions -------*/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
|
@ -199,8 +199,6 @@ void X86API wrl(u32 addr, u32 val)
|
||||||
|
|
||||||
DB(if (DEBUG_MEM_TRACE())
|
DB(if (DEBUG_MEM_TRACE())
|
||||||
printf("%#08x 4 <- %#x\n", addr, val);)
|
printf("%#08x 4 <- %#x\n", addr, val);)
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
* IBM Corporation - initial implementation
|
* IBM Corporation - initial implementation
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef OF_H
|
#ifndef OF_H
|
||||||
#define OF_H
|
#define OF_H
|
||||||
#define p32 int
|
#define p32 int
|
||||||
|
@ -48,7 +47,6 @@ typedef struct
|
||||||
unsigned int args[16];
|
unsigned int args[16];
|
||||||
} of_arg_t;
|
} of_arg_t;
|
||||||
|
|
||||||
|
|
||||||
phandle_t of_finddevice (const char *);
|
phandle_t of_finddevice (const char *);
|
||||||
phandle_t of_peer(phandle_t);
|
phandle_t of_peer(phandle_t);
|
||||||
phandle_t of_child(phandle_t);
|
phandle_t of_child(phandle_t);
|
||||||
|
@ -56,7 +54,6 @@ phandle_t of_parent(phandle_t);
|
||||||
int of_getprop(phandle_t, const char *, void *, int);
|
int of_getprop(phandle_t, const char *, void *, int);
|
||||||
void *of_call_method_3(const char *, ihandle_t, int);
|
void *of_call_method_3(const char *, ihandle_t, int);
|
||||||
|
|
||||||
|
|
||||||
ihandle_t of_open(const char *);
|
ihandle_t of_open(const char *);
|
||||||
void of_close(ihandle_t);
|
void of_close(ihandle_t);
|
||||||
int of_read(ihandle_t, void *, int);
|
int of_read(ihandle_t, void *, int);
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
* IBM Corporation - initial implementation
|
* IBM Corporation - initial implementation
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef RTAS_H
|
#ifndef RTAS_H
|
||||||
#define RTAS_H
|
#define RTAS_H
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
* IBM Corporation - initial implementation
|
* IBM Corporation - initial implementation
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
#include "compat/rtas.h"
|
#include "compat/rtas.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -150,7 +149,6 @@ biosemu_dev_get_addr_info(void)
|
||||||
void translate_address_dev(u64 *, phandle_t);
|
void translate_address_dev(u64 *, phandle_t);
|
||||||
u64 get_puid(phandle_t node);
|
u64 get_puid(phandle_t node);
|
||||||
|
|
||||||
|
|
||||||
// scan all addresses assigned to the device ("assigned-addresses" and "reg")
|
// scan all addresses assigned to the device ("assigned-addresses" and "reg")
|
||||||
// store in translate_address_array for faster translation using dev_translate_address
|
// store in translate_address_array for faster translation using dev_translate_address
|
||||||
void
|
void
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include "compat/of.h"
|
#include "compat/of.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
||||||
// a Expansion Header Struct as defined in Plug and Play BIOS Spec 1.0a Chapter 3.2
|
// a Expansion Header Struct as defined in Plug and Play BIOS Spec 1.0a Chapter 3.2
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char signature[4]; // signature
|
char signature[4]; // signature
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
|
||||||
|
|
||||||
//setup to run the code at the address, that the Interrupt Vector points to...
|
//setup to run the code at the address, that the Interrupt Vector points to...
|
||||||
static void
|
static void
|
||||||
setupInt(int intNum)
|
setupInt(int intNum)
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
||||||
|
|
||||||
u8 pci_moving_config8(struct device *dev, unsigned int reg)
|
u8 pci_moving_config8(struct device *dev, unsigned int reg)
|
||||||
{
|
{
|
||||||
u8 value, ones, zeroes;
|
u8 value, ones, zeroes;
|
||||||
|
|
Loading…
Reference in a new issue