David Hendricks has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/42549 )
Change subject: [WIP] Add clang-format on/off markers where appropriate ......................................................................
[WIP] Add clang-format on/off markers where appropriate
Change-Id: I6d31ad2031b7467ba35fd87422adc66fcd942c29 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M board_enable.c M chipset_enable.c M print.c 3 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/49/42549/1
diff --git a/board_enable.c b/board_enable.c index 9cf0103..5bfc4a6 100644 --- a/board_enable.c +++ b/board_enable.c @@ -2348,6 +2348,7 @@ * main pci ids are still required to match, as a safeguard. */
+/* clang-format off */ /* Please keep this list alphabetically ordered by vendor/board name. */ const struct board_match board_matches[] = {
@@ -2530,6 +2531,7 @@ #endif { 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, P3, NULL, NULL, 0, NT, NULL}, /* end marker */ }; +/* clang-format on */
int selfcheck_board_enables(void) { diff --git a/chipset_enable.c b/chipset_enable.c index 632679c..6713842 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -1689,6 +1689,7 @@ #define B_LS (BUS_LPC | BUS_SPI) #define B_S (BUS_SPI)
+/* clang-format off */ /* Please keep this list numerically sorted by vendor/device ID. */ const struct penable chipset_enables[] = { #if defined(__i386__) || defined(__x86_64__) @@ -2066,6 +2067,7 @@ #endif {0}, }; +/* clang-format on */
int chipset_flash_enable(void) { diff --git a/print.c b/print.c index feca45e..c5ead0c 100644 --- a/print.c +++ b/print.c @@ -514,6 +514,7 @@ #define B(vendor, name, status, url, note) { vendor, name, status } #endif
+/* clang-format off */ /* Please keep this list alphabetically ordered by vendor/board. */ const struct board_info boards_known[] = { #if defined(__i386__) || defined(__x86_64__) @@ -1142,7 +1143,9 @@
{0}, }; +/* clang-format on */
+/* clang-format off */ /* Please keep this list alphabetically ordered by vendor/board. */ const struct board_info laptops_known[] = { #if defined(__i386__) || defined(__x86_64__) @@ -1177,3 +1180,4 @@ {0}, }; #endif +/* clang-format on */