summaryrefslogtreecommitdiff
path: root/arch/xtensa/platforms/xtfpga/include/platform/serial.h
blob: 14d8f7beebfd74ac03b514ce88ffd0116451f362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * arch/xtensa/platform/xtavnet/include/platform/serial.h
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2001, 2006 Tensilica Inc.
 */

#ifndef __ASM_XTENSA_XTAVNET_SERIAL_H
#define __ASM_XTENSA_XTAVNET_SERIAL_H

#include <platform/hardware.h>

#define BASE_BAUD (*(long *)XTFPGA_CLKFRQ_VADDR / 16)

#endif /* __ASM_XTENSA_XTAVNET_SERIAL_H */