Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
0004  */
0005 
0006 #ifndef _ASM_ARC_SERIAL_H
0007 #define _ASM_ARC_SERIAL_H
0008 
0009 /*
0010  * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header.
0011  * However to still determine it dynamically (for multi-platform images)
0012  * we do this in a helper by parsing the FDT early
0013  */
0014 
0015 extern unsigned int __init arc_early_base_baud(void);
0016 
0017 #define BASE_BAUD   arc_early_base_baud()
0018 
0019 #endif /* _ASM_ARC_SERIAL_H */