platform/u-boot: Build all fdt's and include in u-boot mmc
* Eventually BoardSetups and target boards will go away. * Include all known fdt's in the mmc image * This gets us closer to target board-less arm * Changing hardware is as simple as plugging a new fdt into u-boot's startup script. * Drop my original rpi1 work. We're targetting ARMv7 minimum.
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2012 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Alexander von Gluck, [email protected]
|
||||
*/
|
||||
#ifndef _BOARD_RPI1_BOARD_CONFIG_H
|
||||
#define _BOARD_RPI1_BOARD_CONFIG_H
|
||||
|
||||
|
||||
#define BOARD_NAME_PRETTY "Raspberry Pi"
|
||||
|
||||
#define BOARD_CPU_TYPE_ARM6 1
|
||||
#define BOARD_CPU_BCM2835 1
|
||||
|
||||
#include <arch/arm/bcm283X.h>
|
||||
|
||||
#define DEVICE_BASE BCM2835_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_RPI1_BOARD_CONFIG_H */
|
||||
Reference in New Issue
Block a user