mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
9a4cd7a5c8
This patch adds basic support for i.MX31 LiteKit by LogicPD. With printascii() in kernel/printk.c, it boots right into the rootfs-panic. Note: This is a modified version of Daniel's patch to fit into this patch stack. > On 09.06.2008, at 17:26, Russell King - ARM Linux wrote: > > > I would much prefer it if board specific includes were included by the > > code which needs them rather than in asm/arch/hardware.h. With the > > device model, drivers shouldn't need to include any board specific > > includes - only the board specific C file should need it. > > The new version of this patch (#5102) has been uploaded to the patch > tracker this morning. Signed-off-by: Daniel Mack <daniel@caiaq.de> -- arch/arm/configs/mx31litekit_defconfig | 1100 ++++++++++++++++++++++++++++++ arch/arm/mach-mx3/Kconfig | 7 arch/arm/mach-mx3/Makefile | 1 arch/arm/mach-mx3/mx31lite.c | 96 ++ include/asm-arm/arch-mxc/board-mx31lite.h | 38 + include/asm-arm/arch-mxc/debug-macro.S | 3 6 files changed, 1245 insertions(+)
39 lines
806 B
C
39 lines
806 B
C
/*
|
|
* Copyright 2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
*/
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_MXC_BOARD_MX31LITE_H__
|
|
#define __ASM_ARCH_MXC_BOARD_MX31LITE_H__
|
|
|
|
#define MXC_MAX_EXP_IO_LINES 16
|
|
|
|
|
|
/*
|
|
* Memory Size parameters
|
|
*/
|
|
|
|
/*
|
|
* Size of SDRAM memory
|
|
*/
|
|
#define SDRAM_MEM_SIZE SZ_128M
|
|
/*
|
|
* Size of MBX buffer memory
|
|
*/
|
|
#define MXC_MBX_MEM_SIZE SZ_16M
|
|
/*
|
|
* Size of memory available to kernel
|
|
*/
|
|
#define MEM_SIZE (SDRAM_MEM_SIZE - MXC_MBX_MEM_SIZE)
|
|
|
|
#define MXC_LL_UART_PADDR UART1_BASE_ADDR
|
|
#define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR)
|
|
|
|
#endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */
|
|
|