projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Move pci_init_board() out of common.h
[oweals/u-boot.git]
/
board
/
imgtec
/
malta
/
malta.c
diff --git
a/board/imgtec/malta/malta.c
b/board/imgtec/malta/malta.c
index 495504372a021831be75d4c8a6a7f55d74a0216a..77ce75ecf2663f94b965bbc9f675928231234b8e 100644
(file)
--- a/
board/imgtec/malta/malta.c
+++ b/
board/imgtec/malta/malta.c
@@
-1,12
+1,12
@@
+// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2013 Imagination Technologies
/*
* Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2013 Imagination Technologies
- *
- * SPDX-License-Identifier: GPL-2.0
*/
#include <common.h>
#include <ide.h>
*/
#include <common.h>
#include <ide.h>
+#include <init.h>
#include <netdev.h>
#include <pci.h>
#include <pci_gt64120.h>
#include <netdev.h>
#include <pci.h>
#include <pci_gt64120.h>
@@
-19,6
+19,8
@@
#include "superio.h"
#include "superio.h"
+DECLARE_GLOBAL_DATA_PTR;
+
enum core_card {
CORE_UNKNOWN,
CORE_LV,
enum core_card {
CORE_UNKNOWN,
CORE_LV,
@@
-83,9
+85,11
@@
static enum sys_con malta_sys_con(void)
}
}
}
}
-
phys_size_t initdram(int board_type
)
+
int dram_init(void
)
{
{
- return CONFIG_SYS_MEM_SIZE;
+ gd->ram_size = CONFIG_SYS_MEM_SIZE;
+
+ return 0;
}
int checkboard(void)
}
int checkboard(void)