Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270093
b: refs/heads/master
c: 4611b68
h: refs/heads/master
i:
  270091: 46b6f66
v: v3
  • Loading branch information
Nicolas Pitre authored and Nicolas Pitre committed Aug 21, 2011
1 parent d4f77dd commit 25e11ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b61cafee2e0b1c83f99be07d7aef6331b5e9f25d
refs/heads/master: 4611b68922addef195c62f7dd86ef48aaf742989
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-u300/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
#ifdef CONFIG_MACH_U300_DUAL_RAM

#define PLAT_PHYS_OFFSET UL(0x48000000)
#define BOOT_PARAMS_OFFSET (PHYS_OFFSET + 0x100)
#define BOOT_PARAMS_OFFSET 0x100

#else

#ifdef CONFIG_MACH_U300_2MB_ALIGNMENT_FIX
#define PLAT_PHYS_OFFSET (0x28000000 + \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE - \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024)
#define BOOT_PARAMS_OFFSET (0x100 + \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1)*1024*1024*2)
#else
#define PLAT_PHYS_OFFSET (0x28000000 + \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE + \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024)
#define BOOT_PARAMS_OFFSET 0x100
#endif
#define BOOT_PARAMS_OFFSET (0x28000000 + \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE + \
(CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024 + 0x100)
#endif

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-u300/u300.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void __init u300_init_machine(void)

MACHINE_START(U300, MACH_U300_STRING)
/* Maintainer: Linus Walleij <linus.walleij@stericsson.com> */
.boot_params = BOOT_PARAMS_OFFSET,
.atag_offset = BOOT_PARAMS_OFFSET,
.map_io = u300_map_io,
.reserve = u300_reserve,
.init_irq = u300_init_irq,
Expand Down

0 comments on commit 25e11ce

Please sign in to comment.