blob: 45a2abb5eef0d4ac9336f41ce7cd0f71ed1372c1 [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
Patrick Georgib890a122015-03-26 15:17:45 +010017## Foundation, Inc.
Daisuke Nojiri3df01262014-10-08 11:38:52 -070018##
19
20config SOC_MARVELL_BG4CD
21 bool
22 default n
Daisuke Nojiri37083902014-10-21 11:22:54 -070023 select ARCH_BOOTBLOCK_ARMV7_M
Daisuke Nojiri3df01262014-10-08 11:38:52 -070024 select ARCH_RAMSTAGE_ARMV7
Vadim Bendebury771819a2014-10-15 18:19:03 -070025 select ARCH_ROMSTAGE_ARMV7
Daisuke Nojiri37083902014-10-21 11:22:54 -070026 select ARCH_VERSTAGE_ARMV7_M
Aaron Durbin1124cec2015-04-22 10:41:42 -050027 select ARM_BOOTBLOCK_CUSTOM if VBOOT_VERIFY_FIRMWARE
Daisuke Nojiri3df01262014-10-08 11:38:52 -070028 select BOOTBLOCK_CONSOLE
Vadim Bendebury771819a2014-10-15 18:19:03 -070029 select GENERIC_UDELAY
30 select HAVE_MONOTONIC_TIMER
Stefan Reinauer97db1fb2015-03-26 15:58:41 -070031 select GENERIC_GPIO_LIB
Daisuke Nojiri3df01262014-10-08 11:38:52 -070032
33if SOC_MARVELL_BG4CD
34
Martin Roth967cd9a2015-08-18 14:22:58 -060035config CHROMEOS
36 select VBOOT_STARTS_IN_BOOTBLOCK
37
Daisuke Nojiri3df01262014-10-08 11:38:52 -070038config BOOTBLOCK_CPU_INIT
39 string
40 default "soc/marvell/bg4cd/bootblock.c"
41
Daisuke Nojiri3df01262014-10-08 11:38:52 -070042endif