summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@google.com>2019-02-21 13:29:21 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-03-06 06:51:02 -0800
commitaeefa957c949fac1325a66fbcc9d4b3c10de1c4f (patch)
tree4d299ad380ce0564f1be243f10b6cef2c58b5550
parent36469aa61c23e0e0180541db54f29a292e3d9845 (diff)
downloadchrome-ec-aeefa957c949fac1325a66fbcc9d4b3c10de1c4f.tar.gz
scratch_reg: reorganize BOARD_ALL_PROPERTIES
List one board property per line and alphabetize the list, so the BOARD_ALL_PROPERTIES definition is more readable. BUG=none BRANCH=cr50 TEST=none Change-Id: Ic0a8d83b380c4f61c89c54535a1c350daf4ae39f Signed-off-by: Mary Ruthven <mruthven@google.com> Reviewed-on: https://chromium-review.googlesource.com/1481656 Commit-Ready: Mary Ruthven <mruthven@chromium.org> Tested-by: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--board/cr50/scratch_reg1.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/board/cr50/scratch_reg1.h b/board/cr50/scratch_reg1.h
index 8be7783afa..f4388ece18 100644
--- a/board/cr50/scratch_reg1.h
+++ b/board/cr50/scratch_reg1.h
@@ -84,10 +84,16 @@
* Macro to capture all properties related to board strapping pins. This must be
* updated if additional strap related properties are added.
*/
-#define BOARD_ALL_PROPERTIES (BOARD_SLAVE_CONFIG_SPI | BOARD_SLAVE_CONFIG_I2C \
- | BOARD_NEEDS_SYS_RST_PULL_UP | BOARD_USE_PLT_RESET | \
- BOARD_DEEP_SLEEP_DISABLED | BOARD_DETECT_AP_WITH_UART | \
- BOARD_WP_DISABLE_DELAY | BOARD_CLOSED_SOURCE_SET1 | \
- BOARD_CLOSED_LOOP_RESET | BOARD_NO_INA_SUPPORT)
+#define BOARD_ALL_PROPERTIES ( \
+ BOARD_CLOSED_LOOP_RESET | \
+ BOARD_CLOSED_SOURCE_SET1 | \
+ BOARD_DEEP_SLEEP_DISABLED | \
+ BOARD_DETECT_AP_WITH_UART | \
+ BOARD_NEEDS_SYS_RST_PULL_UP | \
+ BOARD_NO_INA_SUPPORT | \
+ BOARD_SLAVE_CONFIG_I2C | \
+ BOARD_SLAVE_CONFIG_SPI | \
+ BOARD_USE_PLT_RESET | \
+ BOARD_WP_DISABLE_DELAY)
#endif /* ! __EC_BOARD_CR50_SCRATCH_REG1_H */