summaryrefslogtreecommitdiff
path: root/blackfin_config.mk
AgeCommit message (Collapse)Author
2009-07-19push CROSS_COMPILE out to $(ARCH)_config.mkMike Frysinger
Each arch should handle setting a proper default CROSS_COMPILE value in their own config.mk file rather than having to maintain a large ugly list in the Makefile. By using conditional assignment, we don't have to worry about the variable already being set (env/cmdline/etc...). The common config.mk file takes care of exporting CROSS_COMPILE already, and while a few variables (toolchain ones) utilize CROSS_COMPILE before including the arch config.mk, they do so with deferred assignment. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-15Blackfin: move ALL += u-boot.ldr to blackfin_config.mkMike Frysinger
The way the ALL variable is used allows for config.mk's to add more targets themselves without having to clutter up the top level Makefile. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-14Blackfin: unify u-boot linker scriptsMike Frysinger
All the Blackfin linker scripts were duplicated across the board dirs with no difference save from the semi-often used ENV_IS_EMBEDDED option. So unify all of them in the lib_blackfin/ dir and for the few boards that need to embedded the environment directly, add a LDS_BOARD_TEXT define for them to customize via their board config file. This is much simpler than forcing them to duplicate the rest of the linker script. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-14Blackfin: support embedding the environment into loader files (LDRs)Mike Frysinger
For the most part, the Blackfin processor boots files in the LDR format rather than binary/ELF files. So we want to export the environment as a raw blob to the LDR utility so it can embed it at the right location. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-06Blackfin: fix booting with older bootroms (no EVT1)Mike Frysinger
When dropping jump block support, the assumption was that all bootroms supported entry point redirection via the EVT1 register. Unfortunately, this turned out to be incorrect for the oldest Blackfin parts (BF533-0.2 and older and BF561). No one really noticed earlier because these parts usually are booted by bypassing the bootrom entirely, and older BF533 parts are not supported at all (too many anomalies). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: kill off LDR jump blockMike Frysinger
The Boot ROM uses EVT1 as the entry point so set that rather than having to use a tiny jump block in the default EVT1 location. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: build with -mno-fdpicMike Frysinger
Use the -mno-fdpic flag so that any Blackfin toolchain can be used to build up u-boot, including ones that output FDPIC ELF by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: enable --gc-sectionsMike Frysinger
Start building all Blackfin boards with -ffunction-sections/-fdata-sections and linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: pass --bmode/--initcode when creating ldrMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: build with -fomit-frame-pointerMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-03-30Blackfin: unify cpu and boot modesMike Frysinger
All of the duplicated code for Blackfin processors and boot modes have been unified. After all, the core is the same for all processors, just the peripheral set differs (which gets handled in the drivers). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-03-15Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPUMike Frysinger
Stop tying things to the processor that should be tied to other defines and change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build system to select the -mcpu option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-04generate u-boot.ldr for Blackfin targetsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-04add support for Blackfin symbol prefixes to examplesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-04move -ffixed-P5 to blackfin_config.mk and drop unused -D__BLACKFIN__Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-11-03blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mkShinya Kuribayashi
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2007-03-09[Blackfin][PATCH-2/2] Common files changed to support bf533 platformAubrey.Li
2006-03-12Add missing Blackfin files.Wolfgang Denk