tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / soc / intel / baytrail / memmap.c
blobf1131f6e3f8ccad48634b43b81acd3ae538f6499
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Google, Inc.
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.
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.
16 #include <arch/io.h>
17 #include <cbmem.h>
18 #include <soc/iosf.h>
19 #include <soc/smm.h>
21 uintptr_t smm_region_start(void)
23 return (iosf_bunit_read(BUNIT_SMRRL) << 20);
26 void *cbmem_top(void)
28 return (void *) smm_region_start();