#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm 3.2.80 Kernel Configuration
+# Linux/arm 3.2.81 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
# CONFIG_MACH_OMAP_3630SDP is not set
CONFIG_OMAP3_EMU=y
CONFIG_OMAP3_SDRC_AC_TIMING=y
+CONFIG_OMAP3_DISABLE_UART4=y
#
# System MMU
wish to say no. Selecting yes without understanding what is
going on could result in system crashes;
+config OMAP3_DISABLE_UART4
+ bool "Disable UART4"
+ depends on ARCH_OMAP3
+ default n
+ help
+ Allows to disable UART4 on OMAP36xx/DM37xx so that the kernel doesn't
+ have to manage it. On older OMAP3s UART4 is not available and this
+ option has no effect.
+
endmenu
endif
OMAP3630_EN_UART4_MASK : 0;
u32 omap3630_grpsel_uart4_mask = cpu_is_omap3630() ?
OMAP3630_GRPSEL_UART4_MASK : 0;
+#ifdef CONFIG_OMAP3_DISABLE_UART4
+ omap3630_en_uart4_mask = omap3630_grpsel_uart4_mask = 0;
+#endif
/* XXX This should be handled by hwmod code or SCM init code */
omap_ctrl_writel(OMAP3430_AUTOIDLE_MASK, OMAP2_CONTROL_SYSCONFIG);
struct omap_hwmod *oh;
struct omap_uart_state *uart;
+#ifdef CONFIG_OMAP3_DISABLE_UART4
+ if (i == 3) {
+ i++;
+ continue;
+ }
+#endif
+
snprintf(oh_name, MAX_UART_HWMOD_NAME_LEN,
"uart%d", i + 1);
oh = omap_hwmod_lookup(oh_name);