summaryrefslogtreecommitdiff
path: root/board/esd/common
Commit message (Collapse)AuthorAgeLines
* Remove legacy NAND and disk on chip references from boards.Scott Wood2009-07-17-50/+0
| | | | Signed-off-by: Scott Wood <scottwood@freescale.com>
* General help message cleanupWolfgang Denk2009-06-12-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the help messages were not really helpful; for example, many commands that take no arguments would not print a correct synopsis line, but "No additional help available." which is not exactly wrong, but not helpful either. Commit ``Make "usage" messages more helpful.'' changed this partially. But it also became clear that lots of "Usage" and "Help" messages (fields "usage" and "help" in struct cmd_tbl_s respective) were actually redundant. This patch cleans this up - for example: Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat. After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dtt Signed-off-by: Wolfgang Denk <wd@denx.de>
* esd/common: extend cpld command with address parameterMatthias Fuchs2009-06-12-14/+20
| | | | | | | | | This patch adds support for an address parameter to esd's cpld command. This is in preparation to remove compiled-in binary cpld (xsvf) bitstreams. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
* Fix e-mail address of Gary Jennejohn.Detlev Zundel2009-05-15-1/+1
| | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* Add "source" command; prepare removal of "autoscr" commandWolfgang Denk2009-04-03-3/+3
| | | | | | | | | | | | | | | | | | | | | According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before - The old "autoscr" command name is kept as an alias for compatibility - Command sequences, script files atc. have been adapted to use the new "source" command - Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ppc4xx: Use correct io accessors for esd 405/440 boardsMatthias Fuchs2009-03-20-14/+19
| | | | | | | | | This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
* pci: Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY for clarityKumar Gala2009-02-07-1/+1
| | | | | | | | | | The PCI_REGION_MEMORY and PCI_REGION_MEM are a bit to similar and can be confusing when reading the code. Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY to clarify its used for system memory mapping purposes. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Command usage cleanupPeter Tyser2009-01-28-4/+4
| | | | | | | | Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Standardize command usage messages with cmd_usage()Peter Tyser2009-01-28-1/+1
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* ppc4xx: Fix esd loadpci commandMatthias Fuchs2008-10-31-8/+16
| | | | | | | | This patch fixes esd's loadpci command when not all memory on adapter boards is accessable via PCI. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-122/+122
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* drivers/mtd/nand: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-13-6/+6
| | | | | | rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fixing coding style issuesWilliam Juul2008-08-12-3/+3
| | | | | | | | | - Fixing leading white spaces - Fixing indentation where 4 spaces are used instead of tab - Removing C++ comments (//), wherever I introduced them Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Update MTD to that of Linux 2.6.22.1William Juul2008-08-12-22/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot changed in the Linux MTD code, since it was last ported from Linux to U-Boot. This patch takes U-Boot NAND support to the level of Linux 2.6.22.1 and will enable support for very large NAND devices (4KB pages) and ease the compatibility between U-Boot and Linux filesystems. This patch is tested on two custom boards with PPC and ARM processors running YAFFS in U-Boot and Linux using gcc-4.1.2 cross compilers. MAKEALL ppc/arm has some issues: * DOC/OneNand/nand_spl is not building (I have not tried porting these parts, and since I do not have any HW and I am not familiar with this code/HW I think its best left to someone else.) Except for the issues mentioned above, I have ported all drivers necessary to run MAKEALL ppc/arm without errors and warnings. Many drivers were trivial to port, but some were not so trivial. The following drivers must be examined carefully and maybe rewritten to some degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.c Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Stig Olsen <stig.olsen@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Fix compilation error for TASREGTsiChung Liew2008-08-01-0/+2
| | | | | | | TASREG is ColdFire platform, the include ppc4xx.h in board/esd/common/flash.c causes conflict. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ppc4xx: Small coding style cleanup for the latest esd patchesStefan Roese2008-04-22-1/+0
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: update esd's common auto_update code for 405 boardsMatthias Fuchs2008-04-22-117/+106
| | | | | | | | - Coding style cleanup (long lines) - improve handling of protected flash regions - remove dead code Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Update esd's common LCD code for 405 boardsMatthias Fuchs2008-04-22-38/+151
| | | | | | | | - Coding style cleanup (long lines) - Add s1d13505 support - Make some functions return a result code instead of void Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot into new-imageMarian Balakowicz2008-03-12-176/+167
|\
| * esd/common/fpga.c: fix indentation.Wolfgang Denk2008-03-09-177/+167
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * esd/common/fpga.c: fix 'assignment of read-only location' errorWolfgang Denk2008-03-09-3/+4
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from ↵Jean-Christophe PLAGNIOL-VILLARD2008-03-08-1/+1
| | | | | | | | | | | | pointer target type Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | [new uImage] Update naming convention for bootm/uImage related codeMarian Balakowicz2008-02-29-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the following prefix convention for the image format handling and bootm related code: genimg_ - dual format shared code image_ - legacy uImage format specific code fit_ - new uImage format specific code boot_ - booting process related code Related routines are renamed and a few pieces of code are moved around and re-grouped. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* | [new uImage] Add dual format uImage support frameworkMarian Balakowicz2008-02-25-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* | [new uImage] Define a API for image handling operationsMarian Balakowicz2008-02-07-40/+33
|/ | | | | | | | | - 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>
* ppc4xx: More cleanup for esd's LCD codeMatthias Fuchs2008-01-04-20/+18
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Coding style cleanupStefan Roese2007-12-28-17/+11
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: use correct io accessors for esd's LCD codeMatthias Fuchs2007-12-28-7/+8
| | | | | | | This patch fixes esd's LCD dectection code to work correctly with newer gcc versions. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-16-0/+91
|\
| * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-12/+12
| |\
| * | Migrate esd 405EP boards to new NAND subsystemMatthias Fuchs2007-07-09-0/+91
| | | | | | | | | | | | | | | | | | | | | This patch prepares the migration from the legacy NAND driver to U-Boot's new NAND subsystem for esd boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* | | ppc4xx: Remove #warning in esd auto_update.cStefan Roese2007-08-16-4/+0
| |/ |/| | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-1/+1
| | | | | | | | | | | | | | | | Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | board/[d-e]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-9/+9
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | board/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-8/+8
|/ | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* [PATCH 1_4] Merge common get_dev() routines for block devicesGrant Likely2007-02-20-2/+1
| | | | | | | Each of the filesystem drivers duplicate the get_dev routine. This change merges them into a single function in part.c Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Fix JFFS2 support for legacy NAND driver.Marian Balakowicz2006-04-08-8/+8
| | | | Some more NAND cleanup and small fixes.
* Minor code cleanupWolfgang Denk2006-03-06-4/+0
|
* Merge the new NAND code (testing-NAND brach); see doc/README.nandWolfgang Denk2006-03-06-10/+18
|\ | | | | | | | | | | | | Rewrite of NAND code based on what is in 2.6.12 Linux kernel Patch by Ladislav Michl, 29 Jun 2005 [Merge with /home/tur/nand/u-boot]
| * Re-factoring the legacy NAND code (legacy NAND now only in board-specificBartlomiej Sieka2006-03-05-10/+18
| | | | | | | | | | | | | | code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is implemented for these boards.
* | Various changes to esd HH405 board specific filesStefan Roese2006-02-07-0/+3
|/ | | | Patch by Matthias Fuchs, 07 Feb 2006
* Fix various compiler warnings on ppc4xx builds (ELDK 4.0)Stefan Roese2006-01-18-1/+1
| | | | Patch by Stefan Roese, 18 Jan 2006
* PMC405 and CPCI405: Moved configuration of pci resources into config file.Stefan Roese2006-01-18-0/+123
| | | | | | PMC405 and CPCI2DP: Added firmware download and booting via pci. Patch by Matthias Fuchs, 20 Dec 2005
* Merge with /home/m8/git/u-bootWolfgang Denk2005-10-29-2/+2
|\
| * Add support for multiple PHYs.Marian Balakowicz2005-10-28-2/+2
| |
* | Fix conflicting types (flash_write()) in esd auto_update.cStefan Roese2005-10-20-1/+1
|/ | | | Patch by Stefan Roese, 20 Oct 2005
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-7/+7
|
* Fix gzip bmp support (test if malloc fails, warning when truncated).Stefan Roese2005-10-08-8/+15
| | | | | Increase CFG_VIDEO_LOGO_MAX_SIZE on HH405 board. Patch by Stefan Roese, 08 Oct 2005
* Fix VOH405 SupportWolfgang Denk2005-09-25-2/+3
| | | | Patch by Matthias Fuchs, 25 Sep 2005
* Add SM501 support to HH405 board.Stefan Roese2005-09-22-81/+177
| | | | | | Add support for gzip compressed bmp's (CONFIG_VIDEO_BMP_GZIP). Add support for eeprom write-enable (CFG_EEPROM_WREN). Patch by Stefan Roese, 22 Sep 2005