beaglebone: use new arm bootblock infrastructure

8b685398 change config flags for cpu and mainboard
bootblock initialization.
Tested on beaglebone black.

Change-Id: Ifac4a18a2e380c3472f51aaa7cc7842b01a2553e
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/7190
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Alexander Couzens 2014-10-24 23:53:55 +02:00 committed by Stefan Reinauer
parent 8c53b751f5
commit 69b4e3f857
3 changed files with 3 additions and 5 deletions

View File

@ -23,6 +23,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
select CPU_TI_AM335X
select BOARD_ROMSIZE_KB_4096
select MAINBOARD_HAS_BOOTBLOCK_INIT
config MAINBOARD_DIR
string
@ -40,10 +41,6 @@ config MAINBOARD_VENDOR
string
default "TI"
config BOOTBLOCK_MAINBOARD_INIT
string
default "mainboard/ti/beaglebone/bootblock.c"
config DRAM_SIZE_MB
int
default 256

View File

@ -17,6 +17,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
bootblock-y += bootblock.c
romstage-y += romstage.c
#ramstage-y += ramstage.c

View File

@ -19,11 +19,11 @@
#include <arch/io.h>
#include <types.h>
#include <bootblock_common.h>
#include <console/uart.h>
#include <console/console.h>
#include <cpu/ti/am335x/pinmux.h>
void bootblock_mainboard_init(void);
void bootblock_mainboard_init(void)
{
void *uart_clock_ctrl = NULL;