Changeset 6968948 in mainline


Ignore:
Timestamp:
2013-01-24T21:41:30Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
378757f
Parents:
077b9172
Message:

bootloader mm: add support to the cacheable property for am335x.

Location:
boot/arch/arm32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/include/mm.h

    r077b9172 r6968948  
    6363#define BBXM_RAM_END   0xc0000000
    6464
     65/** Start of ram memory on AM335x */
     66#define AM335x_RAM_START   0x80000000
     67/** End of ram memory on AM335x */
     68#define AM335x_RAM_END     0xC0000000
     69
    6570
    6671/* Page table level 0 entry - "section" format is used
  • boot/arch/arm32/src/mm.c

    r077b9172 r6968948  
    6969        const unsigned long address = section << PTE_SECTION_SHIFT;
    7070        if (address >= BBXM_RAM_START && address < BBXM_RAM_END)
     71                return 1;
     72#elif defined MACHINE_beaglebone
     73        const unsigned long address = section << PTE_SECTION_SHIFT;
     74        if (address >= AM335x_RAM_START && address < AM335x_RAM_END)
    7175                return 1;
    7276#endif
Note: See TracChangeset for help on using the changeset viewer.