ls2080aqds.c (36cc0de0b919c0e185739142742e0a76a7c5c30a) ls2080aqds.c (4961eafc25d0bfa7ac5f88ec78a7f7501c202fbb)
1/*
2 * Copyright 2015 Freescale Semiconductor
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6#include <common.h>
7#include <malloc.h>
8#include <errno.h>

--- 240 unchanged lines hidden (view full) ---

249 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) {
250 puts("\nDP-DDR ");
251 print_size(gd->bd->bi_dram[2].size, "");
252 print_ddr_info(CONFIG_DP_DDR_CTRL);
253 }
254#endif
255}
256
1/*
2 * Copyright 2015 Freescale Semiconductor
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6#include <common.h>
7#include <malloc.h>
8#include <errno.h>

--- 240 unchanged lines hidden (view full) ---

249 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) {
250 puts("\nDP-DDR ");
251 print_size(gd->bd->bi_dram[2].size, "");
252 print_ddr_info(CONFIG_DP_DDR_CTRL);
253 }
254#endif
255}
256
257int dram_init(void)
258{
259 gd->ram_size = initdram(0);
260
261 return 0;
262}
263
264#if defined(CONFIG_ARCH_MISC_INIT)
265int arch_misc_init(void)
266{
267#ifdef CONFIG_FSL_CAAM
268 sec_init();
269#endif
270 return 0;
271}

--- 79 unchanged lines hidden ---
257#if defined(CONFIG_ARCH_MISC_INIT)
258int arch_misc_init(void)
259{
260#ifdef CONFIG_FSL_CAAM
261 sec_init();
262#endif
263 return 0;
264}

--- 79 unchanged lines hidden ---