Changeset 850235d in mainline for boot/arch/arm32/include/arch.h


Ignore:
Timestamp:
2013-03-10T14:56:21Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05bab88
Parents:
ea906c29 (diff), 2277e03 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    rea906c29 r850235d  
    4242#ifdef MACHINE_gta02
    4343#define BOOT_BASE       0x30008000
     44#elif defined MACHINE_beagleboardxm
     45#define BOOT_BASE       0x80000000
     46#elif defined MACHINE_beaglebone
     47#define BOOT_BASE       0x80000000
    4448#else
    4549#define BOOT_BASE       0x00000000
     
    4852#define BOOT_OFFSET     (BOOT_BASE + 0xa00000)
    4953
     54#ifdef MACHINE_beagleboardxm
     55        #define PA_OFFSET 0
     56#elif defined MACHINE_beaglebone
     57        #define PA_OFFSET 0
     58#else
     59        #define PA_OFFSET 0x80000000
     60#endif
     61
    5062#ifndef __ASM__
    51         #define PA2KA(addr)  (((uintptr_t) (addr)) + 0x80000000)
     63        #define PA2KA(addr)  (((uintptr_t) (addr)) + PA_OFFSET)
    5264#else
    53         #define PA2KA(addr)  ((addr) + 0x80000000)
     65        #define PA2KA(addr)  ((addr) + PA_OFFSET)
    5466#endif
     67
    5568
    5669#endif
Note: See TracChangeset for help on using the changeset viewer.