summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/storage
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:49:34 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:20:57 +0000
commit3ff7bcf10e0d07f71ece45267d31ae1f83b04701 (patch)
tree8505dff0b98bee6a50fa10a5ec1a90536ec51fec /payloads/libpayload/include/storage
parent99e0c7ddc1004b69df65483c029ee8915650223a (diff)
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>
Diffstat (limited to 'payloads/libpayload/include/storage')
-rw-r--r--payloads/libpayload/include/storage/ata.h1
-rw-r--r--payloads/libpayload/include/storage/atapi.h1
-rw-r--r--payloads/libpayload/include/storage/storage.h4
3 files changed, 0 insertions, 6 deletions
diff --git a/payloads/libpayload/include/storage/ata.h b/payloads/libpayload/include/storage/ata.h
index 39937dbe34..43249e7513 100644
--- a/payloads/libpayload/include/storage/ata.h
+++ b/payloads/libpayload/include/storage/ata.h
@@ -33,7 +33,6 @@
#include "storage.h"
-
/* ATA commands */
enum {
ATA_READ_DMA = 0xc8,
diff --git a/payloads/libpayload/include/storage/atapi.h b/payloads/libpayload/include/storage/atapi.h
index eea5c332f8..5a6e244032 100644
--- a/payloads/libpayload/include/storage/atapi.h
+++ b/payloads/libpayload/include/storage/atapi.h
@@ -34,7 +34,6 @@
#include "storage.h"
#include "ata.h"
-
/* ATAPI commands */
enum {
ATAPI_TEST_UNIT_READY = 0x00,
diff --git a/payloads/libpayload/include/storage/storage.h b/payloads/libpayload/include/storage/storage.h
index 7a2a84bef7..32933fd97c 100644
--- a/payloads/libpayload/include/storage/storage.h
+++ b/payloads/libpayload/include/storage/storage.h
@@ -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);