payloads: Drop unneeded empty lines
Change-Id: I6faeb7c783052edc4217d2d301dbb905e1fc6a19 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
committed by
Michael Niewöhner
parent
99e0c7ddc1
commit
3ff7bcf10e
@@ -50,5 +50,4 @@ int tolower(int c);
|
||||
int toupper(int c);
|
||||
/** @} */
|
||||
|
||||
|
||||
#endif
|
||||
|
@@ -456,7 +456,6 @@ static inline int log2(u32 x) { return (int)sizeof(x) * 8 - clz(x) - 1; }
|
||||
static inline int __ffs(u32 x) { return log2(x & (u32)(-(s32)x)); }
|
||||
/** @} */
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup mmio MMIO helper functions
|
||||
* @{
|
||||
@@ -475,7 +474,6 @@ static inline void buffer_to_fifo32(void *buffer, size_t size, void *fifo,
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup hash Hashing functions
|
||||
* @{
|
||||
|
@@ -344,7 +344,6 @@ struct { \
|
||||
#define XSIMPLEQ_EMPTY(head) (XSIMPLEQ_FIRST(head) == XSIMPLEQ_END(head))
|
||||
#define XSIMPLEQ_NEXT(head, elm, field) XSIMPLEQ_XOR(head, ((elm)->field.sqx_next))
|
||||
|
||||
|
||||
#define XSIMPLEQ_FOREACH(var, head, field) \
|
||||
for ((var) = XSIMPLEQ_FIRST(head); \
|
||||
(var) != XSIMPLEQ_END(head); \
|
||||
@@ -398,7 +397,6 @@ struct { \
|
||||
XSIMPLEQ_XOR(head, &(elm)->field.sqx_next); \
|
||||
} while (0)
|
||||
|
||||
|
||||
/*
|
||||
* Tail queue definitions.
|
||||
*/
|
||||
@@ -442,7 +440,6 @@ struct { \
|
||||
((tvar) = TAILQ_NEXT(var, field), 1); \
|
||||
(var) = (tvar))
|
||||
|
||||
|
||||
#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
|
||||
for((var) = TAILQ_LAST(head, headname); \
|
||||
(var) != TAILQ_END(head); \
|
||||
|
@@ -33,7 +33,6 @@
|
||||
|
||||
#include "storage.h"
|
||||
|
||||
|
||||
/* ATA commands */
|
||||
enum {
|
||||
ATA_READ_DMA = 0xc8,
|
||||
|
@@ -34,7 +34,6 @@
|
||||
#include "storage.h"
|
||||
#include "ata.h"
|
||||
|
||||
|
||||
/* ATAPI commands */
|
||||
enum {
|
||||
ATAPI_TEST_UNIT_READY = 0x00,
|
||||
|
@@ -32,14 +32,12 @@
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#if !CONFIG(LP_STORAGE_64BIT_LBA)
|
||||
typedef u32 lba_t;
|
||||
#else
|
||||
typedef u64 lba_t;
|
||||
#endif
|
||||
|
||||
|
||||
typedef enum {
|
||||
PORT_TYPE_IDE = (1 << 0),
|
||||
PORT_TYPE_SATA = (1 << 1),
|
||||
@@ -54,7 +52,6 @@ typedef enum {
|
||||
POLL_MEDIUM_PRESENT = 1,
|
||||
} storage_poll_t;
|
||||
|
||||
|
||||
struct storage_dev;
|
||||
|
||||
typedef struct storage_dev {
|
||||
@@ -70,7 +67,6 @@ typedef struct storage_dev {
|
||||
int storage_device_count(void);
|
||||
int storage_attach_device(storage_dev_t *dev);
|
||||
|
||||
|
||||
storage_poll_t storage_probe(size_t dev_num);
|
||||
ssize_t storage_read_blocks512(size_t dev_num, lba_t start, size_t count, unsigned char *buf);
|
||||
|
||||
|
@@ -83,5 +83,4 @@ size_t strlcpy(char *d, const char *s, size_t n);
|
||||
size_t strlcat(char *d, const char *s, size_t n);
|
||||
/** @} */
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user