spl.c (52c411805c090999f015df8bdf8016fb684746d0) | spl.c (088454cde245b4d431ce0181be8b3cbceea059d6) |
---|---|
1/* 2 * Copyright 2013-2015 Arcturus Networks, Inc. 3 * http://www.arcturusnetworks.com/products/ucp1020/ 4 * based on board/freescale/p1_p2_rdb_pc/spl.c 5 * original copyright follows: 6 * Copyright 2013 Freescale Semiconductor, Inc. 7 * 8 * SPDX-License-Identifier: GPL-2.0+ --- 96 unchanged lines hidden (view full) --- 105#endif 106 107#ifdef CONFIG_SYS_I2C 108 i2c_init_all(); 109#else 110 i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); 111#endif 112 | 1/* 2 * Copyright 2013-2015 Arcturus Networks, Inc. 3 * http://www.arcturusnetworks.com/products/ucp1020/ 4 * based on board/freescale/p1_p2_rdb_pc/spl.c 5 * original copyright follows: 6 * Copyright 2013 Freescale Semiconductor, Inc. 7 * 8 * SPDX-License-Identifier: GPL-2.0+ --- 96 unchanged lines hidden (view full) --- 105#endif 106 107#ifdef CONFIG_SYS_I2C 108 i2c_init_all(); 109#else 110 i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); 111#endif 112 |
113 gd->ram_size = initdram(); | 113 initdram(); |
114#ifdef CONFIG_SPL_NAND_BOOT 115 puts("Tertiary program loader running in sram..."); 116#else 117 puts("Second program loader running in sram...\n"); 118#endif 119 120#ifdef CONFIG_SPL_MMC_BOOT 121 mmc_boot(); 122#elif defined(CONFIG_SPL_NAND_BOOT) 123 nand_boot(); 124#endif 125} | 114#ifdef CONFIG_SPL_NAND_BOOT 115 puts("Tertiary program loader running in sram..."); 116#else 117 puts("Second program loader running in sram...\n"); 118#endif 119 120#ifdef CONFIG_SPL_MMC_BOOT 121 mmc_boot(); 122#elif defined(CONFIG_SPL_NAND_BOOT) 123 nand_boot(); 124#endif 125} |