ARM: msm: Fix early debug uart mapping on some memory configs
The uart mapping runs into the space allocated for lowmem on some 8960 boards when we have more than 512Mb of memory. We were getting lucky before and our mapping wasn't part of DDR. Move the mapping up into the vmalloc area which will always be outside of the lowmem mapping regardless of how much lowmem actually exists. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
Родитель
90eb385fd1
Коммит
10717e04d3
|
@ -46,7 +46,7 @@
|
||||||
#define MSM8960_TMR0_SIZE SZ_4K
|
#define MSM8960_TMR0_SIZE SZ_4K
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_MSM8960_UART
|
#ifdef CONFIG_DEBUG_MSM8960_UART
|
||||||
#define MSM_DEBUG_UART_BASE 0xE1040000
|
#define MSM_DEBUG_UART_BASE 0xF0040000
|
||||||
#define MSM_DEBUG_UART_PHYS 0x16440000
|
#define MSM_DEBUG_UART_PHYS 0x16440000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
#define MSM8X60_TMR0_SIZE SZ_4K
|
#define MSM8X60_TMR0_SIZE SZ_4K
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_MSM8660_UART
|
#ifdef CONFIG_DEBUG_MSM8660_UART
|
||||||
#define MSM_DEBUG_UART_BASE 0xE1040000
|
#define MSM_DEBUG_UART_BASE 0xF0040000
|
||||||
#define MSM_DEBUG_UART_PHYS 0x19C40000
|
#define MSM_DEBUG_UART_PHYS 0x19C40000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче