Ignore:
Timestamp:
Sep 16, 2008, 10:16:26 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
85e3716
Parents:
07ce99e
Message:

2008-09-16 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, startup/bspstart.c, startup/linkcmds: Use top level shared bsp_get_work_area() implementation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c

    r07ce99e r4c5212e  
    3232 * Linker Script Defined Variables
    3333 */
    34 extern char _RamSize[];
    35 extern char _RamBase[];
     34extern char RamSize[];
     35extern char RamBase[];
    3636
    3737/*
     
    204204        int *nfp = (int *)*fp;
    205205        if ((nfp <= fp)
    206          || ((char *)nfp >= _RamSize)
    207          || ((char *)(nfp[1]) >= _RamSize))
     206         || ((char *)nfp >= RamSize)
     207         || ((char *)(nfp[1]) >= RamSize))
    208208            break;
    209209        printk("FP:%x -> %x    PC:%x\n", fp, nfp, nfp[1]);
     
    241241   * Cache SDRAM
    242242   */
    243   mcf5282_acr0_mode = MCF5XXX_ACR_AB((uint32_t)_RamBase)     |
    244                       MCF5XXX_ACR_AM((uint32_t)_RamSize-1)   |
     243  mcf5282_acr0_mode = MCF5XXX_ACR_AB((uint32_t)RamBase)     |
     244                      MCF5XXX_ACR_AM((uint32_t)RamSize-1)   |
    245245                      MCF5XXX_ACR_EN                         |
    246246                      MCF5XXX_ACR_BWE                        |
Note: See TracChangeset for help on using the changeset viewer.