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]
/
board
/
freescale
/
t104xrdb
/
ddr.c
diff --git
a/board/freescale/t104xrdb/ddr.c
b/board/freescale/t104xrdb/ddr.c
index
302f19b
..
2b1b28d
100644
(file)
--- a/
board/freescale/t104xrdb/ddr.c
+++ b/
board/freescale/t104xrdb/ddr.c
@@
-1,7
+1,6
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2013 Freescale Semiconductor, Inc.
/*
* Copyright 2013 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-120,7
+119,7
@@
void board_mem_sleep_setup(void)
}
#endif
}
#endif
-
phys_size_t initdram(int board_type
)
+
int dram_init(void
)
{
phys_size_t dram_size;
{
phys_size_t dram_size;
@@
-137,5
+136,7
@@
phys_size_t initdram(int board_type)
fsl_dp_resume();
#endif
fsl_dp_resume();
#endif
- return dram_size;
+ gd->ram_size = dram_size;
+
+ return 0;
}
}