summaryrefslogtreecommitdiffstats
path: root/blackfin_config.mk
Commit message (Collapse)AuthorAgeFilesLines
* Move architecture specific config.mk files into subdirsPeter Tyser2009-07-211-66/+0
| | | | | | | | This cleans up U-Boot's toplevel directory a bit and makes the architecture 'config.mk' file naming and location similar to board and cpu 'config.mk' files Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* push CROSS_COMPILE out to $(ARCH)_config.mkMike Frysinger2009-07-191-0/+2
| | | | | | | | | | | | | 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>
* Blackfin: move ALL += u-boot.ldr to blackfin_config.mkMike Frysinger2009-06-151-2/+4
| | | | | | | 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>
* Blackfin: unify u-boot linker scriptsMike Frysinger2009-06-141-0/+4
| | | | | | | | | | | 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>
* Blackfin: support embedding the environment into loader files (LDRs)Mike Frysinger2009-06-141-0/+7
| | | | | | | | 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>
* Blackfin: fix booting with older bootroms (no EVT1)Mike Frysinger2009-05-061-1/+5
| | | | | | | | | | | 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>
* Blackfin: kill off LDR jump blockMike Frysinger2009-03-231-0/+1
| | | | | | | 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>
* Blackfin: build with -mno-fdpicMike Frysinger2009-02-021-1/+1
| | | | | | | 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>
* Blackfin: enable --gc-sectionsMike Frysinger2009-02-021-0/+3
| | | | | | | Start building all Blackfin boards with -ffunction-sections/-fdata-sections and linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: pass --bmode/--initcode when creating ldrMike Frysinger2009-01-281-0/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: build with -fomit-frame-pointerMike Frysinger2008-10-231-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: unify cpu and boot modesMike Frysinger2008-03-301-0/+3
| | | | | | | | 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>
* Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPUMike Frysinger2008-03-151-1/+5
| | | | | | | | 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>
* generate u-boot.ldr for Blackfin targetsMike Frysinger2008-02-041-0/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add support for Blackfin symbol prefixes to examplesMike Frysinger2008-02-041-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* move -ffixed-P5 to blackfin_config.mk and drop unused -D__BLACKFIN__Mike Frysinger2008-02-041-1/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mkShinya Kuribayashi2007-11-031-1/+1
| | | | Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* [Blackfin][PATCH-2/2] Common files changed to support bf533 platformAubrey.Li2007-03-091-1/+1
|
* Add missing Blackfin files.Wolfgang Denk2006-03-121-0/+24
OpenPOWER on IntegriCloud