19 Oct, 2010
2 commits
-
When planning for more generalization and Makefile cleanup it became
obvious that the introduction of a separate CONFIG_MK_ name space for
config options that were set through scripting in the Makefile was
not a good idea.Originally the idea was to provide a script-free approach to supply
configuration options - there was no real need for a separate name
space. But when we now convert the existing Makefile entries to make
use of this approach, it would mean that we have to touch a large
number of board config files and add #ifdef / #define sequences to
"convert" from the CONFIG_MK_ to the CONFIG_ name space.It seems much cleaner to get rid of this somewhat arbitrary _MK
string now for the few boards that actually use it.Signed-off-by: Wolfgang Denk
Acked-by: Mike Frysinger -
There are some boards where it's currently not possible to detect all
board information at runtime, therefore a new column was added to
boards.cfg .This column can contain multiple options: a board configuration name,
optionally followed by a colon (':') and a list of options, which are
separated by comma (',').In case of simple options like '256M_U_BOOT', these expand to
"#define CONFIG_MK_256M_U_BOOT 1" in config.h . In case of
assignments like 'RAM=8192', these expand to "#define CONFIG_MK_RAM
8192" in config.h .Example:
FOO:HAS_BAR,BAZ=64
means:
- the name of the board config file is include/configs/FOO.h
- the generated file include/config.h will contain these
lines:#define CONFIG_HAS_BAR 1
#define CONFIG_BAZ 64Signed-off-by: Marek Vasut
[wd@denx.de: edited commit message; added code to deal with an
optional board configuration name]Signed-off-by: Wolfgang Denk
14 Jun, 2010
2 commits
-
Instead of adding explicit build rules for each and every board to the
top level Makefile (which makes it grow and grow), we now provide a
simple default rule and extend the "mkconfig" script to read board
configurations from a plain text file (table), "boards.cfg".For simple boards it is now sufficient to add a single line of text to
the "boards.cfg" file, no changes to the top level Makefile are needed
any more.To make the table better readable, change the notation for unused
fields from "NULL" into "-".Signed-off-by: Wolfgang Denk
Cc: Peter Tyser
Cc: Mike Frysinger -
Instead of stripping the "_config" part from the make target names in
each call of the "mkconfig" script let this script strip the string.This prepares the ground for forther simplification of the top level
Makefile.Signed-off-by: Wolfgang Denk
13 Apr, 2010
1 commit
-
This helps to clean up the include/ directory so that it only contains
non-architecture-specific headers and also matches Linux's directory
layout which many U-Boot developers are already familiar with.Signed-off-by: Peter Tyser
18 Jan, 2010
1 commit
-
There are a bunch of features in U-Boot that we want to enable by default,
and it's best if we centralize them in one place rather than updating all
the board files out there.Signed-off-by: Mike Frysinger
05 Dec, 2009
1 commit
-
Conflicts:
board/esd/plu405/plu405.c
drivers/rtc/ftrtc010.cSigned-off-by: Wolfgang Denk
25 Nov, 2009
1 commit
-
Refuse to setup a platform if the command line ARCH= is not the same
as the one required for the board. This prevents any user with
prehistoric aliases from messing up their builds.Reported in thread:
http://old.nabble.com/-U-Boot--Build-breaks-on-some-OMAP3-configs-to26132721.htmlInputs from: Mike Frysinger and Wolfgang Denk:
http://lists.denx.de/pipermail/u-boot/2009-November/063642.htmlCc: Wolfgang Denk
Cc: Mike Frysinger
Cc: Anand Gadiyar
Cc: Dirk Behme
Signed-off-by: Nishanth Menon
02 Nov, 2009
1 commit
-
This patch extends the mkconfig script to automatically create a define
for the board directory in include/config.h:#define CONFIG_BOARDDIR board/amcc/canyonlands
This is needed for the upcoming PPC4xx linker script consolidation,
where the PPC440 platforms need to include a board specific file in
the common linker script.Signed-off-by: Stefan Roese
16 Sep, 2009
1 commit
-
To simplify the top level makefile it useful to be able to parse
the top level makefile target to multiple individual target, then
put them to the config.h, leave the board config file to handle
the different targets.Note that this method uses the '_'(underline) as the delimiter when
splits the board make target.Signed-off-by: Mingkai Hu
This also reverts commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f.
Signed-off-by: Wolfgang Denk
11 Sep, 2009
1 commit
-
Then we can handle different config targets in the board file, which
simplifies the top level Makefile for boards that have multiple
config targets.Signed-off-by: Mingkai Hu
19 Feb, 2009
1 commit
-
swapping the include order suppresses warnings for board configs
that define their own CONFIG_MAX_MEM_MAPPED:In file included from /home/r1aaha/git/u-boot/include/config.h:5,
from /home/r1aaha/git/u-boot/include/common.h:35,
from simpc8313.c:26:
/home/r1aaha/git/u-boot/include/configs/SIMPC8313.h:81:1: warning:
"CONFIG_MAX_MEM_MAPPED" redefined
In file included from /home/r1aaha/git/u-boot/include/config.h:4,
from /home/r1aaha/git/u-boot/include/common.h:35,
from simpc8313.c:26:
/home/r1aaha/git/u-boot/include/asm/config.h:28:1: warning: this is
the location of the previous definitionSigned-off-by: Kim Phillips
10 Feb, 2009
1 commit
-
We have common defines that we duplicate in various ways. Having an
arch specific config.h gives us a common location for those defines.Eventually we should be able to replace this when we have proper
Kconfig support.Signed-off-by: Kumar Gala
02 Sep, 2006
1 commit
-
Modifications are based on the linux kernel approach and
support two use cases:1) Add O= to the make command line
'make O=/tmp/build all'2) Set environement variable BUILD_DIR to point to the desired location
'export BUILD_DIR=/tmp/build'
'make'The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'Command line 'O=' setting overrides BUILD_DIR environent variable.
When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
21 Jul, 2006
1 commit
-
- make highboot configurations use environment at high end, too,
to avoid flash fragmentation
- always use redundand environment
- don't enable video code for modules without graphics controller
- provide useful (though different) mtdparts settings
- get rid of CONFIG_CS_AUTOCONF which was always set anyway* Extend mkconfig tool to print more useful target name
04 Aug, 2005
1 commit
-
Patch by Murray Jensen, 18 Jul 2005
21 Jul, 2005
1 commit
03 Apr, 2005
1 commit
-
- create SoC specific directories include/asm-arm/arch-imx and
include/asm-arm/arch-s3c24x0
10 Oct, 2004
1 commit
-
- Introducing the concept of SoCs "./cpu/$(CPU)/$(SOC)"
- creating subdirs for SoCs ./cpu/arm920t/imx and ./cpu/arm920t/s3c24x0
- moving SoC specific code out of cpu/arm920t/ into cpu/arm920t/$(SOC)/
- moving drivers/s3c24x0_i2c.c and drivers/serial_imx.c out of drivers/
into cpu/arm920t/$(SOC)/
26 Jun, 2003
1 commit
-
* Patch by Murray Jensen, 24 Jun 2003:
- make sure to use only U-boot provided header files
- fix problems with ".rodata.str1.4" section as used by GCC-3.x
03 Nov, 2002
1 commit