]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: OMAP4/5: Do not configure non essential pads, clocks, dplls.
authorSRICHARAN R <r.sricharan@ti.com>
Tue, 12 Jun 2012 19:53:33 +0000 (19:53 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:36 +0000 (14:07 +0200)
Currently on OMAP4/5 platforms, many kernel drivers are dependent
upon the bootloaders for mux, dpll and clock configurations.
This should not be the case and bootloaders should set only the
minimum required for the uboot functionality and kernel boot.

Note that this is going to break the kernel drivers. But this
is the only way to get things fixed in the kernel.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
include/configs/omap4_common.h
include/configs/omap5_evm.h

index e7a3de5a667517bc27ac07f3898fe1fed482efc0..2192c2b8993e395a07435d0172e30244fd33c741 100644 (file)
 /* Flash */
 #define CONFIG_SYS_NO_FLASH    1
 
-/* clocks */
-#define CONFIG_SYS_CLOCKS_ENABLE_ALL
-
 /* commands to include */
 #include <config_cmd_default.h>
 
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
 
-#define CONFIG_SYS_ENABLE_PADS_ALL
-
 #define CONFIG_SYS_THUMB_BUILD
 
 #endif /* __CONFIG_OMAP4_COMMON_H */
index 837838700aae7c68f60e38f670dffa25fee53906..c5874bbf67b6d6d077df2697c5a7788292268726 100644 (file)
@@ -50,8 +50,6 @@
 /* Clock Defines */
 #define V_OSCK                 19200000        /* Clock output from T2 */
 #define V_SCLK V_OSCK
-#define CONFIG_SYS_CLOCKS_ENABLE_ALL   1       /* Enable all clocks */
-#define CONFIG_SYS_ENABLE_PADS_ALL     1       /* Enable all PADS for now */
 
 #undef CONFIG_USE_IRQ  /* no support for IRQs */
 #define CONFIG_MISC_INIT_R