summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | mgsuvd: fix compiler warning when using soft_i2c driverHeiko Schocher2008-10-183-10/+15
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgsuvd: fix coding styleHeiko Schocher2008-10-182-44/+33
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge: Second Flash on CS5 not on CS1Heiko Schocher2008-10-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | Added arch_lmb_reserve to allow arch specific memory regions protectionKumar Gala2008-10-184-42/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each architecture has different ways of determine what regions of memory might not be valid to get overwritten when we boot. This provides a hook to allow them to reserve any regions they care about. Currently only ppc, m68k and sparc need/use this. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | mgcoge: added CONFIG_FIT to support the new u-boot image formatHeiko Schocher2008-10-181-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-182039-53844/+53844
| | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| | * | 74xx/7xx/86xx: Rename flush_data_cache to flush_dcache to match 85xx versionKumar Gala2008-10-182-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | Expose command table search for sub-commandsKumar Gala2008-10-182-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sub-command can benefit from using the same table and search functions that top level commands have. Expose this functionality by refactoring find_cmd() and introducing find_cmd_tbl() that sub-command processing can call. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | mgsuvd, mgcoge: added BOOTCOUNT feature.Heiko Schocher2008-10-182-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge, mgsuvd: added support for the IVM EEprom.Heiko Schocher2008-10-185-0/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The EEprom contains some Manufacturerinformation, which are read from u-boot at boot time, and saved in same hush shell variables. Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | hush: add showvar command for hush shell.Heiko Schocher2008-10-183-8/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new command shows the local variables defined in the hush shell: => help showvar showvar - print values of all hushshell variables showvar name ... - print value of hushshell variable 'name' Also make the set_local_var() and unset_local_var () no longer static, so it is possible to define local hush shell variables at boot time. If CONFIG_HUSH_INIT_VAR is defined, u-boot calls hush_init_var (), where boardspecific code can define local hush shell variables at boottime. Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | I2C: adding new "i2c bus" Command to the I2C Subsystem.Heiko Schocher2008-10-187-2/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With this Command it is possible to add new I2C Busses, which are behind 1 .. n I2C Muxes. Details see README. Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge, mgsuvd: add board specific I2C deblocking mechanism.Heiko Schocher2008-10-185-2/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As documented in doc/I2C_Edge_Conditions, adding a board specific deblocking mechanism via CFG_I2C_INIT_BOARD for the mgcoge and mgsuvd board. This code was originally written by Keymile in association with Anatech and Atmel in 1998. The Code toggels the SCL until the SCA line goes to HIGH (max. 16 times). And after this, a start condition is sent. This is another approach to deblock the I2C Bus. The soft I2C driver actually sends 9 clocks with SDA High, and then a stop at the end, to deblock the I2C Bus. Maybe we should use the approach from Keymile as the new standard? Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | soft_i2c: Add CFG_I2C_INIT_BOARD optionHeiko Schocher2008-10-181-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the option for a boardspecific I2C deblocking mechanism for the soft i2c driver. Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge, mgsuvd: add DTT (LM75) support.Heiko Schocher2008-10-182-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | lm75: Make the LM75 MULTI_BUS compatible.Heiko Schocher2008-10-181-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | lm75: fix Codingstyle issues.Heiko Schocher2008-10-181-123/+99
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge, mgsuvd: added EEprom support.Heiko Schocher2008-10-182-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge, mgsuvd: add I2C support.Heiko Schocher2008-10-184-2/+91
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | soft_i2c: prevent compiler warnings if driver does not use CPU Pins.Heiko Schocher2008-10-182-37/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the following warnings, when using the soft_i2c driver using no CPU pins on MPC82xx or MPC8xx systems: soft_i2c.c: In function 'send_reset': soft_i2c.c:93: warning: unused variable 'immr' soft_i2c.c: In function 'send_start': soft_i2c.c:124: warning: unused variable 'immr' soft_i2c.c: In function 'send_stop': soft_i2c.c:146: warning: unused variable 'immr' soft_i2c.c: In function 'send_ack': soft_i2c.c:171: warning: unused variable 'immr' soft_i2c.c: In function 'write_byte': soft_i2c.c:196: warning: unused variable 'immr' soft_i2c.c: In function 'read_byte': soft_i2c.c:244: warning: unused variable 'immr' Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | i2c: add CONFIG_I2C_MULTI_BUS for soft_i2c and mpc8260 i2c driver.Heiko Schocher2008-10-182-0/+72
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | mgcoge: fix Coding Style issues.Heiko Schocher2008-10-181-41/+38
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | I2C: add new command i2c reset.Heiko Schocher2008-10-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If I2C Bus is blocked (see doc/I2C_Edge_Conditions), it is not possible to get out of this, until the complete Hardware gets a reset. This new commando calls again i2c_init (and that calls i2c_init_board if defined), which will deblock the I2C Bus. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
| | * | mgsuvd, mgcoge: move this 2 boards in one dir.Heiko Schocher2008-10-188-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some more extensions, which are for both boards and some more boards from this manufacturer will follow soon. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
| | * | hwmon: Add LM63 supportDirk Eibach2008-10-183-0/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the National LM63 temperature sensor with integrated fan control. It's used on the GDSys Neo board (405EP) which will be submitted later. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Acked-by: Stefan Roese <sr@denx.de>
| | * | Add Red Black Tree supportKyungmin Park2008-10-183-0/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it's used at UBI module. Of course other modules can use it. If you want to use it, please define CONFIG_RBTREE Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| | * | CONFIG_EFI_PARTITION: Added support for EFI partition in cmd_ext2fs.crichardretanubun2008-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | Added support for CONFIG_EFI_PARTITION to ext2 commands. Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com>
| | * | Add support for CONFIG_EFI_PARTITION (GUID Partition Table)richardretanubun2008-10-186-4/+603
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GUID (Globally Unique Identifier) Partition Table (GPT) is a part of EFI. See http://en.wikipedia.org/wiki/GUID_Partition_Table Based on linux/fs/partitions/efi.[ch] Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com>
| | * | FIT: output image load address for type 'firmware', fix message while thereBartlomiej Sieka2008-10-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the auto-update feature uses the 'firmware' type for updates, it is useful to inspect the load address of such images. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * | Automatic software update from TFTP serverBartlomiej Sieka2008-10-187-0/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The auto-update feature allows to automatically download software updates from a TFTP server and store them in Flash memory during boot. Updates are contained in a FIT file and protected with SHA-1 checksum. More detailed description can be found in doc/README.update. Signed-off-by: Rafal Czubak <rcz@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * | flash: factor out adjusting of Flash address to the end of sectorBartlomiej Sieka2008-10-182-33/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upcoming automatic update feature needs the ability to adjust an address within Flash to the end of its respective sector. Factor out this functionality to a new function flash_sect_roundb(). Signed-off-by: Rafal Czubak <rcz@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Stefan Roese <sr@denx.de>
| | * | net: Make TFTP server timeout configurableBartlomiej Sieka2008-10-181-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two aspects of a TFTP transfer involving timeouts: 1. timeout waiting for initial server reply after sending RRQ 2. timeouts while transferring actual data from the server Since the upcoming auto-update feature attempts a TFTP download during each boot, it is undesirable to have a long delay when the TFTP server is not available. Thus, this commit makes the server timeout (1.) configurable by two global variables: TftpRRQTimeoutMSecs TftpRRQTimeoutCountMax TftpRRQTimeoutMSecs overrides default timeout when trying to connect to a TFTP server, TftpRRQTimeoutCountMax overrides default number of connection retries. The total delay when trying to download a file from a non-existing TFTP server is TftpRRQTimeoutMSecs x TftpRRQTimeoutCountMax milliseconds. Timeouts during file transfers (2.) are unaffected. Signed-off-by: Rafal Czubak <rcz@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| | * | net: express the first argument to NetSetTimeout() in millisecondsBartlomiej Sieka2008-10-187-33/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enforce millisecond semantics of the first argument to NetSetTimeout() -- the change is transparent for well-behaving boards (CFG_HZ == 1000 and get_timer() countiing in milliseconds). Rationale for this patch is to enable millisecond granularity for network-related timeouts, which is needed for the upcoming automatic software update feature. Summary of changes: - do not scale the first argument to NetSetTimeout() by CFG_HZ - change timeout values used in the networking code to milliseconds Signed-off-by: Rafal Czubak <rcz@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| | * | Adds two more ethernet interface to 83xxrichardretanubun2008-10-1810-2/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added as a convenience for other platforms that uses MPC8360 (has 8 UCC). Six eth interface is chosen because the platform I am using combines UCC1&2 and UCC3&4 as 1000 Eth and the other four UCCs as 10/100 Eth. Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| | * | Change UEC PHY interface to RGMII on MPC8568MDSHaiying Wang2008-10-185-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change UEC phy interface from GMII to RGMII on MPC8568MDS board Because on MPC8568MDS, GMII interface is only recommended for 1000Mbps speed, but RGMII interface can work at 10/100/1000Mbps, and RGMII interface works more stable. Now both UEC1 and UEC2 can work properly under u-boot. It is also in consistent with the kernel setting for 8568 UEC phy interface. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | | Prepare v2008.10 release: update CHANGELOG & MakefileWolfgang Denk2008-10-182-1/+117
| | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | mgcoge: add redundant environment sectorHeiko Schocher2008-10-171-0/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | mgsuvd: update size of environmentHeiko Schocher2008-10-171-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| * | | 83xx NAND boot: wait for LTESR[CC]Lepcha Suchit2008-10-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least some revisions of the 8313, and possibly other chips, do not wait for all pages of the initial 4K NAND region to be loaded before beginning execution; thus, we wait for it before branching out of the first NAND page. This fixes warm reset problems when booting from NAND on 8313erdb. Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: Kim Phillips <kim.phillips@freescale.com>
| * | | ppc4xx: PPC44x MQ initializationYuri Tikhonov2008-10-172-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the MQ Read Passing & MCIF Cycle limits to the recommended by AMCC values. This fixes the occasional 440SPe hard locking issues when the 440SPe's dedicated DMA engines are used (e.g. by the h/w accelerated RAID driver). Previously the appropriate initialization had been made in Linux, by the ppc440spe ADMA driver, which is wrong because modifying the MQ configuration registers after normal operation has begun is not supported and could have unpredictable results. Comment from Stefan: This patch doesn't change the resulting value of the MQ registers. It explicitly sets/clears all bits to the desired state which better documents the resulting register value instead of relying on pre-set default values. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | 85xx: Using proper I2C source clock divider for MPC8544Kumar Gala2008-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MPC8544 RM incorrect shows the SEC_CFG bit in PORDEVSR2 as being bit 26, instead it should be bit 28. This caused in incorrect interpretation of the i2c_clk which is the same as the SEC clk on MPC8544. The SEC clk is controlled by cfg_sec_freq that is reported in PORDEVSR2. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | | Revert "85xx: Using proper I2C source clock divider for MPC8544"Kumar Gala2008-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit dffd2446fb041f38ef034b0fcf41e51e5e489159. The fix introduced by this patch is not correct. The problem is that the documentation is not correct for the MPC8544 with regards to which bit in PORDEVSR2 is for the SEC_CFG. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | | Merge branch 'master' of /home/wd/git/u-boot/master/Wolfgang Denk2008-10-173-2/+86
| |\ \ \ | | | |/ | | |/|
| | * | Coding Style cleanup, update CHANGELOG, prepare 2008.10-rc3Wolfgang Denk2008-10-153-2/+86
| | |/ | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | 85xx: Fix compile warningKumar Gala2008-10-171-1/+0
| | | | | | | | | | | | | | | | | | | | | mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:614: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | Fix the function conflict in x86emu when DEBUG is onJason Jin2008-10-171-3/+3
| |/ | | | | | | | | | | | | | | | | The function parse_line() in common/main.c was exposed globally by commit 6636b62a6efc7f14e6e788788631ae7a7fca4537, Result in conflict with the same name funciton in drivers/bios_emulator/x86emu/debug.c when define the DEBUG. This patch fix this by renaming the function in the debug.c file. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| * Merge branch 'master' of git://git.denx.de/u-boot-mpc83xxWolfgang Denk2008-10-151-3/+4
| |\
| | * mpc83xx: wait till UPM completes the write to arraySelvamuthukumar2008-10-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reference manual states that MxMR[MAD] increment is the indication of write to UPM array is complete. Honour that. Also, make the dummy write explicit. also fix the comment. Signed-off-by: Selvamuthukumar <selva.muthukumar@e-coninfotech.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | Fix compiler warning in lib_ppc/board.cHeiko Schocher2008-10-152-3/+3
| |/ | | | | | | | | | | | | Fix compiler warning introduced by commit 0f8cbc18 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Remove unwanted ';' at end of define.Selvamuthukumar2008-10-147-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently this is not creating any problem. But it will result in compilation error when used as below. printf("CFG_SDRAM_CFG2 - %08x\n", CFG_SDRAM_CFG2); Signed-off-by: Selvamuthukumar <selva.muthukumar@e-coninfotech.com> continuation of the theme based on git grep "^#define CFG_.*;$" include/ Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
OpenPOWER on IntegriCloud