projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPDX: Convert all of our single license tags to Linux Kernel style
[platform/kernel/u-boot.git]
/
arch
/
x86
/
lib
/
init_helpers.c
diff --git
a/arch/x86/lib/init_helpers.c
b/arch/x86/lib/init_helpers.c
index
bac671d
..
0481f45
100644
(file)
--- a/
arch/x86/lib/init_helpers.c
+++ b/
arch/x86/lib/init_helpers.c
@@
-1,8
+1,7
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2011
* Graeme Russ, <graeme.russ@gmail.com>
/*
* (C) Copyright 2011
* Graeme Russ, <graeme.russ@gmail.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-19,7
+18,7
@@
__weak ulong board_get_usable_ram_top(ulong total_size)
int init_cache_f_r(void)
{
int init_cache_f_r(void)
{
-#if
defined(CONFIG_X86_RESET_VECTOR)
& !defined(CONFIG_HAVE_FSP)
+#if
CONFIG_IS_ENABLED(X86_32BIT_INIT) &
& !defined(CONFIG_HAVE_FSP)
int ret;
ret = mtrr_commit(false);
int ret;
ret = mtrr_commit(false);
@@
-30,13
+29,3
@@
int init_cache_f_r(void)
/* Initialise the CPU cache(s) */
return init_cache();
}
/* Initialise the CPU cache(s) */
return init_cache();
}
-
-bd_t bd_data;
-
-int init_bd_struct_r(void)
-{
- gd->bd = &bd_data;
- memset(gd->bd, 0, sizeof(bd_t));
-
- return 0;
-}