summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* 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
|\
| * 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
| |\
| * | ppc4xx: Add matrix kbd support to lwmon5 board (440EPx based)Stefan Roese2007-08-21-17/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the matrix keyboard on the lwmon5 board. Since the implementation in the dsPCI is kind of compatible with the "old" lwmon board, most of the code is copied from the lwmon board directory. Signed-off-by: Stefan Roese <sr@denx.de>
* | | [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>
* | 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>
| * | ColdFire: Add M5253EVBE platform for MCF52x2TsiChungLiew2007-08-16-35/+1010
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: Add M5249EVB platform for MCF52x2TsiChungLiew2007-08-16-0/+527
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: Update Freescale MCF52x2 platformsTsiChungLiew2007-08-16-481/+1238
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: Update EB+MCF-EV123 platformTsiChungLiew2007-08-16-7/+340
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: update TASREG platform for MCF52x2TsiChungLiew2007-08-16-0/+4
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: update r5200 platform for MCF52x2TsiChungLiew2007-08-16-7/+328
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: idmr platform MCF52x2 updateTsiChungLiew2007-08-16-10/+332
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: cobra5272 platform for MCF52x2 updateTsiChungLiew2007-08-16-5/+331
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: MCF52x2 Header files updateTsiChungLiew2007-08-16-1122/+1208
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: MCF52x2 updateTsiChungLiew2007-08-16-1498/+369
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: MCF5329 update cacheTsiChungLiew2007-08-16-1/+1
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | ColdFire: MCF5329 header file clean upTsiChungLiew2007-08-16-1580/+1215
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>