aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-24Blackfin: add hack for crappy m25p80Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: bf537-stamp: increase monitor sizeMike Frysinger
The new jffs2 code pushed the code size just over the limit, so increase the limit a bit more. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: bf537-stamp: bump default SCLK up to 125MHzMike Frysinger
Since all of the bf537-stamp and bf537-ezkit boards out there can handle it, increase the speed of SCLK to 125MHz rather than 100MHz. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: bf537-stamp: rewrite MAC-in-flash handlingMike Frysinger
Use the common net eth functions to setup the env/global data with the MAC address, and properly handle the case where CONFIG_SYS_NO_FLASH is defined. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: add clkin_hz= to default kernel command line for ADI boardsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: bf533-stamp: bump up default clocksMike Frysinger
Since the hardware can handle it, bump the default clocks from 80mhz SCLK and 398mhz CCLK to 100mhz SCLK and 498mhz CCLK. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: bf533-stamp: rewrite startup LED notificationsMike Frysinger
Again, don't clobber pins that we aren't actually using, and use the common LED framework rather than our own hob-job-but-not-really-working. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-24Blackfin: unify common ADI board settingsMike Frysinger
Rather than duplicate the same ADI settings in every ADI board, create a common ADI config header and have all ADI boards start using that. This will also make merging the ~10 boards I have to forward port a lot easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: put memory into self-refresh before/after programming clocksMike Frysinger
When initializing the core clocks, stick external memory into self-refresh. This gains us a few cool things: - support suspend-to-RAM with Linux - reprogram clocks automatically when doing "go" on u-boot.bin in RAM - make sure settings are stable before flashing new version - finally fully unify initialize startup code path between LDR/non-LDR Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: do not program voltage regulator on parts that do not have oneMike Frysinger
Some newer Blackfins (like the BF51x) do not have an on-chip voltage regulator, so do not attempt to program the memory as if it does. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllersMike Frysinger
If the board config does not specify an explicit EBIU_SDBCTL value, set it up with sane values based on other configuration options. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: handle reboot anomaly 432Mike Frysinger
Workaround anomaly 432: The bfrom_SysControl() firmware function does not clear the SIC_IWR1 register before executing the PLL programming sequence. Therefore, any interrupt enabled in the SIC_IWR1 register prior to the call to bfrom_SysControl() can prematurely terminate the idle sequence required for the PLL to relock properly. SIC_IWR0 is properly handled. 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-03-23Blackfin: simplify symbol_lookup() a bitMike Frysinger
No need to skip a byte as the symbol table handles this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: fix SIC_RVECT definition: it is 16bits, not 32bitsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: drop SPORT_TX read helper macrosMike Frysinger
The SPORT_TX registers cannot be read (the hardware will trigger an error), so drop the read helper macros. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: unify duplicate CPU port definitionsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: drop now-unused CONFIG_SYS_BFIN_CMD_XXXMike Frysinger
With the new CONFIG_XXX system and CONFIG_CMD_XXX handling, these defines are no longer used/needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: print out Flash: before checking itMike Frysinger
If there is some problem in the flash init/checking code, it's nicer to see the message "Flash:" before crashing. This way the source of the problem is a bit more straightforward. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: safely flush data caches when in writeback modeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: update lockbox api according to latest documentationMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: mark bfin_reset staticMike Frysinger
The function is only used locally, so mark it static. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: spi: there is no PORTJ_FER MMR on BF537Sonic Zhang
Since the PORTJ on the BF537 is peripheral-only (no GPIO functionality), then there is no PORTJ_FER register for us to worry about. Signed-off-by: Sonic Zhang <Sonic.Zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: fix jtag console tstcMike Frysinger
The jtag tstc operation was checking the hardware to see if data is available from it (which is fine for the jtag getc operation), but the higher layers need to know whether any data is available. Since we have to read up to 4 bytes at a time from the hardware, the higher layers need to know they can consume the cached bytes as well. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: bf537-stamp: move CONFIG_POST handling to COBJS-$(...)Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: unify net-related init codeMike Frysinger
Unify all of the net-related init code in the common Blackfin board init code to clean up the ifdef mess a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: fix SWRST/SYSCR register sizesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Blackfin: update anomaly listsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-23Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk
2009-03-23Merge branch 'master' of git://git.denx.de/u-boot-cfi-flashWolfgang Denk
2009-03-23Merge branch 'evk1100-prep'Haavard Skinnemoen
2009-03-23Merge branch 'mimc200'Haavard Skinnemoen
2009-03-23avr32: fix cacheflush.h location introducted by d8f2aa3298610bJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2009-03-23Make flash protection work, when the environment is in EEPROMEric Schumann
On the pcm030 the environment is located in the onboard EEPROM. But we want to handle flash sector protection in a safe manner. So we must read the unlock environment variable from EEPROM instead from flash. This patch is required as long the evironment is saved into the EEPROM. Stefan: Additional change as suggested by Wolfgang, use bigger char array (instead of 4). Signed-off-by: Eric Schumann <E.Schumann@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-23Add define for mpc5200 CDM_CLK_ENAJon Smirl
Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
2009-03-21Merge branch 'next' of ../nextWolfgang Denk
2009-03-21Prepare 2009.03v2009.03Wolfgang Denk
Update CHANGELOG Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-03-21Replaced endpoint numbers with appropriate macros in usbtty.c.Vivek Kutal
Signed-off-by: Vivek Kutal <vivek.kutal@azingo.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-03-20UBIFS: Missing offset relocation for compressor 'none'Michael Lawnick
On systems where U-Boot is linked to another address than it really lays (e.g. backup image), calls via function pointers must be fixed with a '+= gd->reloc_off'. This was not done for none_compr in ubifs_compressors_init() what leads to system crash on ubifsmount command. Signed-off-by: Michael Lawnick <ml.lawnick@gmx.de> Acked-by: Stefan Roese <sr@denx.de>
2009-03-20UBIFS: Add UBIFS commandsStefan Roese
This patchset adds these UBIFS related commands: - ubifsmount Mount an UBIFS volume - ubifsls List a directory of the mounted UBIFS volume - ubifsload Load a file from the mounted UBIFS volume to memory Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20UBIFS: Implement read-only UBIFS support in U-BootStefan Roese
The U-Boot UBIFS implementation is largely a direct copy from the current Linux version (2.6.29-rc6). As already done in the UBI version we have an "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock() ...). This makes it possible to use the original Linux code with very little changes. And by this we can better update to later Linux versions. I removed some of the Linux features that are not used in the U-Boot version (e.g. garbage-collection, write support). Signed-off-by: Stefan Roese <sr@denx.de> CC: Artem Bityutskiy <dedekind@infradead.org> CC: Adrian Hunter <ext-Adrian.Hunter@nokia.com>
2009-03-20Add LZO decompressor supportStefan Roese
This patch adds LZO decompression support to U-Boot. It is needed for the upcoming UBIFS support, since UBIFS uses LZO as default compressor/ decompressor. Since we only support read-only in UBIFS, only the decompressor is needed. All this is copied with minor changes from the current Linux kernel version (2.6.28-rc8). This patch only implements this LZO decompressor support for PPC. Other platforms using UBIFS will have to add the required "include/asm/unaligned.h" as well. It should be fairly easy to copy this from the Linux source tree as I have done it for PPC in this patch. Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20Separate mtdparts command from jffs2Stefan Roese
Currently the mtdparts commands are included in the jffs2 command support. This doesn't make sense anymore since other commands (e.g. UBI) use this infrastructure as well now. This patch separates the mtdparts commands from the jffs2 commands making it possible to only select mtdparts when no JFFS2 support is needed. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2009-03-20powerpc: Only use eth_getenv_enetaddr() if networking is enabledStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20Add support for the digsy MTC board.Grzegorz Bernacki
This is the InterControl custom device based on the MPC5200B chip. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2009-03-20powerpc: Fix compilation warning in board.cStefan Roese
Fix this warning: board.c: In function 'board_init_r': board.c:653: warning: unused variable 'i' board.c:651: warning: unused variable 'e' Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20ppc4xx: Don't write the MAC address into the internal SoC registersStefan Roese
Remove this code. It's not needed. The 4xx EMAC driver stores the MAC addresses into the SoC registers instead. Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20ppc4xx: Use correct io accessors for esd 405/440 boardsMatthias Fuchs
This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20ppc4xx: Use correct io accessors for esd 405 boardsMatthias Fuchs
This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-20ppc4xx: Cleanup linker scripts of esd 4xx boardsMatthias Fuchs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>