mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 20:54:24 +08:00
b77df5980c
Add an option to indicate that U-Boot-specific checks should be enabled. Add a function to house the code that will be added. Signed-off-by: Simon Glass <sjg@chromium.org>
34 lines
720 B
Plaintext
34 lines
720 B
Plaintext
# Not Linux, so don't expect a Linux tree.
|
|
--no-tree
|
|
|
|
# Temporary for false positive in checkpatch
|
|
--ignore COMPLEX_MACRO
|
|
|
|
# For CONFIG_SYS_I2C_NOPROBES
|
|
--ignore MULTISTATEMENT_MACRO_USE_DO_WHILE
|
|
|
|
# For simple_strtoul
|
|
--ignore CONSIDER_KSTRTO
|
|
|
|
# For min/max
|
|
--ignore MINMAX
|
|
|
|
# enable more tests
|
|
--strict
|
|
|
|
# Not Linux, so we don't recommend usleep_range() over udelay()
|
|
--ignore USLEEP_RANGE
|
|
|
|
# Ignore networking block comment style
|
|
--ignore NETWORKING_BLOCK_COMMENT_STYLE
|
|
|
|
# Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
|
|
# addresses are __aligned(2)".
|
|
--ignore PREFER_ETHER_ADDR_COPY
|
|
|
|
# A bit shorter of a description is OK with us.
|
|
--min-conf-desc-length=2
|
|
|
|
# Extra checks for U-Boot
|
|
--u-boot
|