From a8039bc2b65060122104fc86382bce1372bdf2b5 Mon Sep 17 00:00:00 2001 From: Alessandro Rubini <rubini@gnudd.com> Date: Wed, 27 Mar 2013 09:12:48 +0100 Subject: [PATCH] sdb.h: typos and white space Signed-off-by: Alessandro Rubini <rubini@gnudd.com> --- docs/specification/sdb.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/specification/sdb.h b/docs/specification/sdb.h index 4931181..a5f865e 100644 --- a/docs/specification/sdb.h +++ b/docs/specification/sdb.h @@ -18,7 +18,7 @@ * magic number at the head of the interconnect record */ -/* Product, 40 bytes at offset 24, 8-byte alignmed +/* Product, 40 bytes at offset 24, 8-byte aligned * * device_id is vendor-assigned; version is device-specific, * date is hex (e.g 0x20120501), name is UTF-8, blank-filled @@ -34,7 +34,7 @@ struct sdb_product { }; /* - * Component, 56 bytes at offset 8, 8-byte aligned + * Component, 56 bytes at offset 8, 8-byte aligned * * The address range is first to last, inclusive * (for example 0x100000 - 0x10ffff) @@ -57,7 +57,7 @@ enum sdb_record_type { /* Type 0: interconnect (first of the array) * * sdb_records is the length of the table including this first - * record, version is 1. The bus type is enumerated later. + * record, version is 1. The bus type is enumerated later. */ #define SDB_MAGIC 0x5344422d /* "SDB-" */ struct sdb_interconnect { @@ -105,7 +105,7 @@ struct sdb_integration { /* Type 0xff: empty * * this allows keeping empty slots during development, - * so they can be filled later with miminal efforts and + * so they can be filled later with minimal efforts and * no misleading description is ever shipped -- hopefully. * It can also be used to pad a table to a desired length. */ @@ -120,13 +120,12 @@ enum sdb_bus_type { sdb_data = 0x01, }; -#define SDB_WB_WIDTH_MASK 0x0f -#define SDB_WB_ACCESS8 0x01 -#define SDB_WB_ACCESS16 0x02 -#define SDB_WB_ACCESS32 0x04 -#define SDB_WB_ACCESS64 0x08 - -#define SDB_WB_LITTLE_ENDIAN 0x80 +#define SDB_WB_WIDTH_MASK 0x0f +#define SDB_WB_ACCESS8 0x01 +#define SDB_WB_ACCESS16 0x02 +#define SDB_WB_ACCESS32 0x04 +#define SDB_WB_ACCESS64 0x08 +#define SDB_WB_LITTLE_ENDIAN 0x80 #define SDB_DATA_READ 0x04 #define SDB_DATA_WRITE 0x02 -- GitLab