summaryrefslogtreecommitdiff
path: root/include/common.h
Commit message (Collapse)AuthorAgeLines
* Fix compile warning on lib_ppc/board.cAnatolij Gustschin2008-02-15-1/+1
| | | | Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-blackfinWolfgang Denk2008-02-15-0/+3
|\ | | | | | | | | | | | | | | | | Conflicts: Makefile doc/README.standalone Signed-off-by: Wolfgang Denk <wd@denx.de>
| * always pull in asm/blackfin.h for Blackfin portsMike Frysinger2008-02-04-0/+3
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Mark board_init_[fr] as noreturnMike Frysinger2008-02-14-2/+2
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-14-0/+2
| | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | ARM: arm920/s3c24xx: IRQ demulitplexer callbackHarald Welte2008-02-04-0/+2
|/ | | | | | | | | | | This patch adds a IRQ demultiplexer callback to the arm920 cpu core code, plus a stub implementation of it for the S3C2410. The purpose is to allow arm920t implementations such as the s3c24x0 to implement interrupt handlers in u-boot without having to touch core arm920t code. Signed-off-by: Harald Welte <laforge@openmoko.org>
* MPC512X: Fixed typo in macro name.Grzegorz Bernacki2008-01-12-1/+1
| | | | Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-01-09-0/+4
|\
| * API for external applications.Rafal Jaworowski2008-01-09-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
| * Globalize envmatch()Rafal Jaworowski2008-01-09-0/+1
| | | | | | | | | | | | | | The newly introduced API (routines related to env vars) will need to call it. Signed-off-by: Rafal Zabdyr <armo@semihalf.com>
* | Expose parse_line() globally.James Yang2008-01-09-0/+2
|/ | | | | | | | | | | Add new function readline_into_buffer() that allows the output of readline to be put into a pointer to char buffer. This refactoring allows other functions besides the main command loop to also use the same input mechanism. Signed-off-by: James Yang <James.Yang@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com>
* Merge branch 'master' of /home/stefan/git/u-boot/u-boot into for-1.3.2-ver2Stefan Roese2007-12-27-4/+6
|\
| * Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2007-12-27-4/+5
| |\
| | * TQM885D: adjust for doubled flash sector size + some minor fixesMartin Krause2007-12-27-4/+5
| | | | | | | | | | | | Signed-off-by: Martin Krause <martin.krause@tqs.de>
| * | Handle Asynchronous DDR clock on 85xxKumar Gala2007-12-11-0/+1
| |/ | | | | | | | | | | | | | | | | | | The MPC8572 introduces the concept of an asynchronous DDR clock with regards to the platform clock. Introduce get_ddr_freq() to report the DDR freq regardless of sync/async mode. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Merge commit 'u-boot/master' into for-1.3.1Stefan Roese2007-12-11-8/+0
|\ \ | |/ | | | | | | | | Conflicts: drivers/rtc/Makefile
| * Revert "Correct relocation fixup for mpc5xx"Grant Likely2007-11-15-1/+0
| | | | | | | | | | This reverts commit 3649cd99ba815b6601868735765602f00ef3692b. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Revert "Correct fixup relocation for MPC5xxx"Grant Likely2007-11-15-1/+0
| | | | | | | | | | This reverts commit 6f7576b20ecf0d040c3ac3b032b5cbc860e38a90. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Revert "Correct fixup relocation for mpc8220"Grant Likely2007-11-15-1/+0
| | | | | | | | | | This reverts commit a85dd254c0577fca13627c46e93fc2ad4c4f1f00. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Revert "Correct fixup relocation for mpc824x"Grant Likely2007-11-15-2/+0
| | | | | | | | | | This reverts commit f3a52fe05923935db86985daf9438e2f70ac39aa. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Revert "Correct fixup relocation for mpc8260"Grant Likely2007-11-15-1/+0
| | | | | | | | | | This reverts commit 5af61b2f4b838a05f79be274f3e5a66edd2d9c96. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Revert "Correct fixup relocation for mpc83xx"Grant Likely2007-11-15-1/+0
| | | | | | | | | | This reverts commit 057004f4a4863554d56cc56268bfa7c7d9738e27. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Revert "[MPC512x] Correct fixup relocation"Grant Likely2007-11-15-1/+0
| | | | | | | | | | This reverts commit 8d17979d0359492a822a0a409d26e3a3549b4cd4. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | ppc4xx: Enable 405EX PCIe UTL register configurationStefan Roese2007-11-16-1/+1
| | | | | | | | | | | | | | | | Till now the UTL registers on 405EX were not initialized but left with their default values. This patch new initializes some of the UTL registers on 405EX. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xxStefan Roese2007-10-31-3/+1
| | | | | | | | | | | | | | | | | | | | This patch moves some common 4xx macros and the PPC405_SYS_INFO/ PPC440_SYS_INFO structure into the common ppc4xx.h header. Lot's of other macros are good candidates to be consolidated this way in the future. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add PPC405EX supportStefan Roese2007-10-31-2/+2
|/ | | | Signed-off-by: Stefan Roese <sr@denx.de>
* [PPC440SPe] Improve PCIe configuration space accessGrzegorz Bernacki2007-09-07-1/+1
| | | | | | | | | | | | | - correct configuration space mapping - correct bus numbering - better access to config space Prior to this patch, the 440SPe host/PCIe bridge was able to configure only the first device on the first bus. We now allow to configure up to 16 buses; also, scanning for devices behind the PCIe-PCIe bridge is supported, so peripheral devices farther in hierarchy can be identified. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* Add mii_init() prototypeWolfgang Denk2007-08-29-1/+1
| | | | | | to get rid of a *lot* of compiler warnings. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge with /home/wd/git/u-boot/custodian/u-boot-coldfireWolfgang Denk2007-08-18-1/+1
|\
| * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-1/+20
| |\
| * | Declared attributes of void __mii_init(void) as an alias for int mii_init(void)TsiChungLiew2007-08-08-1/+1
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* | | mpc83xx: move common /memory node update mechanism to cpu.cKim Phillips2007-08-15-0/+7
| |/ |/| | | | | | | | | also adds common prototypes to include/common.h. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-10-0/+2
|\ \
| * | mpc83xx: Add support for the display of reset statusDave Liu2007-08-10-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83xx processor family has many reset sources, such as power on reset, software hard reset, software soft reset, JTAG, bus monitor, software watchdog, check stop reset, external hard reset, external software reset. sometimes, to figure out the fault of system, we need to know the cause of reset early before the prompt of u-boot present. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | | [ARM] TI DaVinci support, hopefully finalSergey Kubushyn2007-08-10-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the following DaVinci boards: - DV_EVM - SCHMOOGIE - SONATA Changes: - Split into separate board directories - Removed changes to MTD_DEBUG (or whatever it's called) - New CONFIG_CMD party line followed - Some cosmetic fixes, cleanup etc. - Patches against the latest U-Boot tree as of now. - Fixed CONFIG_CMD_NET in net files. - Fixed CONFIG_CMD_EEPROM for schmoogie. - Made sure it compiles and works (forceenv() link problem) on SCHMOOGIE and DV_EVM. Can't check if it works on SONATA, don't have a board any more, but it at least compiles. Here is an excerpt from session log on SCHMOOGIE... U-Boot 1.2.0-g6c33c785-dirty (Aug 7 2007 - 13:07:17) DRAM: 128 MB NAND: 128 MiB In: serial Out: serial Err: serial ARM Clock : 297MHz DDR Clock : 162MHz ETH PHY : DP83848 @ 0x01 U-Boot > iprobe Valid chip addresses: 1B 38 3A 3D 3F 50 5D 6F U-Boot > ping 192.168.253.10 host 192.168.253.10 is alive U-Boot > Signed-off-by: Sergey Kubushyn <ksi@koi8.net> Acked-by: Dirk Behme <dirk.behme@gmail.com> Acked-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Acked-by: Stefan Roese <sr@denx.de>
* | Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-06-0/+8
|\ \
| * | Correct fixup relocation for mpc83xxGrant Likely2007-07-04-0/+1
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | Correct fixup relocation for mpc8260Grant Likely2007-07-04-0/+1
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | Correct fixup relocation for mpc824xGrant Likely2007-07-04-0/+2
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | Correct fixup relocation for mpc8220Grant Likely2007-07-04-0/+1
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | Correct fixup relocation for MPC5xxxGrant Likely2007-07-04-0/+1
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | Correct relocation fixup for mpc5xxGrant Likely2007-07-04-0/+1
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | | [ADS5121] Support for the ADS5121 boardRafal Jaworowski2007-07-27-1/+7
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | The following MPC5121e subsystems are supported: - low-level CPU init - NOR Boot Flash (common CFI driver) - DDR SDRAM - FEC - I2C - Watchdog Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Signed-off-by: Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Jan Wrobel <wrr@semihalf.com>
* | make show_boot_progress () weak.Heiko Schocher2007-07-13-2/+6
|/ | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* ppc4xx: Add pci_pre_init() for 405 boardsStefan Roese2007-06-25-4/+5
| | | | | | | | This patch removes the CFG_PCI_PRE_INIT option completely, since it's not needed anymore with the patch from Matthias Fuchs with the "weak" pci_pre_init() implementation. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xxWolfgang Denk2007-05-16-2/+0
|\
| * mpc83xx: replace elaborate boottime verbosity with 'clocks' commandKim Phillips2007-05-01-2/+0
| | | | | | | | | | | | and fix CPU: to align with Board: display text. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | 16bit read/write little endianMichal Simek2007-04-21-0/+4
|/
* Minor code cleanup.Wolfgang Denk2007-02-27-2/+1
|
* [PATCH 3_9] Move buffer print code from md command to common functionGrant Likely2007-02-20-0/+2
| | | | | | | Printing a buffer is a darn useful thing. Move the buffer print code into print_buffer() in lib_generic/ Signed-off-by: Grant Likely <grant.likely@secretlab.ca>