- Jul 22, 2009
-
-
Piotr Ziecik authored
This patch fixes broken build introduced by commit 84bf7ca5 (api: remove un-needed ifdef CONFIG_API already handle by the Makefile). Signed-off-by:
Piotr Ziecik <kosmo@semihalf.com>
-
Wolfgang Denk authored
The #ifdef/#endif pairing in this file was obviously messed up. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Minkyu Kang authored
Because of the reset_cpu is soc specific, should be move to soc Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Jul 19, 2009
-
-
Simon Kagstrom authored
This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by:
Simon Kagstrom <simon.kagstrom@netinsight.net> Acked-by:
Stefan Roese <sr@denx.de>
-
- Jul 18, 2009
-
-
Prafulla Wadaskar authored
This is Marvell's 88F6281_A0 based custom board developed for wireless access point product This patch is tested for- 1. Boot from DRAM/SPI flash/NFS 2. File transfer using tftp and loadb 3. SPI flash read/write/erase 4. Booting Linux kernel and RFS from SPI flash 5. Boot from USB supported Reviewed-by:
Ronen Shitrit <rshitrit@marvell.com> Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Prafulla Wadaskar authored
Reference: http://plugcomputer.org/ http://openplug.org/plugwiki/index.php/Das_U-boot_plug_support This patch is tested for- 1. Boot from DRAM/NAND flash 2. File transfer using tftp 3. NAND flash read/write/erase 4. Linux kernel and RFS Boot from NAND 5. Enabled USB PHY init for kernel need 6. Boot from USB supported Note: to boot Kirkwood kernel with USB support, you should add "usb start" in the boot sequence Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Wolfgang Denk authored
-
Alessandro Rubini authored
The sub-command parser missed a brace, so "return 0;" is always taken and no error message is diplayed if you say "i2c scan" instead of "i2c probe", for example. Proper brace is added. Also, a misleading and unneeded else is removed. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com.it>
-
- Jul 17, 2009
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
So far the console API uses the following naming convention: ======Extract====== typedef struct device_t; int device_register (device_t * dev); int devices_init (void); int device_deregister(char *devname); struct list_head* device_get_list(void); device_t* device_get_by_name(char* name); device_t* device_clone(device_t *dev); ======= which is too generic and confusing. Instead of using device_XX and device_t we change this into stdio_XX and stdio_dev This will also allow to add later a generic device mechanism in order to have support for multiple devices and driver instances. Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Edited commit message. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Peter Tyser authored
A bug was introduced by commit e94e460c which affected non-MPC83xx/85xx/86xx ppc boards which had CONFIG_DDR_ECC defined and resulted in errors such as: Configuring for canyonlands board... fsl_dma.c:50:2: error: #error "Freescale DMA engine not supported on your processor" make[1]: *** No rule to make target `.depend', needed by `libdma.a'. Stop. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
Prafulla Wadaskar authored
arranged configurations in alphabetical order CONFIG_CMD_FLASH moved under ifndef CONFIG_SYS_NO_FLASH Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Mike Frysinger authored
The curr_device variable really should be namespaced with a "sata_" prefix since it is only used by the sata code. It also avoids random conflicts with other pieces of code (like cmd_mmc): common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0): multiple definition of `curr_device' common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The curr_device variable isn't used outside of cmd_mmc, so mark it static to avoid conflicts with other pieces of code (like sata which also exports a curr_device). Otherwise we end up with stuff like: common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0): multiple definition of `curr_device' common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
When the envcrc building was made conditional, it missed a bunch of env storage types, so add all currently supported types. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Shinya Kuribayashi authored
The following commit introduced $(PCI_CLOCK) reference so that we could tweak `PCI_66M' definition via an environment variable. > commit f046ccd1 > Author: Eran Liberty <liberty@freescale.com> > Date: Thu Jul 28 10:08:46 2005 -0500 > > * Patch by Eran Liberty > Add support for the Freescale MPC8349ADS board. But I suggest a removal of it for the following reasons: * In 2006, MPC8349ADS was merged into MPC8349EMDS port, and it seems that MPC8349EMDS port is PCI_66M free. * OTOH, PCI_66M is used by MPC832XEMDS an MPC8360EMDS ports, but they don't need $(PCI_CLOCK) environment variable at all. PCI_66M is automatically configured via $(BOARD)_config names with the help of $(findstring _66_,$@). * Unfortunately $(PCI_CLOCK) has been undocumented anywhere, so only a few people know the existence of it these days. * Keep config.mk independent from $(BOARD) as much as possible. Signed-off-by:
Shinya Kuribayashi <skuribay@pobox.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
At the first run of make we generate the autoconf.mk and autoconf.mk.dep if not already the case and we currently include only to .dep In order to use these autogenerated values we need to include it also even if it's included in config.mk but it's done before their generation Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Matthias Weisser authored
This patch adds support splash image positioning by adding an additional variable "splashpos" to the environment. Please see README for details. Signed-off-by:
Matthias Weisser <matthias.weisser@graf-syteco.de> Acked-by:
Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Michal Simek authored
This change remove compilation warnings. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Jul 16, 2009
-
-
Anton Vorontsov authored
Since we have simple hwconfig interface now, we don't need pci_external_arbiter variable any longer. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Anton Vorontsov authored
This patch simply converts the board to the hwconfig infrastructure. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Anton Vorontsov authored
fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and also will fixup clock-frequency property. Plus, since DR USB and eSDHC are mutually exclusive, we should only configure the eSDHC if asked through hwconfig. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Anton Vorontsov authored
This patch adds support for eSDHC on MPC837XERDB boards. The WP switch doesn't seem to work on RDB boards though, the WP pin is always asserted (can see the pin state when it's in GPIO mode). FSL DR USB and FSL eSDHC are mutually exclusive because of pins multiplexing, so user should specify 'esdhc' or 'dr_usb' options in the hwconfig environment variable to choose between the devices. p.s. Now we're very close to a monitor len limit (196 bytes left using gcc-4.2.0), so also increase the monitor len by one sector (64 KB). Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Anton Vorontsov authored
This patch implements fdt_fixup_esdhc() function that is used to fixup the device tree. The function adds status = "disabled" propery if esdhc pins muxed away, otherwise it fixups clock-frequency for esdhc nodes. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Anton Vorontsov authored
This patch implements simple hwconfig infrastructure: an interface for software knobs to control a hardware. This is very simple implementation, i.e. it is implemented via `hwconfig' environment variable. Later we could write some "hwconfig <enable|disable|list>" commands, ncurses interface for Award BIOS-like interface, and frame-buffer interface for AMI GUI[1] BIOS-like interface with mouse support[2]. Current implementation details/limitations: 1. Doesn't support options dependencies and mutual exclusion. We can implement this by integrating apt-get[3] into the u-boot. But I didn't bother yet. 2. Since we don't implement hwconfig command, i.e. we're working with the environement directly, there is no way to tell that toggling a particular option will need a reboot to take an effect. So, for now it's advised to always reboot the target after modifying hwconfig variable. 3. We support hwconfig options with arguments. For example, set hwconfig dr_usb:mode=peripheral,phy_type=ulpi That means: - dr_usb - enable Dual-Role USB controller; - dr_usb:mode=peripheral - USB in Function mode; - dr_usb:phy_type=ulpi - USB should work with ULPI PHYs; The purpose of this simple implementation is to define some internal API and then we can continue improving user experience by adding more mature interface, like hwconfig command with bells and whistles. Or not adding, if we feel that current interface fits its needs. [1] http://en.wikipedia.org/wiki/American_Megatrends [2] Regarding ncurses and GUI with mouse support -- I'm just kidding. [3] The comment regarding apt-get is also a joke, meaning that dependency tracking could be non-trivial. For example, for enabling HW feature X we may need to disable Y, and turn Z into reduced mode (like RMII-only interface for ethernet, no MII). It's quite trivial to implement simple cases though. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Jerry Van Baren authored
Update for... * BDI2000 -> BDI3000 (BDI2000 is obsolete). * Add a line to read the doc/README.* files * Fix coding standard violations Signed-off-by:
Gerald Van Baren <vanbaren@cideas.com>
-
Kim Phillips authored
a.k.a cfi_mtd.c does as cfi_flash.c does. This also prevents the TQM834x build from doing a: cfi_mtd.c:36: error: variably modified 'cfi_mtd_info' at file scope cfi_mtd.c:37: error: variably modified 'cfi_mtd_names' at file scope using gcc 4.4. Signed-off-by:
Kim Phillips <kim.phillips@freescale.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 14, 2009
-
-
Kim Phillips authored
Saving the environment leads to overwriting u-boot itself, bricking boards. Increase u-boot's image size so the environment base address doesn't end up overlapping u-boot text. Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
Valeriy Glushkov authored
Signed-off-by:
Valeriy Glushkov <gvv@lstec.com> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
Valeriy Glushkov authored
Signed-off-by:
Valeriy Glushkov <gvv@lstec.com> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
Kim Phillips authored
When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by:
Kim Phillips <kim.phillips@freescale.com> Cc: Dave Liu <daveliu@freescale.com> Cc: Ron Madrid <ron_madrid@sbcglobal.net> Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
-