MX31: add basic pcm037 board support
This patch adds basic board support for phytecs pmc037 board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
committed by
Robert Schwebel
parent
1b53218bfa
commit
ce8ffef0bf
27
include/asm-arm/arch-mxc/board-pcm037.h
Normal file
27
include/asm-arm/arch-mxc/board-pcm037.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C) 2008 Sascha Hauer, Pengutronix
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef __ASM_ARCH_MXC_BOARD_PCM037_H__
|
||||
#define __ASM_ARCH_MXC_BOARD_PCM037_H__
|
||||
|
||||
/* mandatory for CONFIG_LL_DEBUG */
|
||||
|
||||
#define MXC_LL_UART_PADDR UART1_BASE_ADDR
|
||||
#define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR)
|
||||
|
||||
#endif /* __ASM_ARCH_MXC_BOARD_PCM037_H__ */
|
||||
@@ -15,6 +15,9 @@
|
||||
|
||||
#ifdef CONFIG_MACH_MX31ADS
|
||||
#include <asm/arch/board-mx31ads.h>
|
||||
#endif
|
||||
#ifdef CONFIG_MACH_PCM037
|
||||
#include <asm/arch/board-pcm037.h>
|
||||
#endif
|
||||
|
||||
.macro addruart,rx
|
||||
|
||||
Reference in New Issue
Block a user