arm: Drop board_config headers
This commit is contained in:
parent
aba7320584
commit
f642e558e8
@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _BOARD_BEAGLE_BOARD_CONFIG_H
|
||||
#define _BOARD_BEAGLE_BOARD_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "Beagle Board"
|
||||
|
||||
#define BOARD_CPU_TYPE_OMAP 1
|
||||
#define BOARD_CPU_OMAP3 1
|
||||
|
||||
#include <arch/arm/omap3.h>
|
||||
|
||||
// UART Settings
|
||||
#define BOARD_UART_8250 1
|
||||
|
||||
#define BOARD_UART1_BASE OMAP_UART1_BASE
|
||||
#define BOARD_UART2_BASE OMAP_UART2_BASE
|
||||
#define BOARD_UART3_BASE OMAP_UART3_BASE
|
||||
|
||||
#define BOARD_UART_DEBUG BOARD_UART3_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 48000000
|
||||
// 48MHz (APLL96/2)
|
||||
|
||||
|
||||
#endif /* _BOARD_BEAGLE_BOARD_CONFIG_H */
|
@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _BOARD_BEAGLE_BONE_CONFIG_H
|
||||
#define _BOARD_BEAGLE_BONE_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "BeagleBone"
|
||||
|
||||
#define BOARD_CPU_TYPE_OMAP 1
|
||||
#define BOARD_CPU_OMAP3 1
|
||||
|
||||
#include <arch/arm/omap3.h>
|
||||
|
||||
// UART Settings
|
||||
#define BOARD_UART_8250 1
|
||||
|
||||
#define BOARD_UART1_BASE OMAP_UART1_BASE
|
||||
#define BOARD_UART2_BASE OMAP_UART2_BASE
|
||||
#define BOARD_UART3_BASE OMAP_UART3_BASE
|
||||
|
||||
#define BOARD_UART_DEBUG BOARD_UART3_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 48000000
|
||||
// 48MHz (APLL96/2)
|
||||
|
||||
|
||||
#endif /* _BOARD_BEAGLE_BONE_CONFIG_H */
|
@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2012-2015 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Alexander von Gluck, kallisti5@unixzen.com
|
||||
*/
|
||||
#ifndef _BOARD_SUN9I_BOARD_CONFIG_H
|
||||
#define _BOARD_SUN9I_BOARD_CONFIG_H
|
||||
|
||||
// https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/sun9i-a80.dtsi
|
||||
// http://linux-sunxi.org/A80/Memory_map
|
||||
|
||||
#define BOARD_NAME_PRETTY "Allwinner A80"
|
||||
|
||||
#define BOARD_CPU_TYPE_ARM7 1
|
||||
#define BOARD_CPU_A80 1
|
||||
|
||||
//#include <arch/arm/sun9i-a80.h>
|
||||
|
||||
// For now we just pick up APB1 devices + CPUS
|
||||
#define DEVICE_BASE 0x07000000
|
||||
#define DEVICE_SIZE 0x1008FFF
|
||||
|
||||
#define VECT_BASE 0xFFFF0000
|
||||
#define VECT_SIZE SIZE_4K
|
||||
|
||||
#define SDRAM_BASE 0x20000000
|
||||
#define SDRAM_SIZE 0x4000000
|
||||
// 64Mb (although it is really 0x1FFFFFFFF)
|
||||
|
||||
// UART Settings
|
||||
|
||||
// snps,dw-apb-uart?
|
||||
#define BOARD_UART1_BASE 0x07000000
|
||||
#define BOARD_UART2_BASE BOARD_UART1_BASE + 0x400
|
||||
#define BOARD_UART3_BASE BOARD_UART2_BASE + 0x400
|
||||
|
||||
#define BOARD_UART_DEBUG BOARD_UART1_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 24000000
|
||||
/* 2.4Mhz */
|
||||
|
||||
|
||||
#endif /* _BOARD_SUN9I_BOARD_CONFIG_H */
|
@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009 François Revol, revol@free.fr.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _BOARD_FREERUNNER_BOARD_CONFIG_H
|
||||
#define _BOARD_FREERUNNER_BOARD_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "Openmoko Neo FreeRunner"
|
||||
|
||||
#define BOARD_CPU_TYPE_ARM9 1
|
||||
#define BOARD_CPU_ARM920T 1
|
||||
|
||||
#include <arch/arm/arm920t.h>
|
||||
|
||||
// UART Settings
|
||||
#define BOARD_UART_8250 1
|
||||
|
||||
#define BOARD_UART1_BASE UART0_BASE
|
||||
#define BOARD_UART2_BASE UART1_BASE
|
||||
#define BOARD_UART3_BASE UART2_BASE
|
||||
|
||||
#define BOARD_UART_DEBUG BOARD_UART3_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 48000000
|
||||
// 48MHz (APLL96/2)
|
||||
|
||||
|
||||
#endif /* _BOARD_FREERUNNER_BOARD_CONFIG_H */
|
@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _BOARD_OVERO_BOARD_CONFIG_H
|
||||
#define _BOARD_OVERO_BOARD_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "Gumstix Overo"
|
||||
|
||||
#define BOARD_CPU_TYPE_OMAP 1
|
||||
#define BOARD_CPU_OMAP3 1
|
||||
|
||||
#include <arch/arm/omap3.h>
|
||||
|
||||
// UART Settings
|
||||
#define BOARD_UART_8250 1
|
||||
|
||||
#define BOARD_UART1_BASE OMAP_UART1_BASE
|
||||
#define BOARD_UART2_BASE OMAP_UART2_BASE
|
||||
#define BOARD_UART3_BASE OMAP_UART3_BASE
|
||||
|
||||
#define BOARD_UART_DEBUG BOARD_UART3_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 48000000
|
||||
// 48MHz (APLL96/2)
|
||||
|
||||
|
||||
#endif /* _BOARD_OVERO_BOARD_CONFIG_H */
|
@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2012 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Alexander von Gluck, kallisti5@unixzen.com
|
||||
*/
|
||||
#ifndef _BOARD_RPI2_BOARD_CONFIG_H
|
||||
#define _BOARD_RPI2_BOARD_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "Raspberry Pi 2"
|
||||
|
||||
#define BOARD_CPU_TYPE_ARM7 1
|
||||
#define BOARD_CPU_BCM2836 1
|
||||
|
||||
#include <arch/arm/bcm283X.h>
|
||||
|
||||
#define DEVICE_BASE BCM2836_PERIPHERAL_BASE
|
||||
#define DEVICE_SIZE 0xFFFFFF
|
||||
|
||||
#define VECT_BASE 0xFFFF0000
|
||||
#define VECT_SIZE SIZE_4K
|
||||
|
||||
#define SDRAM_BASE BCM283X_SDRAM_BASE
|
||||
#define SDRAM_SIZE 0x4000000
|
||||
// 64Mb
|
||||
|
||||
// UART Settings
|
||||
#define BOARD_UART_PL011 1
|
||||
|
||||
#define BOARD_UART1_BASE UART0_BASE
|
||||
// PL011 UART
|
||||
#define BOARD_UART2_BASE UART1_BASE + 0x40
|
||||
// miniUART
|
||||
#define BOARD_UART3_BASE 0
|
||||
// N/A
|
||||
|
||||
#define BOARD_UART_DEBUG DEVICE_BASE + BOARD_UART1_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 3000000
|
||||
/* 3Mhz */
|
||||
|
||||
|
||||
#endif /* _BOARD_RPI2_BOARD_CONFIG_H */
|
@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _BOARD_VERDEX_BOARD_CONFIG_H
|
||||
#define _BOARD_VERDEX_BOARD_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "Gumstix Verdex"
|
||||
|
||||
#define BOARD_CPU_TYPE_PXA 1
|
||||
#define BOARD_CPU_PXA270 1
|
||||
|
||||
#include <arch/arm/pxa270.h>
|
||||
|
||||
// UART Settings
|
||||
#define BOARD_UART_8250 1
|
||||
|
||||
#define BOARD_UART1_BASE FFUART_BASE
|
||||
#define BOARD_UART2_BASE BTUART_BASE
|
||||
#define BOARD_UART3_BASE STUART_BASE
|
||||
|
||||
#define BOARD_UART_DEBUG BOARD_UART1_BASE
|
||||
|
||||
#define BOARD_UART_CLOCK 48000000
|
||||
// 48MHz (APLL96/2)
|
||||
|
||||
|
||||
#endif /* _BOARD_VERDEX_BOARD_CONFIG_H */
|
Loading…
Reference in New Issue
Block a user