forked from Mirrors/opensbi
all: Annotate some tables to have clang-format leave them alone
One of the shortcomings of clang-format is that it doesn't allow for aligned define tables, which is used for a number of constants. Add annotation to disable the automatic formatting where needed. Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:

committed by
Anup Patel

parent
97fb8c0e3b
commit
fbf986ac2a
@@ -19,6 +19,8 @@
|
||||
#include <plat/serial/sifive-uart.h>
|
||||
#include <plat/sys/clint.h>
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
#define FU540_HART_COUNT 5
|
||||
#define FU540_HART_STACK_SIZE 8192
|
||||
|
||||
@@ -50,6 +52,8 @@
|
||||
#define FU540_PRCI_CLKMUXSTATUSREG 0x002C
|
||||
#define FU540_PRCI_CLKMUX_STATUS_TLCLKSEL (0x1 << 1)
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
static void fu540_modify_dt(void *fdt)
|
||||
{
|
||||
u32 i, size;
|
||||
|
Reference in New Issue
Block a user