blob: 0a9778d7ad692426d1b1050f740146a86d3ab3c0 [file] [log] [blame]
Daisuke Nojiri3df01262014-10-08 11:38:52 -07001##
2## This file is part of the coreboot project.
3##
4## Copyright 2014 Google Inc.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18##
19
20config SOC_MARVELL_BG4CD
21 bool
22 default n
23 select CPU_HAS_BOOTBLOCK_INIT
24 select HAVE_MONOTONIC_TIMER
25 select GENERIC_UDELAY
26 select EARLY_CONSOLE
27 select DYNAMIC_CBMEM
28 select ARCH_BOOTBLOCK_ARMV7
29 select ARCH_VERSTAGE_ARMV7
30 select ARCH_ROMSTAGE_ARMV7
31 select ARCH_RAMSTAGE_ARMV7
32 select BOOTBLOCK_CONSOLE
33
34if SOC_MARVELL_BG4CD
35
36config BOOTBLOCK_CPU_INIT
37 string
38 default "soc/marvell/bg4cd/bootblock.c"
39
40config BOOTBLOCK_ROM_OFFSET
41 hex
42 default 0x0
43
44config CBFS_HEADER_ROM_OFFSET
45 hex
46 default 0x0008000
47
48config CBFS_ROM_OFFSET
49 hex
50 default 0x0018000
51
52endif