ls1012ardb.c (36cc0de0b919c0e185739142742e0a76a7c5c30a) ls1012ardb.c (4961eafc25d0bfa7ac5f88ec78a7f7501c202fbb)
1/*
2 * Copyright 2016 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <i2c.h>
9#include <asm/io.h>
10#include <asm/arch/clock.h>
11#include <asm/arch/fsl_serdes.h>
12#ifdef CONFIG_FSL_LS_PPA
13#include <asm/arch/ppa.h>
14#endif
1/*
2 * Copyright 2016 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <i2c.h>
9#include <asm/io.h>
10#include <asm/arch/clock.h>
11#include <asm/arch/fsl_serdes.h>
12#ifdef CONFIG_FSL_LS_PPA
13#include <asm/arch/ppa.h>
14#endif
15#include <asm/arch/mmu.h>
15#include <asm/arch/soc.h>
16#include <hwconfig.h>
17#include <ahci.h>
18#include <mmc.h>
19#include <scsi.h>
20#include <fsl_esdhc.h>
21#include <environment.h>
22#include <fsl_mmdc.h>

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

75 0x0000003f, /* mdasp */
76 0x0000022a, /* mpodtctrl */
77 0xa1390003, /* mpzqhwctrl */
78 };
79
80 mmdc_init(&mparam);
81
82 gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
16#include <asm/arch/soc.h>
17#include <hwconfig.h>
18#include <ahci.h>
19#include <mmc.h>
20#include <scsi.h>
21#include <fsl_esdhc.h>
22#include <environment.h>
23#include <fsl_mmdc.h>

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

76 0x0000003f, /* mdasp */
77 0x0000022a, /* mpodtctrl */
78 0xa1390003, /* mpzqhwctrl */
79 };
80
81 mmdc_init(&mparam);
82
83 gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
84#if !defined(CONFIG_SPL) || defined(CONFIG_SPL_BUILD)
85 /* This will break-before-make MMU for DDR */
86 update_early_mmu_table();
87#endif
83
84 return 0;
85}
86
87int board_eth_init(bd_t *bis)
88{
89 return pci_eth_init(bis);
90}

--- 77 unchanged lines hidden ---
88
89 return 0;
90}
91
92int board_eth_init(bd_t *bis)
93{
94 return pci_eth_init(bis);
95}

--- 77 unchanged lines hidden ---