spl.c (52c411805c090999f015df8bdf8016fb684746d0) spl.c (088454cde245b4d431ce0181be8b3cbceea059d6)
1/* Copyright 2013 Freescale Semiconductor, Inc.
2 *
3 * SPDX-License-Identifier: GPL-2.0+
4 */
5
6#include <common.h>
7#include <console.h>
8#include <malloc.h>

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

123 (uchar *)CONFIG_ENV_ADDR);
124#endif
125
126 gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
127 gd->env_valid = 1;
128
129 i2c_init_all();
130
1/* Copyright 2013 Freescale Semiconductor, Inc.
2 *
3 * SPDX-License-Identifier: GPL-2.0+
4 */
5
6#include <common.h>
7#include <console.h>
8#include <malloc.h>

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

123 (uchar *)CONFIG_ENV_ADDR);
124#endif
125
126 gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
127 gd->env_valid = 1;
128
129 i2c_init_all();
130
131 gd->ram_size = initdram();
131 initdram();
132
133#ifdef CONFIG_SPL_MMC_BOOT
134 mmc_boot();
135#elif defined(CONFIG_SPL_SPI_BOOT)
136 fsl_spi_boot();
137#elif defined(CONFIG_SPL_NAND_BOOT)
138 nand_boot();
139#endif
140}
132
133#ifdef CONFIG_SPL_MMC_BOOT
134 mmc_boot();
135#elif defined(CONFIG_SPL_SPI_BOOT)
136 fsl_spi_boot();
137#elif defined(CONFIG_SPL_NAND_BOOT)
138 nand_boot();
139#endif
140}