summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-18Makefile: fix parallel buildDaniel Hobi
During parallel build, the top Makefile spawns multiple sub-makes for targets in cpu/$(CPU) and $(dir $(LDSCRIPT)). If the .depend files are not present in these directories, the sub-makes may end up generating these files simultaneously which leads to corrupted content. A typical error message is: .depend:39: *** multiple target patterns. Stop. This patch serializes the creation of .depend in cpu/$(CPU) and $(dir $(LDSCRIPT)) by adding these directories to the depend target in the top Makefile. Other directories in $(LIBS) are not affected since they contain only one Make target and thus only one sub-make is spawned per directory. Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-18Blackfin: add support for kgdbRobin Getz
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-18asm-generic/signal.h: import from linuxRobin Getz
We need signal.h for Blackfin/KGDB, so import the asm-generic/signal.h for people to leverage. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17CRAMFS: support cramfs in RAMHeiko Schocher
cramfsls and cramfsload are added to the command list. A cramfs placed at 'cramfs_addr' can the be listed with 'cramfsls' and files can be loaded with 'cramfsload'. 'cramfs_addr' is an environment variable specifying the address the cramfs is located. This works for powerpc and for ARM. Use CONFIG_CMD_CRAMFS. Signed-off-by: Andreas Huber <andreas.huber@keymile.com> Signed-off-by: Heiko Schocher <hs@denx.de>
2010-01-17powerpc: keymile boards updatesHeiko Schocher
- malloc size 4 MB for all keymile boards - use generic FDT code for fixing up the DTS - enable unit-led at startup for keymile boards - remove some dts updates for keymile boards - ppc_83xx, kmeter1: take FE/GbE PHYs out of reset - ppc_83xx, kmeter1: change from Intel Strata to Spansion 64MB flash changed from Intel Strata to Spansion 64MB flash and changed flash layout. +---------+----------+-----------------------+-----------------------------+ | name | size | range | description | +---------+----------+-----------------------+-----------------------------+ | u-boot | 768 KB | 0xf0000000-0xf00bffff | for u-boot | | env | 128 KB | 0xf00c0000-0xf00dffff | for environment | | envred | 128 KB | 0xf00e0000-0xf00fffff | for environment (redundant) | | ubi0 | 64512 KB | 0xf0100000-0xf3ffffff | ubi0 for ubi volumes | +---------+----------+-----------------------+-----------------------------+ Signed-off-by: Heiko Schocher <hs@denx.de>
2010-01-17env, eeprom: add redundant environment supportHeiko Schocher
Add redundant environment support for environment lying on a EEPROM. Tested on uppcoming suen3 support Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
2010-01-17cmd_eeprom: I2C updatesHeiko Schocher
- CONFIG_ENV_EEPROM_IS_ON_I2C define this, if you have I2C and SPI activated, and your EEPROM, which holds the environment, is on the I2C bus. - CONFIG_I2C_ENV_EEPROM_BUS if you have an Environment on an EEPROM reached over I2C muxes, you can now define, how to reach this EEPROM. Signed-off-by: Heiko Schocher <hs@denx.de>
2010-01-17move definition of macros likely and unlikely to compiler.hMatthias Kaehlcke
the macros likely and unlikely were defined in include/linux/mtd/compat.h, but used in code not related to MTD. moved the macro definitions to compiler.h Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
2010-01-17cmd_bootm.c: Change interpretation of standalone image parameters.Detlev Zundel
Current code uses the second argument to bootm for standalone images to override the load address specified in the image instead of passing all parameters as is to the application. This behaviour is not documented and not in line with how the go command works for standalone applications, so we simply drop it. Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-01-17cmd_bootm.c: Do not load a ramdisk when not booting a kernel.Detlev Zundel
In case we boot an image marked as 'standalone' and 'linux', the current code erroneously tried to load a ramdisk. Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-01-17kgdb: update mem2hex/hex2mem funcsRobin Getz
Convert the funcs to do the conversion inline so that we can do the copy all at once with memcpy. This let's us push out an weird arch-specific issue with accessing different regions of memory to the memcpy function like the MMRs on Blackfin systems, and it should be a bit faster. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17kgdb: drop duplicate debugger_exception_handlerMike Frysinger
The debugger_exception_handler definition is the same for everyone, so use the common one now. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17kgdb: add default generic stubsRobin Getz
The default kgdb functions can be implemented with common U-Boot functions, so rather than force everyone to copy & paste these things, create a set of weak stubs. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17netconsole: mark local funcs with staticMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17easylogo: add support for 16-bit RGB565Michael Hennerich
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17mpc5xxx/cpu_init.c: Convert to IO accessors.Detlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-01-17mpc5xxx.h: Add structure definition for XLB arbiter block.Detlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2010-01-17config_defaults.h: new header for common u-boot config defaultsMike Frysinger
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 <vapier@gentoo.org>
2010-01-17Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk
2010-01-17PCIe, USB: Replace 'end point' references with 'endpoint'Peter Tyser
When referring to PCIe and USB 'endpoint' is the standard naming convention. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Remy Bohmer <linux@bohmer.net>
2010-01-17Make getenv_IPaddr() globalDirk Behme
There are boards out there that do not have network support in U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This makes it desirable to be able to port network configuration (like the IP address) to the Linux kernel. We should not make the passing of the IP configuration to Linux dependent on U-Boot features / settings. For this, make getenv_IPaddr() global. This fixes build error u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr' on various architectures. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com> Acked-by: Ben Warren <biggerbadderben@gmail.com>
2010-01-17Blackfin: drop .eh_frame from linker scriptMike Frysinger
Nothing in U-Boot uses runtime C++ exceptions/unwinding, so there is no need to list this section. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: use sort funcs in the linker scriptMike Frysinger
This is just Blackfin catching up with every one else. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: tcm-bf518: new board portHarald Krapfenbauer
Signed-off-by: Harald Krapfenbauer <Harald.Krapfenbauer@bluetechnix.at> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: enable JFFS summary support for ADI boardsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bf518f-ezbrd: increase monitor lengthMike Frysinger
The addition of KGDB overflowed the current linker section. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: handle anomaly 05000257Robin Getz
Need to reload the loop counters to keep from corrupting hardware loops. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: keep hwtrace on CPLB missRobin Getz
Crashes rarely happen in the CPLB miss handler compared to the rest of U-Boot code, so disable hardware tracing when processing misses. This way a crash due to other functions will be shown properly. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: add a netconsole helperRobin Getz
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: add support for BF527-EZKIT v2.1Michael Hennerich
The new board revision has a different LCD. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bf527-ezkit/bf548-ezkit: add musb board specific initializationCliff Cai
Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bfin_spi: round up clock dividerCliff Cai
If the requested clock cannot be exactly obtained, round it up so that we err on the side of slightly slower rather than slightly faster. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: pull io funcs from linuxMike Frysinger
Some common code uses more of the io.h funcs than we currently provide, so pull in all of the ones from the linux kernel. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: section off the CF/IDE io.h hacksMike Frysinger
These need to be rethought, but until that happens, isolate the hack so that we can extend the common code without breaking things. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: drop unused funcs from io.hMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bf533-stamp: split and cleanup CF/IDE codeMike Frysinger
Give the CF/IDE code its own file to keep things cleanly separated. While we're here, clean up the code to use common functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: convert bfin_sdh to generic mmcCliff Cai
Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bfin_spi: let boards control idle valueCliff Cai
Some SPI devices like to see high idle values rather than low. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: asm/string.h: drop useless includesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: use new bfin read/write mmr helper funcsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: move watchdog config check to MakefileMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: fix L1 Instruction sizes on BF52x/BF54xMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bf527-ezkit: auto-select NAND settingsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: support boards with no external memoryMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: re-architect initcodeMike Frysinger
The single initcode function was growing unwieldy, so split it up the distinct steps into their own function. This should making digesting the result much easier on people. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: global_data.h: make pull in needed headersMike Frysinger
We need the definition of bd_t in this header, so pull in asm/u-boot.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: kill off useless initdram() usageMike Frysinger
While the initdram() function makes sense on some arches, it doesn't for Blackfin systems as it's always implemented the same way. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: move section length calculation to linker scriptMike Frysinger
The length of the sections is fixed at link time, so let the linker do the calculation rather than doing it ourselves at runtime. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: bf561-acvilon: new board portValentin Yakovenkov
Signed-off-by: Valentin Yakovenkov <yakovenkov@niistt.ru> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: ADI settings: enable silent console supportMike Frysinger
Very little additional code overhead, and only works when the user sets an env var ahead of time, so default to on makes sense. Signed-off-by: Mike Frysinger <vapier@gentoo.org>