]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: mxs: Consolidate configuration options
authorMarek Vasut <marex@denx.de>
Sun, 16 Jun 2013 13:39:02 +0000 (15:39 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 24 Jul 2013 10:59:57 +0000 (12:59 +0200)
commit5434caf5ba32d0779f309d7a8d13e985dc667f5b
treed6c933377b3253110833de63c3d6fe55da05b54f
parent62c175fbb8a0f9a926c88294ea9f7e88eb898f6c
ARM: mxs: Consolidate configuration options

Pull all the duplicate configuration options into configs/mxs.h
from the board configuration files. This reduces the files greatly
and makes them somewhat more readable. Besides, we do no longer
have such a horrible duplication of code.

Note that the mx23evk grew in size slightly. This is due to the
CONFIG_SYS_CBSIZE now being set to 1024 as it is on the rest of
MXS systems.

This patch also fixes the OCRAM size for i.MX23. The i.MX23 has
only 32kB of OCRAM, while i.MX28 has 128kB of OCRAM.

I verified the configuration didn't change for each of the boards,
but I didn't boot-test it on the boards I do not have. I configured
U-Boot for each board using the "make ... <board>_config" command
and then ran "cpp -I include -dM include/config.h" , which dumped
all the configuration options. I did this both before and after this
patch and finally compared the results for each MXS board. Actually,
the results do differ slightly, since the configs/mxs.h file now
properly includes the correct iomux-mx23.h or iomux-mx28.h , so
while comparing, I had to ignore these new defines. These have no
impact on U-Boot configuration though.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
include/configs/apx4devkit.h
include/configs/m28evk.h
include/configs/mx23_olinuxino.h
include/configs/mx23evk.h
include/configs/mx28evk.h
include/configs/mxs.h [new file with mode: 0644]
include/configs/sc_sps_1.h