summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* [ads5121] EEPROM support added.Grzegorz Bernacki2007-10-09-0/+9
| | | | Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* ppc4xx: lwmon5: Remove watchdog for now, since not fully tested yetStefan Roese2007-10-02-0/+5
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Merge branch 'master' of /home/stefan/git/u-boot/lwmon5Stefan Roese2007-09-27-4/+5
|\
| * ppc4xx: Change lwmon5 default environment to support Linux RTCStefan Roese2007-08-29-4/+5
| | | | | | | | | | | | | | | | | | | | The Linux PCF8563 RTC driver doesn't do autoprobing, so we need to supply the RTC I2C address as bootline parameter. This patch adds support for this rtc probing parameter to the bootargs: "rtc-pcf8563.probe=0,0x51" Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: lwmon5: Change GPIO 58 to default to low (watchdog test)Stefan Roese2007-09-27-1/+1
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | Bugfix: remove embedded null (\0) from CFG_BOOTFILE macro in TQM8540_configGrant Likely2007-09-18-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /bin/bash and /bin/dash (which /bin/sh is linked to on ubuntu) handle embedded nulls in a string differently. For example, the following statement: echo "this is a string\0" > afile Will produce the following with /bin/bash: "this is a string\0" But with /bin/dash, will produce: "this is a string Bug fixed by moving the embedded null out of the makefile and into the config header. Also renamed the macro to avoid usage colision with the same macro used by other board ports. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | TQM8xx[LM]: Fix broken environment alignment.Wolfgang Denk2007-09-16-5/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With recent toolchains, the environment sectors were no longer aligned to sector boundaries. The reason was a combination of two bugs: 1) common/environment.c assumed that CONFIG_TQM8xxL would be defined for all TQM8xxL and TQM8xxM boards. But "include/common.h", where this gets defined, is not included here (and cannot be included without causing lots of problems). Added a new #define CFG_USE_PPCENV for all boards which really want to put the environment is a ".ppcenv" section. 2) The linker scripts just include environment.o, silently assuming that the objects in that file are really in the order in which they are coded in the C file, i. e. "environment" first, then "redundand_environment", and "env_size" last. However, current toolchains (GCC-4.x) reorder the objects, causing the environment data not to start on a flash sector boundary: Instead of: we got: 40008000 T environment 40008000 T env_size 4000c000 T redundand_environment 40008004 T redundand_environment 40010000 T env_size 4000c004 T environment Note: this patch fixes just the first part, and cures the alignment problem by making sure that "env_size" gets placed correctly. However, we still have a potential issue because primary and redundant environment sectors are actually swapped, i. e. we have now: 40008000 T redundand_environment 4000c000 T environment 40010000 T env_size This shall be fixed in the next version. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | TQM8xx/FPS8xx: adjust flash partitions for 2.6 ARCH=powerpc kernelsWolfgang Denk2007-09-16-50/+111
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | NAND: Add CFG_NAND_QUIET optionMatthias Fuchs2007-09-15-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This config option sets the default for the progress information output behavior that can also be configured through the 'quiet' environment variable. The legacy NAND code does not print the current progress info on the console. So this option is for backward compatibility for units that are in the field and where setting the quiet variable is not an option. With CFG_NAND_QUIET set to '1' the console progress info is turned off. This can still be overwritten through the environment variable. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* | Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk2007-09-15-2/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | [GP3SSA] Add define CONFIG_MPC85XX_PCI2 in config file to allow u-boot toGrzegorz Bernacki2007-09-11-1/+1
| | | | | | | | | | | | scan on second pci bus. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* | Allocate CPU Architecture Code for STMicroelectronics' ST200.Sean MCGOOGAN2007-09-10-0/+1
| | | | | | | | | | Signed-off-by: Sean McGoogan <Sean.McGoogan@st.com> ---------------------------------------------------
* | Fix compile error in spc1920 config.Wolfgang Denk2007-09-09-8/+1
| | | | | | | | | | Signed-off-by: Markus Klotzbücher <mk@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
* | [PPC440SPe] PCIe environment settings for Katmai and YuccaGrzegorz Bernacki2007-09-07-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | - 'pciconfighost' is set by default in order to be able to scan bridges behind the primary host/PCIe - 'pciscandelay' env variable is recognized to allow for user-controlled delay before the PCIe bus enumeration; some peripheral devices require a significant delay before they can be scanned (e.g. LSI8408E); without the delay they are not detected Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* | [PPC440SPe] Improve PCIe configuration space accessGrzegorz Bernacki2007-09-07-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | PXA270: Added support for TrizepsIV board.stefano babic2007-09-07-0/+325
| | | | | | | | | | | | This patch add support for the Trizeps IV module (520Mhz). Signed-off-by: Stefano Babic <sbabic@denx.de>
* | PXA270: Add support for multiple serial ports.stefano babic2007-09-07-0/+4
| | | | | | | | | | | | | | This patch adds support for multiple serial ports to the PXA target. FFUART, BTUART and STUART are supported. Signed-off-by: Stefano Babic <sbabic@denx.de>
* | PXA270: fix compile issue (invalid lvalue)stefano babic2007-09-07-9/+9
| | | | | | | | | | | | | | | | | | Code is broken for PXA270 due to "invalid lvalue in assignment". This patch fix it in pxa-regs.h Signed-off-by: Stefano Babic <sbabic@denx.de>
* | [MIPS] Remove inline asm string functionsShinya Kuribayashi2007-09-07-114/+10
| | | | | | | | | | | | | | | | | | | | | | | | Stop using inline string functions on MIPS as other ARCHs do so, since the optimized inline asm versions are not small. This change is triggered by a following MIPS build error: common/libcommon.a(exports.o)(.text+0xdc): In function `jumptable_init': common/exports.c:32: undefined reference to `strcmp' make: *** [u-boot] Error 1 Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
* | [MIPS] Update asm string headerShinya Kuribayashi2007-09-07-41/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patches contains several bugfixes and cleanups in the latest upstream: - Don't include linux/config.h - Remove buggy inline version of memscan. - Merge with Linux 2.6.11-rc3. - Fix undefined reference to strcpy in binfmt_misc caused by gcc 3.4. - Goodbye mips64. 31704 lines of code bite the dust. - Replace extern inline with static inline. - Fix return value of strncpy. - Remove a bunch more "$1" clobbers. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
* | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk2007-09-07-0/+3
|\ \
| * | Fix ULI RTC support on MPC8544 DSKumar Gala2007-09-04-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RTC on the M1575 ULI chipset requires a dummy read before we are able to talk to the RTC. We accomplish this by adding a second memory region to the PHB the ULI is on and read from it. The second region is added to maintain compatiabilty with Linux's view of the PCI memory map. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc5xxxWolfgang Denk2007-09-07-4/+6
|\ \ \
| * | | Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDTGrant Likely2007-09-06-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affects boards: icecube (lite5200), jupiter, motionpro, tqm5200 Tested on: lite5200b Note: the fixup functions have not been moved to a common place. This patch is targeted for immediate merging as in solves a build issue, but the final name/location of the fixups is still subject to debate. I propose to merge this now, and move the fixups in the next merge window to be usable by all targets. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | | libfdt: add convenience function fdt_find_and_setprop()Grant Likely2007-09-06-0/+2
| |/ / | | | | | | | | | | | | | | | | | | Given the path to a node, fdt_find_and_setprop() allows a property value to be set directly. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-09-02-103/+41
|\ \ \ | |/ /
| * | Merge with git+ssh://gemini/home/wd/git/u-boot/masterWolfgang Denk2007-08-29-3/+0
| |\ \
| | * | sbc8641: remove unused OF_FLAT_TREE_MAX_SIZEKim Phillips2007-08-29-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this had slipped through the cracks, since the sbc board was added after I wrote the original patch to remove all these symbols, and before it was merged. Signed-off-by: Kim Phillips <kim.phillips@freescale.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>
| * | | Disable network support on cmi_mpc5xx boardWolfgang Denk2007-08-29-0/+2
| |/ / | | | | | | | | | | | | | | | | | | ..because it caused compiler errors and there seems to be no board maintainer to take care of this. Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | 8548cds fixesEd Swarthout2007-08-29-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore CONFIG_EXTRA_ENV_SETTINGS definition which contains the correct consoledev needed for linux boot. Standardize on fdt{file,addr} var to hold dtb file name. Set PCI inbound memory region from CFG_MEMORY_{BUS,PHYS}. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * | Enable L2 cache for MPC8568MDS boardHaiying Wang2007-08-29-3/+3
| | | | | | | | | | | | | | | | | | The L2 cache size is 512KB for 8568, print out the correct informaiton. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
| * | support board vendor-common makefilesKim Phillips2007-08-29-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if a board/$(VENDOR)/common/Makefile exists, build it. also add the first such case, board/freescale/common/Makefile, to handle building board-shared EEPROM, PIXIS, and MDS-PIB code, as dictated by board configuration. thusly get rid of alternate build dir errors such as: FATAL: can't create /work/wd/tmp/u-boot-ppc/board/freescale/mpc8360emds/../common/pq-mds-pib.o: No such file or directory by putting the common/ mkdir command in its proper place (the common Makefile). Common bits from existing individual board Makefiles have been removed. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | Fix compiler warning in include/s3c2410.hMartin Krause2007-08-29-18/+18
| | | | | | | | | | | | | | | | | | | | | This patch fixes the "type qualifiers ignored on fuction return tpye" warning for include/s3c2410.h Signed-off-by: Martin Krause <martin.krause@tqs.de>
| * | fdt: remove unused OF_FLAT_TREE_MAX_SIZE referencesKim Phillips2007-08-29-59/+0
| | | | | | | | | | | | | | | | | | and make some minor corrections to the FDT part of the README. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk2007-08-29-20/+30
| |\ \ | | |/
| * | [UC101] Fix: if no CF in the board, U-Boot resets sometimes.Heiko Schocher2007-08-28-1/+0
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| * | IDE: - make ide_inb () and ide_outb () "weak", so boards canHeiko Schocher2007-08-28-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | define there own I/O functions. (Needed for the pcs440ep board). - The default I/O Functions are again 8 Bit accesses. - Added CONFIG_CMD_IDE for the pcs440ep Board. Signed-off-by: Heiko Schocher <hs@denx.de>
* | | ppc4xx: (Re-)Enable CONFIG_PCI_PNP on AMCC 440EPx SequoiaGary Jennejohn2007-08-31-1/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 440EPx has a problem when the PCI_CACHE_LINE_SIZE register is set to non-zero, because it doesn't support MRM (memory-read- multiple) correctly. We now added the possibility to configure this register in the board config file, so that the default value of 8 can be overridden. Here the details of this patch: o drivers_pci_auto.c: introduce CFG_PCI_CACHE_LINE_SIZE to allow board-specific settings. As an example the sequoia board requires 0. Idea from Stefan Roese <sr@denx.de>. o board/amcc/sequoia/init.S: add a TLB mapping at 0xE8000000 for the PCI IO-space. Obtained from Stefan Roese <sr@denx.de>. o include/configs/sequoia.h: turn CONFIG_PCI_PNP back on and set CFG_PCI_CACHE_LINE_SIZE to 0. Signed-off-by: Gary Jennejohn <garyj@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add RTC POST test to lwmon5 board configurationStefan Roese2007-08-24-7/+8
| | | | | | | | | | | | | | | | Since this RTC POST test is taking quite a while to complete it's only initiated upon special keypress same as the complete memory POST. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Change GPIO signal for watchdog triggering on lwmon5Stefan Roese2007-08-24-1/+1
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add support for 2nd I2C EEPROM on lwmon5 boardStefan Roese2007-08-23-6/+9
| | | | | | | | | | | | | | | | | | | | | | This patch adds support for the 2nd EEPROM (AT24C128) on the lwmon5 board. Now the "eeprom" command can be used to read/write from/to this device. Additionally a new command was added "eepromwp" to en-/disable the write-protect of this 2nd EEPROM. The 1st EEPROM is not affected by this write-protect command. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Remove unused option CFG_INIT_RAM_OCMStefan Roese2007-08-22-2/+0
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge with /home/stefan/git/u-boot/u-boot-ppc4xxStefan Roese2007-08-21-8079/+29358
|\ \ | |/
| * Merge with /home/wd/git/u-boot/custodian/u-boot-coldfireWolfgang Denk2007-08-18-1283/+10719
| |\
| | * ColdFire: Fix some remaining problems with CFG_CMD_Stefan Roese2007-08-18-3/+3
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * Coding style cleanupStefan Roese2007-08-18-2/+0
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * ColdFire: Add M5235EVB Platform for MCF523xTsiChungLiew2007-08-17-0/+1573
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * ColdFire: Add M54455EVB for MCF5445xTsiChungLiew2007-08-16-1/+2927
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * ColdFire: Add M5253EVBE platform for MCF52x2TsiChungLiew2007-08-16-1/+405
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>