summaryrefslogtreecommitdiff
path: root/common/Makefile
Commit message (Collapse)AuthorAgeLines
* Makefile: fix bug introduced by commit 47ffd6c2Wolfgang Denk2008-09-09-1/+1
|
* Makefile: compile and link each module just onceWolfgang Denk2008-09-09-4/+5
| | | | | | | | | | | | 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>
* devices: merge to list_headJean-Christophe PLAGNIOL-VILLARD2008-08-31-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* common/Makefile: order by functionalityJean-Christophe PLAGNIOL-VILLARD2008-08-29-33/+37
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* miiphyutil: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* autoscript: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* crc16: move to lib_genericJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* miiphybb: move to drivers/net/phyJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* soft_spi: move to drivers/spiJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* soft_i2c: move to drivers/i2cJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* gunzip: move to lib_genericJean-Christophe PLAGNIOL-VILLARD2008-08-29-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Add proper SPD definitions for DDR1/2/3James Yang2008-08-27-0/+1
| | | | | | Also adds helper functions for DDR1/2 to verify the checksum. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Add command to enable/disable interruptsKumar Gala2008-08-21-0/+1
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Add 'license' command to U-Boot command lineHarald Welte2008-08-18-0/+1
| | | | | | | | | | | | | | | The 'license' command includes the U-Boot license (GPLv2) into the actual bootloader binary. The license text can be shown interactively at the U-Boot commandline. For products where the commandline can actually be accessed by the end user, this helps to prevent inadvertent GPL violations, since the GPLv2 license text can no longer be 'forgotten' to be included into the product. The 'license' command can be enabled by CONFIG_CMD_LICENSE. Signed-off-by: Harald Welte <laforge@openmoko.org>
* common: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-13-19/+23
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Incorporate yaffs2 into U-bootWilliam Juul2008-08-12-0/+1
| | | | | | | To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Remove the deprecated CONFIG_OF_FLAT_TREEGerald Van Baren2008-06-09-1/+0
| | | | | | | Use CONFIG_OF_LIBFDT instead to support flattened device trees. It is cleaner, has better functionality, and is better supported. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* Add support for environment in SPI flashHaavard Skinnemoen2008-06-03-0/+1
| | | | | | | | | This is pretty incomplete...it doesn't handle reading the environment before relocation, it doesn't support redundant environment, and it doesn't support embedded environment. But apart from that, it does seem to work. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* SPI Flash: Add "sf" commandHaavard Skinnemoen2008-06-03-0/+1
| | | | | | | | This adds a new command, "sf" which can be used to manipulate SPI flash. Currently, initialization, reading, writing and erasing is supported. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* Altera Stratix II supporteran liberty2008-04-13-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds Support for Altera's Stratix II. Within your board specific init file you will have to call 1. fpga_init (/* relocated code offset. usually => */ gd->reloc_off); 2. fpga_add (fpga_altera, (Altera_desc*)&altera_desc); Altera_desc* contines (for example): { Altera_StratixII, /* part type */ passive_serial, /* interface type */ 1, /* bytes of data part can accept */ (void *)(&funcs), /* interface function table */ 0L, /* base interface address */ 0 /* implementation specific cookie */ } funcs is the interface. It is of type altera_board_specific_func. It looks like this: altera_board_specific_func func = { pre_fn, config_fn, status_fn, done_fn, clk_fn, data_fn, abort_fn, post_fn, }; you will have to implement these functions, which is usually bit banging some gpio. Signed-off-by: Eran Liberty <liberty@extricom.com>
* SPARC/LEON3: Added AMBA Bus Plug&Play information print command (ambapp). It ↵Daniel Hellstrom2008-04-08-0/+1
| | | | | | can print available cores (type: AHB Master, AHB Slave, APB Slave), their address ranges, IRQ number and version. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-03-27-0/+1
|\
| * 85xx: Added support for multicore boot mechanismKumar Gala2008-03-26-0/+1
| | | | | | | | | | | | | | | | | | Added the cpu command that provides a generic mechanism to get status, reset, and release secondary cores in multicore processors. Added support for using the ePAPR defined spin-table mechanism on 85xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | ata: add the support for SATA frameworkDave Liu2008-03-26-0/+1
| | | | | | | | | | | | | | - add the SATA framework - add the SATA command line Signed-off-by: Dave Liu <daveliu@freescale.com>
* | ata: merge the ata_piix driverDave Liu2008-03-26-1/+0
|/ | | | | | | | move the cmd_sata.c from common/ to drivers/ata_piix.c, the cmd_sata.c have some part of ata_piix controller drivers. consolidate the driver to have better framework. Signed-off-by: Dave Liu <daveliu@freescale.com>
* Merge branch 'new-image' of git://www.denx.de/git/u-boot-testingBartlomiej Sieka2008-03-26-0/+3
|\ | | | | | | | | | | | | | | | | Conflicts: common/cmd_bootm.c cpu/mpc8xx/cpu.c Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| * Merge branch 'master' of /home/git/u-bootMarian Balakowicz2008-02-21-0/+2
| |\
| * | [new uImage] Move gunzip() common code to common/gunzip.cMarian Balakowicz2008-02-07-0/+1
| | | | | | | | | | | | | | | | | | | | | Move gunzip(), zalloc() and zfree() to a separate file. Share zalloc() and zfree() with cramfs uncompress routine. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| * | [new uImage] Define a API for image handling operationsMarian Balakowicz2008-02-07-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add inline helper macros for basic header processing - Move common non inline code common/image.c - Replace direct header access with the API routines - Rename IH_CPU_* to IH_ARCH_* Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| * | Add missing cmd_ximg.o to common/MakefileMarian Balakowicz2008-02-07-0/+1
| | | | | | | | | | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* | | Add setexpr commandKumar Gala2008-03-25-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: &, |, ^, +, -, *, /. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | Blackfin: new cplbinfo command for viewing cplb tablesMike Frysinger2008-03-15-0/+1
| | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | | Blackfin: move bootldr command to common codeMike Frysinger2008-03-15-0/+1
| |/ |/| | | | | | | | | | | | | This moves the Blackfin-common bootldr command out of the BF537-STAMP specific board directory and into the common directory so that all Blackfin boards may utilize it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | new command for displaying strings at specified memory locationsMike Frysinger2008-02-04-0/+1
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | interface to Blackfin on-chip One-Time-Programmable memoryMike Frysinger2008-02-04-0/+1
|/ | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add 'terminal program' functionalityHarald Welte2008-01-09-0/+1
| | | | | | | | | | This patch adds a 'cu' like serial terminal command to u-boot using which you can access other serial ports from the system console. OpenMoko uses this in their Neo1973 phones to get access to the GSM Modem and GPS chip from the bootloader. Signed-off-by: Harald Welte <laforge@openmoko.org>
* Conditionally compile fdt_support.cKumar Gala2007-12-07-2/+1
| | | | | | | Modify common/Makefile to conditionally compile fdt_support.c based on CONFIG_OF_LIBFDT. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* [BUILD] conditionally compile common/cmd_*.c in common/MakefileGrant Likely2007-11-20-37/+45
| | | | | | | Modify common/Makefile to conditionally compile the cmd_*.c files based on the board config. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Build: split COBJS value into multiple linesGrant Likely2007-11-15-25/+98
| | | | | | | | | This change is in preparation for condtitionial compile support in the build system. By spliting them all into seperate lines now, subsequent patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will be less invasive and easier to review Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* OneNAND support (take #2)Kyungmin Park2007-09-17-1/+2
| | | | | | | | [PATCH 3/3] OneNAND support (take #2) OneNAND support at U-Boot Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* Merge with /home/git/u-bootWolfgang Denk2007-05-17-1/+1
|\
| * Merge git://www.denx.de/git/u-bootMichal Simek2007-05-08-2/+2
| |\ | | | | | | | | | | | | | | | | | | Conflicts: include/asm-microblaze/microblaze_intc.h include/linux/stat.h
| * | new: FSL and MSR support #2Michal Simek2007-05-05-1/+1
| | |
* | | Add driver for S-ATA-controller on Intel processors with Southmushtaq khan2007-05-15-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bridge, ICH-5, ICH-6 and ICH-7. Implementation: 1. Code is divided in to two files. All functions, which are controller specific are kept in "drivers/ata_piix.c" file and functions, which are not controller specific, are kept in "common/cmd_sata.c" file. 2. Reading and Writing from the S-ATA drive is done using PIO method. 3. Driver can be configured for 48-bit addressing by defining macro CONFIG_LBA48, if this macro is not defined driver uses the 28-bit addressing. 4. S-ATA read function is hooked to the File system, commands like ext2ls and ext2load file can be used. This has been tested. 5. U-Boot command "SATA_init" is added, which initializes the S-ATA controller and identifies the S-ATA drives connected to it. 6. U-Boot command "sata" is added, which is used to read/write, print partition table and get info about the drives present. This I have implemented in same way as "ide" command is implemented in U-Boot. 7. This driver is for S-ATA in native mode. 8. This driver does not support the Native command queuing and Hot-plugging. Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
* | Moved fdt command support code to fdt_support.cGerald Van Baren2007-04-06-1/+1
| | | | | | | | | | ...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
* | Add a flattened device tree (fdt) command (2 of 2)Gerald Van Baren2007-03-31-1/+1
|/ | | | Modifications to the existing code to support the new fdt command.
* [PATCH 6_9] Move common_cmd_ace.c to drivers_systemace.cGrant Likely2007-02-20-2/+1
| | | | | | | | The code in this file is not a command; it is a device driver. Put it in the correct place. There are zero functional changes in this patch, it only moves the file. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Merge with /home/stefan/git/u-boot/denxStefan Roese2006-11-10-2/+2
|\
| * Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-10-1/+1
| |\
| | * Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-09-1/+1
| | | | | | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006