Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 1 | ## |
| 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 Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 17 | ## Foundation, Inc. |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 18 | ## |
| 19 | |
| 20 | config SOC_MARVELL_BG4CD |
| 21 | bool |
| 22 | default n |
Daisuke Nojiri | 3708390 | 2014-10-21 11:22:54 -0700 | [diff] [blame] | 23 | select ARCH_BOOTBLOCK_ARMV7_M |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 24 | select ARCH_RAMSTAGE_ARMV7 |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 25 | select ARCH_ROMSTAGE_ARMV7 |
Daisuke Nojiri | 3708390 | 2014-10-21 11:22:54 -0700 | [diff] [blame] | 26 | select ARCH_VERSTAGE_ARMV7_M |
Aaron Durbin | 1124cec | 2015-04-22 10:41:42 -0500 | [diff] [blame] | 27 | select ARM_BOOTBLOCK_CUSTOM if VBOOT_VERIFY_FIRMWARE |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 28 | select BOOTBLOCK_CONSOLE |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 29 | select GENERIC_UDELAY |
| 30 | select HAVE_MONOTONIC_TIMER |
Stefan Reinauer | 97db1fb | 2015-03-26 15:58:41 -0700 | [diff] [blame] | 31 | select GENERIC_GPIO_LIB |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 32 | |
| 33 | if SOC_MARVELL_BG4CD |
| 34 | |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame^] | 35 | config CHROMEOS |
| 36 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 37 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 38 | config BOOTBLOCK_CPU_INIT |
| 39 | string |
| 40 | default "soc/marvell/bg4cd/bootblock.c" |
| 41 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 42 | endif |