ls2080ardb.c (36cc0de0b919c0e185739142742e0a76a7c5c30a) | ls2080ardb.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> 9#include <netdev.h> 10#include <fsl_ifc.h> 11#include <fsl_ddr.h> 12#include <asm/io.h> 13#include <hwconfig.h> 14#include <fdt_support.h> 15#include <libfdt.h> 16#include <fsl-mc/fsl_mc.h> 17#include <environment.h> 18#include <efi_loader.h> 19#include <i2c.h> | 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> 9#include <netdev.h> 10#include <fsl_ifc.h> 11#include <fsl_ddr.h> 12#include <asm/io.h> 13#include <hwconfig.h> 14#include <fdt_support.h> 15#include <libfdt.h> 16#include <fsl-mc/fsl_mc.h> 17#include <environment.h> 18#include <efi_loader.h> 19#include <i2c.h> |
20#include <asm/arch/mmu.h> |
|
20#include <asm/arch/soc.h> 21#include <fsl_sec.h> 22 23#include "../common/qixis.h" 24#include "ls2080ardb_qixis.h" 25#include "../common/vid.h" 26 27#define PIN_MUX_SEL_SDHC 0x00 --- 186 unchanged lines hidden (view full) --- 214 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) { 215 puts("\nDP-DDR "); 216 print_size(gd->bd->bi_dram[2].size, ""); 217 print_ddr_info(CONFIG_DP_DDR_CTRL); 218 } 219#endif 220} 221 | 21#include <asm/arch/soc.h> 22#include <fsl_sec.h> 23 24#include "../common/qixis.h" 25#include "ls2080ardb_qixis.h" 26#include "../common/vid.h" 27 28#define PIN_MUX_SEL_SDHC 0x00 --- 186 unchanged lines hidden (view full) --- 215 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) { 216 puts("\nDP-DDR "); 217 print_size(gd->bd->bi_dram[2].size, ""); 218 print_ddr_info(CONFIG_DP_DDR_CTRL); 219 } 220#endif 221} 222 |
222int dram_init(void) 223{ 224 gd->ram_size = initdram(0); 225 226 return 0; 227} 228 | |
229#if defined(CONFIG_ARCH_MISC_INIT) 230int arch_misc_init(void) 231{ 232#ifdef CONFIG_FSL_CAAM 233 sec_init(); 234#endif 235 return 0; 236} --- 98 unchanged lines hidden --- | 223#if defined(CONFIG_ARCH_MISC_INIT) 224int arch_misc_init(void) 225{ 226#ifdef CONFIG_FSL_CAAM 227 sec_init(); 228#endif 229 return 0; 230} --- 98 unchanged lines hidden --- |