config: add memory offset config parameter
This commit is contained in:
parent
0af404637e
commit
b67866d360
@ -1043,3 +1043,8 @@ config MSM_SSBI
|
||||
help
|
||||
Enable support for SSBI bus. This is required for communicatinig with
|
||||
Qualcomm PMICs and Audio codecs.
|
||||
|
||||
config PHYS_OFFSET
|
||||
hex
|
||||
depends on MACH_HTCLEO
|
||||
default "0x11800000" if MACH_HTCLEO
|
||||
|
@ -146,7 +146,7 @@ MACHINE_START(HTCLEO, "htcleo")
|
||||
.phys_io = MSM_DEBUG_UART_PHYS,
|
||||
.io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
|
||||
#endif
|
||||
.boot_params = 0x11800100,
|
||||
.boot_params = (CONFIG_PHYS_OFFSET + 0x00000100),
|
||||
.fixup = htcleo_fixup,
|
||||
.map_io = htcleo_map_io,
|
||||
.init_irq = msm_init_irq,
|
||||
|
@ -17,7 +17,9 @@
|
||||
#define __ASM_ARCH_MEMORY_H
|
||||
|
||||
/* physical offset of RAM */
|
||||
#if defined(CONFIG_ARCH_QSD8X50)
|
||||
#if defined(CONFIG_PHYS_OFFSET)
|
||||
#define PHYS_OFFSET UL(CONFIG_PHYS_OFFSET)
|
||||
#elif defined(CONFIG_ARCH_QSD8X50)
|
||||
#define PHYS_OFFSET UL(0x20000000)
|
||||
#elif defined(CONFIG_ARCH_MSM7225)
|
||||
#define PHYS_OFFSET UL(0x02E00000)
|
||||
|
Loading…
Reference in New Issue
Block a user