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 |
| 17 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | ## |
| 19 | |
| 20 | config 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 | |
| 34 | if SOC_MARVELL_BG4CD |
| 35 | |
| 36 | config BOOTBLOCK_CPU_INIT |
| 37 | string |
| 38 | default "soc/marvell/bg4cd/bootblock.c" |
| 39 | |
| 40 | config BOOTBLOCK_ROM_OFFSET |
| 41 | hex |
| 42 | default 0x0 |
| 43 | |
| 44 | config CBFS_HEADER_ROM_OFFSET |
| 45 | hex |
| 46 | default 0x0008000 |
| 47 | |
| 48 | config CBFS_ROM_OFFSET |
| 49 | hex |
| 50 | default 0x0018000 |
| 51 | |
| 52 | endif |