soc/intel/quark: Add FSP 2.0 boot block support

Add the pieces necessary to successfully build and run bootblock using
the FSP 2.0 build.

TEST=Build and run bootblock on Galileo Gen2

Change-Id: I2377f0b0147196f100396b8cd7eaca8f92d6932f
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15865
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Lee Leahy
2016-07-25 07:41:54 -07:00
parent 6e05c33626
commit 102f625360
16 changed files with 137 additions and 13 deletions

View File

@@ -14,16 +14,8 @@
*/
#include <cbmem.h>
#include <fsp/memmap.h>
#include <soc/QuarkNcSocId.h>
#include <soc/reg_access.h>
size_t mmap_region_granularity(void)
{
/* Align to 8 MiB by default */
return 8 << 20;
}
void *cbmem_top(void)
{
uint32_t top_of_memory;