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:
committed by
Stefan Reinauer
parent
8c53b751f5
commit
69b4e3f857
@ -23,6 +23,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||||||
def_bool y
|
def_bool y
|
||||||
select CPU_TI_AM335X
|
select CPU_TI_AM335X
|
||||||
select BOARD_ROMSIZE_KB_4096
|
select BOARD_ROMSIZE_KB_4096
|
||||||
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
@ -40,10 +41,6 @@ config MAINBOARD_VENDOR
|
|||||||
string
|
string
|
||||||
default "TI"
|
default "TI"
|
||||||
|
|
||||||
config BOOTBLOCK_MAINBOARD_INIT
|
|
||||||
string
|
|
||||||
default "mainboard/ti/beaglebone/bootblock.c"
|
|
||||||
|
|
||||||
config DRAM_SIZE_MB
|
config DRAM_SIZE_MB
|
||||||
int
|
int
|
||||||
default 256
|
default 256
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
##
|
##
|
||||||
|
|
||||||
|
bootblock-y += bootblock.c
|
||||||
romstage-y += romstage.c
|
romstage-y += romstage.c
|
||||||
|
|
||||||
#ramstage-y += ramstage.c
|
#ramstage-y += ramstage.c
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
#include <bootblock_common.h>
|
||||||
#include <console/uart.h>
|
#include <console/uart.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cpu/ti/am335x/pinmux.h>
|
#include <cpu/ti/am335x/pinmux.h>
|
||||||
|
|
||||||
void bootblock_mainboard_init(void);
|
|
||||||
void bootblock_mainboard_init(void)
|
void bootblock_mainboard_init(void)
|
||||||
{
|
{
|
||||||
void *uart_clock_ctrl = NULL;
|
void *uart_clock_ctrl = NULL;
|
||||||
|
Reference in New Issue
Block a user