summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-28mpc8xx/ether.c: fix warning: unused variable 'bd'Wolfgang Denk
Also minor coding style cleanup. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-03-27command.c: Expose the core of do_help as _do_help to the rest of u-boot.Detlev Zundel
Other commands implementing subcommands can reuse this code nicely. Signed-off-by: Detlev Zundel <dzu@denx.de> Signed-off-by: Andreas Pfefferle <ap@denx.de>
2009-03-27mpc5xxx: Add structure definition for several more register blocks.Detlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2009-03-27MAINTAINERS: Add entry for 'inka4x0' board.Detlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2009-03-27MAINTAINERS: Keep list sorted.Detlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2009-03-27karef/metrobox/xpedite1k: fix eth_setenv_enetaddr typosMike Frysinger
The function is called "eth_setenv_enetaddr", not "eth_putenv_enetaddr". Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
2009-03-27ppc: cleanup compiler errors/warningsHeiko Schocher
Current u-boot top of tree builds with warnings/errors for the following boards: ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris PN62 following patch solves this. Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
2009-03-26Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk
2009-03-26Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk
2009-03-26Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk
2009-03-26ppc4xx: Sequoia: Fix TLB reassignment in NAND booting codeStefan Roese
This patch fixes a bug in the Sequoia TLB init code to reconfigure the correct TLB (boot space) after running from RAM. This bug was introduced with patch 4d332dbeb08f5863d1ea69d91a00c5499d3a87ed [ppc4xx: Make Sequoia boot vxWorks] which changed the order of the TLB in the Sequoia init.S file. Signed-off-by: Stefan Roese <sr@denx.de>
2009-03-26ads5121: enable instruction cacheWolfgang Denk
Enabling the instruction cache significantly accelerates U-Boot operations like CRC checking, image uncompression, etc. Kudos to Andrea Scian for pointing out. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-03-25mpc5200: suppress printf until console initializedJon Smirl
On boards which have the environment in eeprom, i2c_init() is called before the console and RAM are initialized. Suppress printfs until the console is initialized. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Acked-by: Heiko Schocher <hs@denx.de>
2009-03-25Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk
2009-03-25ARM: Add the imx31_phycore_eet board to MAKEALLGuennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2009-03-25OMAP3:Beagle: Enable mtdpartsNishanth Menon
http://www.denx.de/wiki/DULG/UBootCmdGroupFlash#UBootCmdFlMtdparts provides a flexible way to create and maintain u-boot mtd partitions. This allows commands such as "nand erase fs" to work and the user no longer needs to decode the absolute nand offsets. This patch enables this function for beagleboard Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-03-25Blackfin: bf537-stamp: split post code out into dedicated post.cMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-25Blackfin: add support for S25FL128 partsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-25Blackfin: overhaul SPI flash handling to speed things upMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-25Blackfin: add support for SST SPI flashesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-25Blackfin: add hack for crappy m25p80Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-25Blackfin: 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-25Blackfin: 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-25Blackfin: 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-25Blackfin: add clkin_hz= to default kernel command line for ADI boardsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-25Blackfin: 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-25Blackfin: 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-25Blackfin: 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-23Reduce OneNAND IPL common codeKyungmin Park
OneNAND IPL has common codes for RAM init, load data, and jump to 2nd bootloader, but it's common code used about 300~400 bytes. So board specific codes, such as lowlevel_init, can't has enough code. It make a difficult to implement OneNAND IPL. his patch make this common code as small as possible. and give lowlevel_init can have more codes. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-03-23Add multi-chip NAND support for the TQM8548 modulesWolfgang Grandegger
This patches configures the NAND UPM-FSL driver with multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-03-23Add wait flags to support board/chip specific delaysWolfgang Grandegger
The NAND flash on the TQM8548_BE modules requires a short delay after running the UPM pattern like the MPC8360ERDK board does. The TQM8548_BE requires a further short delay after writing out a buffer. Normally the R/B pin should be checked, but it's not connected on the TQM8548_BE. The corresponding Linux FSL UPM driver uses similar delay points at the same locations. To manage these extra delays in a more general way, I introduced the "wait_flags" field allowing the board-specific driver to specify various types of extra delay. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-03-23Add support for TQM-specific chip select logic to FSL-UPMWolfgang Grandegger
For the NAND chips on the TQM8548 modules, a special chip-select logic is used. It uses dedicated address lines to be set via UPM machine address register (mar). This patch adds such support to the FSL-UPM driver. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-03-23Add multi chip support to the FSL-UPM driverWolfgang Grandegger
This patch adds support for multi-chip NAND devices to the FSL-UPM driver. The "dev_ready" callback of the "struct fsl_upm_nand" is now called with the argument "chip_nr" to allow testing the proper chip select line. The NAND support of the MPC8360ERDK is updated as well. No other boards are currently using the FSL UPM driver. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-03-23Enable multi chip support in the NAND layerWolfgang Grandegger
This patch adds support for NAND_MAX_CHIPS to the MTD NAND layer. Multi-chips devices are displayed as shown: Device 0: 2x NAND 512MiB 3,3V 8-bit, sector size 128 KiB Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
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>