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
				
			@@ -17,6 +17,8 @@
 | 
			
		||||
#include <plat/serial/uart8250.h>
 | 
			
		||||
#include <plat/sys/clint.h>
 | 
			
		||||
 | 
			
		||||
/* clang-format off */
 | 
			
		||||
 | 
			
		||||
#define VIRT_HART_COUNT			8
 | 
			
		||||
#define VIRT_HART_STACK_SIZE		8192
 | 
			
		||||
 | 
			
		||||
@@ -34,6 +36,8 @@
 | 
			
		||||
#define VIRT_UART_BAUDRATE		115200
 | 
			
		||||
#define VIRT_UART_SHIFTREG_ADDR		1843200
 | 
			
		||||
 | 
			
		||||
/* clang-format on */
 | 
			
		||||
 | 
			
		||||
static int virt_final_init(bool cold_boot)
 | 
			
		||||
{
 | 
			
		||||
	void *fdt;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user