|
@@ -312,17 +312,6 @@ static init_fnc_t *init_sequence[] = {
|
|
NULL, /* Terminate this list */
|
|
NULL, /* Terminate this list */
|
|
};
|
|
};
|
|
|
|
|
|
-ulong get_effective_memsize(void)
|
|
|
|
-{
|
|
|
|
-#ifndef CONFIG_VERY_BIG_RAM
|
|
|
|
- return gd->ram_size;
|
|
|
|
-#else
|
|
|
|
- /* limit stack to what we can reasonable map */
|
|
|
|
- return ((gd->ram_size > CONFIG_MAX_MEM_MAPPED) ?
|
|
|
|
- CONFIG_MAX_MEM_MAPPED : gd->ram_size);
|
|
|
|
-#endif
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static int __fixup_cpu(void)
|
|
static int __fixup_cpu(void)
|
|
{
|
|
{
|
|
return 0;
|
|
return 0;
|
|
@@ -343,13 +332,6 @@ int fixup_cpu(void) __attribute__((weak, alias("__fixup_cpu")));
|
|
* initialized, and stack space is limited to a few kB.
|
|
* initialized, and stack space is limited to a few kB.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#ifdef CONFIG_LOGBUFFER
|
|
|
|
-unsigned long logbuffer_base(void)
|
|
|
|
-{
|
|
|
|
- return CONFIG_SYS_SDRAM_BASE + get_effective_memsize() - LOGBUFF_LEN;
|
|
|
|
-}
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
void board_init_f(ulong bootflag)
|
|
void board_init_f(ulong bootflag)
|
|
{
|
|
{
|
|
bd_t *bd;
|
|
bd_t *bd;
|