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 <ns16550.h>

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

62 /* relocate environment function pointers etc. */
63 nand_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE,
64 (uchar *)CONFIG_ENV_ADDR);
65 gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
66 gd->env_valid = 1;
67
68 i2c_init_all();
69
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 <ns16550.h>

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

62 /* relocate environment function pointers etc. */
63 nand_spl_load_image(CONFIG_ENV_OFFSET, CONFIG_ENV_SIZE,
64 (uchar *)CONFIG_ENV_ADDR);
65 gd->env_addr = (ulong)(CONFIG_ENV_ADDR);
66 gd->env_valid = 1;
67
68 i2c_init_all();
69
70 gd->ram_size = initdram();
70 initdram();
71
72#ifdef CONFIG_SPL_NAND_BOOT
73 puts("TPL\n");
74#else
75 puts("SPL\n");
76#endif
77
78 nand_boot();
79}
71
72#ifdef CONFIG_SPL_NAND_BOOT
73 puts("TPL\n");
74#else
75 puts("SPL\n");
76#endif
77
78 nand_boot();
79}