xref: /linux/arch/xtensa/platforms/xtfpga/include/platform/serial.h (revision 827634added7f38b7d724cab1dccdb2b004c13c3)
1 /*
2  * arch/xtensa/platform/xtavnet/include/platform/serial.h
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License.  See the file "COPYING" in the main directory of this archive
6  * for more details.
7  *
8  * Copyright (C) 2001, 2006 Tensilica Inc.
9  */
10 
11 #ifndef __ASM_XTENSA_XTAVNET_SERIAL_H
12 #define __ASM_XTENSA_XTAVNET_SERIAL_H
13 
14 #include <platform/hardware.h>
15 
16 #define BASE_BAUD (*(long *)XTFPGA_CLKFRQ_VADDR / 16)
17 
18 #endif /* __ASM_XTENSA_XTAVNET_SERIAL_H */
19