summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* [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-5/+38
|\
| * Fix ULI RTC support on MPC8544 DSKumar Gala2007-09-04-1/+10
| | | | | | | | | | | | | | | | | | | | | | 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>
| * ft_board_setup update 85xx/86xx of pci/pcie bus-range property.Ed Swarthout2007-09-04-4/+28
| | | | | | | | | | | | pcie is now differentiated from pci. Add 8641 bus-range updates. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
* | Fix do_bootm_linux() so that multi-file images with FDT blob boot.Bartlomiej Sieka2007-09-07-10/+19
| | | | | | | | | | | | | | | | | | Fix incorrect blob address calculation in do_bootm_linux() that prevents booting the kernel from a multi-file image (kernel + initrd + blob). Also, make minor updates to the U-Boot's output and to the coding style. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc5xxxWolfgang Denk2007-09-07-68/+102
|\ \
| * | bootm/fdt: Only process the fdt if an fdt address was providedGrant Likely2007-09-06-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Boards with CONFIG_OF_LIBFDT enabled are not able to boot old-style kernels using the board info structure (instead of passing a device tree) This change allows the old style booting to be used if the fdt argument was not passed to 'bootm'. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Kim Phillips <kim.phillips@freescale.com>
| * | Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDTGrant Likely2007-09-06-51/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+28
| |/ | | | | | | | | | | | | 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>
* | Add support for Sil680 IDE controller.Gary Jennejohn2007-09-06-1/+111
| | | | | | | | | | | | | | o add drivers/sil680.c to support the Sil680 IDE-controller. o drivers/Makefile: add sil680.o. Signed-off-by: Gary Jennejohn <garyj@denx.de>
* | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-09-02-733/+197
|\ \ | |/
| * Fix TFTP OACK code for short packets.Wolfgang Denk2007-08-31-2/+6
| | | | | | | | | | | | | | | | | | | | | | The old code had a loop limit overflow bug which caused a semi- infinite loop for small packets, because in "i<len-8", "i" was signed, but "len" was unsigned, and "len-8" became a huge number for small values of "len". This is a workaround which replaces broken commit 8f1bc284. Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Backout commit 8f1bc284 as it causes TFTP to fail.Wolfgang Denk2007-08-30-10/+10
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Revert "Fix MPC8544DS PCIe3 scsi."Ed Swarthout2007-08-30-3/+1
| | | | | | | | | | | | | | This reverts commit 9468e680. Commit 16e23c3f5da removing allocation of PCSRBAR is sufficient. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
| * tftp: don't implicity trust the format of recevied packetsGrant Likely2007-08-30-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | The TFTP OACK code trusts that the incoming packet is formated as ASCII text and can be processed by string functions. It also has a loop limit overflow bug where if the packet length is less than 8, it ends up looping over *all* of memory to find the 'blksize' string. This patch solves the problem by forcing the packet to be null terminated and using strstr() to search for the sub string. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * 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>
| * Fix MPC8544DS PCIe3 scsi.Kumar Gala2007-08-29-1/+3
| | | | | | | | | | | | | | | | | | | | <ed.swarthout@freescale.com> The problem is pciauto_setup_device() getting called from fsl_pci_init.c is allocating memory space it doesn't need. Signed-off-by: Ed Swarthout <ed.swarthout@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * 8548cds fixesEd Swarthout2007-08-29-12/+17
| | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | | | The L2 cache size is 512KB for 8568, print out the correct informaiton. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
| * Remove the bios emulator binary files from MAI boardJason Jin2007-08-29-0/+0
| | | | | | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| * support board vendor-common makefilesKim Phillips2007-08-29-15/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: TFTP is not working on little endian systemsstefano babic2007-08-29-1/+1
| | | | | | | | | | | | | | | | TFTP does not work anymore after multicast tftp patch was applied on little endian systems. This patch fix it. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * Fix MAC address setting in DM9000 driver.stefano babic2007-08-29-3/+3
| | | | | | | | | | | | | | | | | | The logic to check if there is a correct MAC address in the DM9000 EEPROM, added in the last patch, is wrong. Now the MAC address is always taken from the environment, even if a suitable MAC is present in the EEPROM. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MPC5xxx: fix some compiler warnings in USB codeMartin Krause2007-08-29-6/+6
| | | | | | | | | | | | | | | | | | Fix the following warnings: - usb.c:xx: warning: function declaration isn't a prototype - usb_ohci.c:xxx: warning: passing argument 1 of '__fswab32' makes integer from pointer wihtout a cast Signed-off-by: Martin Krause <martin.krase@tqs.de>
| * fsl_pci_init - Remove self PCSRBAR allocationEd Swarthout2007-08-29-2/+7
| | | | | | | | | | | | | | | | | | | | CPU physical address space was being wasted by allocating a PCSRBAR PCI inbound region to it's memory space. As a rule, PCSRBAR should be left alone since it does not affect transactions from self and other masters may have changed it. Signed-off-by: Ed Swarthout <ed.swarthout@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>
| * Fix compilation error for omap2420h4_config.Dirk Behme2007-08-29-556/+1
| | | | | | | | | | | | | | omap2420h4 switched to cfi, so remove old (already disabled) flash.c and flash_probe() calls in env_flash.c. Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
| * fdt: remove unused OF_FLAT_TREE_MAX_SIZE referencesKim Phillips2007-08-29-65/+4
| | | | | | | | | | | | and make some minor corrections to the FDT part of the README. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * Minor coding style cleanup.Wolfgang Denk2007-08-29-1/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk2007-08-29-30/+523
| |\
| * | [UC101] Fix: if no CF in the board, U-Boot resets sometimes.Heiko Schocher2007-08-28-1/+8
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| * | IDE: - make ide_inb () and ide_outb () "weak", so boards canHeiko Schocher2007-08-28-44/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+12
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | POST: limit memory test area to not touch global data anymoreYuri Tikhonov2007-08-25-0/+3
| | | | | | | | | | | | | | | | | | As experienced on lwmon5, on some boards the POST memory test can corrupt the global data buffer (bd). This patch fixes this issue by checking and limiting this area. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> 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/+36
| | | | | | | | | | | | | | | | | | | | | | 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-136128/+95144
|\ \ | |/
| * Fix some build errors.Wolfgang Denk2007-08-19-6/+8
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Update CHANGELOG.Wolfgang Denk2007-08-18-0/+878
| |
| * Merge with /home/wd/git/u-boot/custodian/u-boot-coldfireWolfgang Denk2007-08-18-3284/+22386
| |\
| | * ColdFire: Fix some remaining problems with CFG_CMD_Stefan Roese2007-08-18-6/+6
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * Coding style cleanupStefan Roese2007-08-18-55/+53
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * ColdFire: Add M5235EVB Platform for MCF523xTsiChungLiew2007-08-17-4/+3303
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * ColdFire: Add M54455EVB for MCF5445xTsiChungLiew2007-08-16-180/+6459
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>