Kernel  |  3.18

下载     查看原文件
C++程序  |  19行  |  495 B
/*
 * 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 */