mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
Some non-critical fixes for msm platforms. The missing FPGA init call
fix is necessary to compile the 8660 target. The iomapping calls are needed to prevent duplicate mappings with differing attributes. And, the debug UART change keeps the debug UART working on targets with more than 512MB of memory. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAABAgAGBQJQUie/AAoJEOa6n1xeVN+CmncP/0ufJ94cEwbILo08c2gpU5SN 47rgnyPYK+RpEenkf55pLiaIHfEP7TvQe5nYWP0eGcIzt6ta1L++DJP+mkbVvSLK e+4s7FViQiilooXqDoUyDRdJJKvTkHOR+YrVC3NKqGkKRpnVZdnpJNofDdzCRp4h Hshh8r9nSjmz676CDc43iCJdFWh50St1yxe0GBVqI358bRXkwZt3FwIHMTjnXynN IVoYMkEPXmWiehROFi0AKzIRRcPaTxtcBuCaCl1ERjySicY/QctqGhrnbZYlPNMq MdQ/Y5glo54bEJl8XdUW6FpIaKl2KnTFcFVgNH5ALjD+l3ZKmlOu2ig2g6K9cwI/ Kp/vQQX5WbKQz6XtMkN+4Bulc+JFxI4G+TmWFa5rZB9Wkwcv1rR/x9czBxPWD8lz VoVrNCltCUB2QMN6w5wj665PhXDbQdeU/6/W0Qcoh81X0WcKeSpDRhpM8TWDrRHb GkxNS8Enr/K4I4BMhRy1h5hGR8WG+GJzJdPFf77R6sjBDmrsUwaE97LsleeRiVft WxPRjgkBJG6zb3YTGEWKmjQkkeAoOCCK24OBQ/O317m1YmZaULknwjvRtNj5GNsz 3jBzpBWmsusGlVn6s39IU8o9JOWSmj/QIjq4OvzYmbA9byBLKIx0C9Uil4NaPj2l vNIavK4F/ppEc0kwD1gq =Foys -----END PGP SIGNATURE----- Merge tag 'msm-fix-noncrit-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm into next/fixes-non-critical From David Brown: Some non-critical fixes for msm platforms. The missing FPGA init call fix is necessary to compile the 8660 target. The iomapping calls are needed to prevent duplicate mappings with differing attributes. And, the debug UART change keeps the debug UART working on targets with more than 512MB of memory. * tag 'msm-fix-noncrit-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm: ARM: msm: Fix early debug uart mapping on some memory configs ARM: msm: io: Change the default static iomappings to be shared ARM: msm: io: Remove 7x30 iomap region from 7x00 ARM: msm: Remove call to missing FPGA init on 8660
This commit is contained in:
commit
ca43af527e
@ -93,11 +93,6 @@ static struct of_dev_auxdata msm_auxdata_lookup[] __initdata = {
|
||||
|
||||
static void __init msm8x60_dt_init(void)
|
||||
{
|
||||
if (of_machine_is_compatible("qcom,msm8660-surf")) {
|
||||
printk(KERN_INFO "Init surf UART registers\n");
|
||||
msm8x60_init_uart12dm();
|
||||
}
|
||||
|
||||
of_platform_populate(NULL, of_default_bus_match_table,
|
||||
msm_auxdata_lookup, NULL);
|
||||
}
|
||||
|
@ -46,7 +46,7 @@
|
||||
#define MSM8960_TMR0_SIZE SZ_4K
|
||||
|
||||
#ifdef CONFIG_DEBUG_MSM8960_UART
|
||||
#define MSM_DEBUG_UART_BASE 0xE1040000
|
||||
#define MSM_DEBUG_UART_BASE 0xF0040000
|
||||
#define MSM_DEBUG_UART_PHYS 0x16440000
|
||||
#endif
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
||||
#define MSM8X60_TMR0_SIZE SZ_4K
|
||||
|
||||
#ifdef CONFIG_DEBUG_MSM8660_UART
|
||||
#define MSM_DEBUG_UART_BASE 0xE1040000
|
||||
#define MSM_DEBUG_UART_BASE 0xF0040000
|
||||
#define MSM_DEBUG_UART_PHYS 0x19C40000
|
||||
#endif
|
||||
|
||||
|
@ -29,30 +29,31 @@
|
||||
|
||||
#include <mach/board.h>
|
||||
|
||||
#define MSM_CHIP_DEVICE(name, chip) { \
|
||||
#define MSM_CHIP_DEVICE_TYPE(name, chip, mem_type) { \
|
||||
.virtual = (unsigned long) MSM_##name##_BASE, \
|
||||
.pfn = __phys_to_pfn(chip##_##name##_PHYS), \
|
||||
.length = chip##_##name##_SIZE, \
|
||||
.type = MT_DEVICE_NONSHARED, \
|
||||
.type = mem_type, \
|
||||
}
|
||||
|
||||
#define MSM_DEVICE_TYPE(name, mem_type) \
|
||||
MSM_CHIP_DEVICE_TYPE(name, MSM, mem_type)
|
||||
#define MSM_CHIP_DEVICE(name, chip) \
|
||||
MSM_CHIP_DEVICE_TYPE(name, chip, MT_DEVICE)
|
||||
#define MSM_DEVICE(name) MSM_CHIP_DEVICE(name, MSM)
|
||||
|
||||
#if defined(CONFIG_ARCH_MSM7X00A) || defined(CONFIG_ARCH_MSM7X27) \
|
||||
|| defined(CONFIG_ARCH_MSM7X25)
|
||||
static struct map_desc msm_io_desc[] __initdata = {
|
||||
MSM_DEVICE(VIC),
|
||||
MSM_CHIP_DEVICE(CSR, MSM7X00),
|
||||
MSM_DEVICE(DMOV),
|
||||
MSM_CHIP_DEVICE(GPIO1, MSM7X00),
|
||||
MSM_CHIP_DEVICE(GPIO2, MSM7X00),
|
||||
MSM_DEVICE(CLK_CTL),
|
||||
MSM_DEVICE_TYPE(VIC, MT_DEVICE_NONSHARED),
|
||||
MSM_CHIP_DEVICE_TYPE(CSR, MSM7X00, MT_DEVICE_NONSHARED),
|
||||
MSM_DEVICE_TYPE(DMOV, MT_DEVICE_NONSHARED),
|
||||
MSM_CHIP_DEVICE_TYPE(GPIO1, MSM7X00, MT_DEVICE_NONSHARED),
|
||||
MSM_CHIP_DEVICE_TYPE(GPIO2, MSM7X00, MT_DEVICE_NONSHARED),
|
||||
MSM_DEVICE_TYPE(CLK_CTL, MT_DEVICE_NONSHARED),
|
||||
#if defined(CONFIG_DEBUG_MSM_UART1) || defined(CONFIG_DEBUG_MSM_UART2) || \
|
||||
defined(CONFIG_DEBUG_MSM_UART3)
|
||||
MSM_DEVICE(DEBUG_UART),
|
||||
#endif
|
||||
#ifdef CONFIG_ARCH_MSM7X30
|
||||
MSM_DEVICE(GCC),
|
||||
MSM_DEVICE_TYPE(DEBUG_UART, MT_DEVICE_NONSHARED),
|
||||
#endif
|
||||
{
|
||||
.virtual = (unsigned long) MSM_SHARED_RAM_BASE,
|
||||
|
Loading…
Reference in New Issue
Block a user