Changeset d5f99e6 in mainline for boot/arch/arm32/include/arch.h
- Timestamp:
- 2012-04-01T19:04:19Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a44ae3dd
- Parents:
- 81f70b4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/include/arch.h
r81f70b4 rd5f99e6 51 51 52 52 #ifdef MACHINE_beagleboardxm 53 #define PA 2KA(addr) (addr)53 #define PA_OFFSET 0 54 54 #else 55 #define PA_OFFSET 0x80000000 56 #endif 55 57 56 58 #ifndef __ASM__ 57 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000)59 #define PA2KA(addr) (((uintptr_t) (addr)) + PA_OFFSET) 58 60 #else 59 #define PA2KA(addr) ((addr) + 0x80000000)61 #define PA2KA(addr) ((addr) + PA_OFFSET) 60 62 #endif 61 63 62 #endif63 64 64 65 #endif
Note:
See TracChangeset
for help on using the changeset viewer.