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

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

128 (uchar *)CONFIG_ENV_ADDR);
129#endif
130
131 gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
132 gd->env_valid = 1;
133
134 i2c_init_all();
135
1/* Copyright 2014 Freescale Semiconductor, Inc.
2 *
3 * SPDX-License-Identifier: GPL-2.0+
4 */
5
6#include <common.h>
7#include <console.h>
8#include <asm/spl.h>

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

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