summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* cmd_fdc: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-09-10-13/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* common/Makefile: add core command sectionJean-Christophe PLAGNIOL-VILLARD2008-09-10-3/+5
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* cmd_vfd: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-09-10-3/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* muas3001: update BR4 settingsHeiko Schocher2008-09-10-3/+8
| | | | | | Also set up the port pins for using I2C. Signed-off-by: Heiko Schocher <hs@denx.de>
* autoscr: Fix one-character lines and non-newline terminated scriptsPetri Lehtinen2008-09-10-1/+3
| | | | | | | | When not using hush, the autoscr command now executes lines that are only one character long. It also runs the last line of scripts even if it does not end in a newline. Signed-off-by: Petri Lehtinen <petri.lehtinen@inoi.fi>
* ppc4xx: Allow DTT_I2C_DEV_CODE configured by CFG_I2C_DTT_ADDRVictor Gallardo2008-09-10-0/+10
| | | | | | | On AMCC Arches board DTT_I2C_DEV_CODE is different then canyonlands and glacier. Signed-off-by: Victor Gallardo <vgallardo@amcc.com>
* Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk2008-09-10-9/+14
|\
| * Fix printf errors under -DDEBUGAndrew Klossner2008-09-09-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fix printf format-string/arg mismatches under -DDEBUG. These warnings occur with DEBUG defined for a platform using cpu/mpc85xx. Users of other architectures can unearth similar problems by adding the line "CFLAGS += -DDEBUG=1" in config.mk right after "CFLAGS += $(call cc-option,-fno-stack-protector)". Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * 85xx: Ensure timebase is zero on secondary coresKumar Gala2008-09-09-0/+5
| | | | | | | | | | | | | | The e500um says the timebase is volatile out of reset. To ensure TB sync works we need to make sure its zero. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Merge branch 'denx'Andy Fleming2008-09-09-986/+3228
| |\
| * | Removed hardcoded MxMR loop value from upmconfig() for MPC85xx.Sergei Poselenov2008-09-08-8/+7
| | | | | | | | | | | | Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
| * | 85xx: socrates: Enable Lime support.Anatolij Gustschin2008-09-08-3/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds Lime GDC support together with support for the PWM backlight control through the w83782d chip. The reset pin of the latter is attached to GPIO, so we need to reset it in early_board_init_r. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | 85xx: Socrates: Major code update.Detlev Zundel2008-09-08-92/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the local bus ranges in the FDT for Linux for the various devices connected to the local bus via chip-select. - Set the LCRR_DBYP bit in the LCRR for local bus frequencies lower than 66 MHz and uses I/O accessor functions consequently. - UPM data update. - Update of default environment and configuration. Use I2C multibus as we do have two I2C buses. Also enable sdram and ext2 commands. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Detlev Zundel <dzu@denx.de>
| * | Update Freescale 85xx boards to sys_eeprom.cTimur Tabi2008-09-08-67/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | The new sys_eeprom.c supports both the old CCID EEPROM format and the new NXID format, and so it obsoletes board/freescale/common/cds_eeprom.c. Freescale 86xx boards already use sys_eeprom.c, so this patch migrates the remaining Freescale 85xx boards to use it as well. cds_eeprom.c is deleted. Signed-off-by: Timur Tabi <timur@freescale.com>
* | | muas3001: added support for the LM75 sensor.Heiko Schocher2008-09-10-0/+10
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | muas3001: activate WDT for the muas3001 board.Heiko Schocher2008-09-10-3/+17
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | muas3001: added 64MB SDRAM autodetection.Heiko Schocher2008-09-10-7/+23
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-09-09-8/+2960
|\ \ \
| * | | Update CHANGELOG, prepare 2008-10-rc1 releasev2008.10-rc1Wolfgang Denk2008-09-09-4/+2583
| | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | bootm_load_os: fix load_end debug messageJean-Christophe PLAGNIOL-VILLARD2008-09-09-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | print load_end value not pointer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | | bootm: enable fdt support only on ppc, m68k and sparcJean-Christophe PLAGNIOL-VILLARD2008-09-09-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | ...as done in image.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | | common/cmd_mem.c: remove nested #if defined(CONFIG_CMD_MEMORY)Markus Heidelberg2008-09-09-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
| * | | gitignore: add tags files and Vim swap fileMarkus Heidelberg2008-09-09-0/+5
| | | | | | | | | | | | | | | | Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
| * | | add board_eth_init() for sh7785lcr boardYoshihiro Shimoda2008-09-09-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fix the problem that cannot work RTL8169 on sh7785lcr board. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
| * | | mtd: SPI Flash: Support the STMicro FlashTsiChung Liew2008-09-09-0/+363
| | |/ | |/| | | | | | | | | | | | | | | | | | | Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan <mcmullan@netapp.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | trab: fix build problem after change to use do_div()Wolfgang Denk2008-09-09-0/+1
|/ / | | | | | | | | | | We must link with libgeneric now. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Correct drv_usb_kbd_init functionRyan CHEN2008-09-09-0/+2
| | | | | | | | | | | | | | | | The patch is that check if usb_get_dev_index() function return valid pointer. If valid, continue. Otherwise return -1. Signed-off-by: Ryan Chen <ryan.chen@st.com> Acked-by: Markus Klotzbuecher <mk@denx.de>
* | Make usb-stop() safe to call multiple times in a row.Remy Bohmer2008-09-09-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent commit (936897d4d1365452bbbdf8430db5e7769ef08d38) enabled the usb_stop() command in common/cmd_bootm.c which was not enabled for some time, because no board did actually set the CFG_CMD_USB flag. So, now the usb_stop() is executed before loading the linux kernel. However, the usb_ohci driver hangs up (at least on AT91SAM) if the driver is stopped twice (e.g. the peripheral clock is stopped on AT91). If some other piece of code calls usb_stop() before the bootm command, this command will hangup the system during boot. (usb start and stop is typically used while booting from usb memory stick) But, stopping the usb stack twice is useless anyway, and a flag already existed that kept track on the usb_init()/usb_stop() calls. So, we now check if the usb stack is really started before we stop it. This problem is now fixed in both the upper as low-level layer. Signed-off-by: Remy Bohmer <linux@bohmer.net> Acked-by: Markus Klotzbuecher <mk@denx.de>
* | Makefile: fix bug introduced by commit 47ffd6c2Wolfgang Denk2008-09-09-3/+3
| |
* | ppc4xx: ppc440-generic-ALL: Fix out of tree build v2Ricardo Ribalda Delgado2008-09-09-21/+109
| | | | | | | | | | | | | | This patch solves the problems compiling ml507, v5fx30teval and ppc440-generic out of tree. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
* | Fix dev_print when called from usb_stor_info (usb storage command)Nícolas Carneiro Lebedenco2008-09-09-0/+6
| | | | | | | | | | | | | | | | Fix output of the usb storage command. It was printing "Device 0: not available" because IF_TYPE_USB was not included into the switch statement. Signed-off-by: Nicolas Lebedenco <nicolas.lebedenco@tasksistemas.com.br>
* | FIT: make iminfo check hashes of all images in FIT, return 1 on failed checkBartlomiej Sieka2008-09-09-0/+6
| | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* | FIT: add ability to check hashes of all images in FIT, improve outputBartlomiej Sieka2008-09-09-5/+57
| | | | | | | | | | | | | | | | - add function fit_all_image_check_hashes() that verifies if all hashes of all images in the FIT are valid - improve output of fit_image_check_hashes() when the hash check fails Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* | qemu_mips: Update linux bootm to support dynamic cmdlineJean-Christophe PLAGNIOL-VILLARD2008-09-09-0/+80
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Add support for booting of INTEGRITY operating system uImagesPeter Tyser2008-09-09-3/+46
| | | | | | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* | mips/bootm: Fix typo in commit c4f9419c, "initrd_start" replaced by ↵Jean-Christophe PLAGNIOL-VILLARD2008-09-09-1/+1
| | | | | | | | | | | | "images->rd_start" Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Remove support for booting ARTOS imagesKumar Gala2008-09-09-113/+3
| | | | | | | | | | | | | | | | | | | | | | Pantelis Antoniou stated: AFAIK, it is still used but the products using PPC are long gone. Nuke it plz (from orbit). So remove it since it cleans up a usage of env_get_char outside of the environment code. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Makefile: compile and link each module just onceWolfgang Denk2008-09-09-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | Several source files need to be compiled and linked when one or more config options are selected. To allow for easy selection in the Makefiles yet to avoild multiple compilation (which costs build time) and especially multiple linking (which causes errors), we use "COBJS = $(sort COBJS-y)" which eliminates duplicates. By courtesy of Detlev Zundel who suggested this approach. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Moved conditional compile into MakefileAndreas Engel2008-09-09-16/+12
| | | | | | | | Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
* | Merged serial_pl010.c and serial_pl011.c.Andreas Engel2008-09-09-178/+69
| | | | | | | | | | | | | | They only differ in the init function. This also adds the missing watchdog support for the PL011. Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
* | Remove gap fill in srec object v2Ricardo Ribalda Delgado2008-09-09-1/+1
| | | | | | | | | | | | | | | | SREC files do not need gap fill: The load address is specified in the file. On the other hand, it can't be avoided in a .bin object. It has no information about memory location. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
* | README: fix missing subdirectory in the documentationMarkus Heidelberg2008-09-09-3/+3
| | | | | | | | Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
* | Update i386 code (sc520_cdp)Graeme Russ2008-09-09-25/+96
| | | | | | | | | | | | Attempt to bring i386 / sc520 inline with master Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
* | fw_env: add NAND supportGuennadi Liakhovetski2008-09-09-264/+611
| | | | | | | | | | | | | | | | Add support for environment in NAND with automatic NOR / NAND recognition, including unaligned environment, bad-block skipping, redundant environment copy. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* | ppc4xx: Fix out-of-tree building of CPCI405 variantsMatthias Fuchs2008-09-09-0/+1
| | | | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Acked-by: Stefan Roese <sr@denx.de>
* | Removed hardcoded MxMR loop value from upmconfig() for MPC85xx.Sergei Poselenov2008-09-09-8/+7
| | | | | | | | Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
* | 85xx: socrates: Enable Lime support.Anatolij Gustschin2008-09-09-3/+259
| | | | | | | | | | | | | | | | | | This patch adds Lime GDC support together with support for the PWM backlight control through the w83782d chip. The reset pin of the latter is attached to GPIO, so we need to reset it in early_board_init_r. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | 85xx: Socrates: Major code update.Detlev Zundel2008-09-09-92/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the local bus ranges in the FDT for Linux for the various devices connected to the local bus via chip-select. - Set the LCRR_DBYP bit in the LCRR for local bus frequencies lower than 66 MHz and uses I/O accessor functions consequently. - UPM data update. - Update of default environment and configuration. Use I2C multibus as we do have two I2C buses. Also enable sdram and ext2 commands. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Detlev Zundel <dzu@denx.de>
* | Update Freescale 85xx boards to sys_eeprom.cTimur Tabi2008-09-09-67/+22
| | | | | | | | | | | | | | | | | | The new sys_eeprom.c supports both the old CCID EEPROM format and the new NXID format, and so it obsoletes board/freescale/common/cds_eeprom.c. Freescale 86xx boards already use sys_eeprom.c, so this patch migrates the remaining Freescale 85xx boards to use it as well. cds_eeprom.c is deleted. Signed-off-by: Timur Tabi <timur@freescale.com>
* | lib_ppc/interrupts.c: make board_show_activity() a weak functionWolfgang Denk2008-09-09-1/+6
| | | | | | | | | | | | | | This allows to use show_activity() without having to define an empty board_show_activity() function. Signed-off-by: Wolfgang Denk <wd@denx.de>