Fix some cbmem.h includes
Change-Id: I36056af9f2313eff835be805c8479e81d0b742bf Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15196 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@@ -17,7 +17,6 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <cbmem.h>
|
|
||||||
|
|
||||||
/* The full cache-as-ram size includes the cache-as-ram portion from coreboot
|
/* The full cache-as-ram size includes the cache-as-ram portion from coreboot
|
||||||
* and the space used by the reference code. These 2 values combined should
|
* and the space used by the reference code. These 2 values combined should
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#include <arch/stages.h>
|
#include <arch/stages.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <cbfs.h>
|
#include <cbmem.h>
|
||||||
#include <romstage_handoff.h>
|
#include <romstage_handoff.h>
|
||||||
#include <reset.h>
|
#include <reset.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <cbmem.h>
|
|
||||||
|
|
||||||
#define CACHE_AS_RAM_SIZE CONFIG_DCACHE_RAM_SIZE
|
#define CACHE_AS_RAM_SIZE CONFIG_DCACHE_RAM_SIZE
|
||||||
#define CACHE_AS_RAM_BASE CONFIG_DCACHE_RAM_BASE
|
#define CACHE_AS_RAM_BASE CONFIG_DCACHE_RAM_BASE
|
||||||
|
@@ -18,7 +18,6 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <cbmem.h>
|
|
||||||
|
|
||||||
cmp $0, %eax
|
cmp $0, %eax
|
||||||
je cache_as_ram
|
je cache_as_ram
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <cbmem.h>
|
|
||||||
|
|
||||||
#define CACHE_AS_RAM_SIZE 0x10000
|
#define CACHE_AS_RAM_SIZE 0x10000
|
||||||
#define CACHE_AS_RAM_BASE 0xd0000
|
#define CACHE_AS_RAM_BASE 0xd0000
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <cbmem.h>
|
|
||||||
|
|
||||||
#include "fmap_config.h"
|
#include "fmap_config.h"
|
||||||
|
|
||||||
|
@@ -18,7 +18,6 @@
|
|||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <cbmem.h>
|
|
||||||
|
|
||||||
/* The full cache-as-ram size includes the cache-as-ram portion from coreboot
|
/* The full cache-as-ram size includes the cache-as-ram portion from coreboot
|
||||||
* and the space used by the reference code. These 2 values combined should
|
* and the space used by the reference code. These 2 values combined should
|
||||||
|
Reference in New Issue
Block a user