summaryrefslogtreecommitdiffstats
path: root/board/delta
Commit message (Collapse)AuthorAgeFilesLines
* General help message cleanupWolfgang Denk2009-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* arm: unify linker scriptJean-Christophe PLAGNIOL-VILLARD2009-06-121-56/+0
| | | | | | | | | | | | all arm boards except a few use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix all linker script to handle all rodata sectionsTrent Piepho2009-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent gcc added a new unaligned rodata section called '.rodata.str1.1', which needs to be added the the linker script. Instead of just adding this one section, we use a wildcard ".rodata*" to get all rodata linker section gcc has now and might add in the future. However, '*(.rodata*)' by itself will result in sub-optimal section ordering. The sections will be sorted by object file, which causes extra padding between the unaligned rodata.str.1.1 of one object file and the aligned rodata of the next object file. This is easy to fix by using the SORT_BY_ALIGNMENT command. This patch has not be tested one most of the boards modified. Some boards have a linker script that looks something like this: *(.text) . = ALIGN(16); *(.rodata) *(.rodata.str1.4) *(.eh_frame) I change this to: *(.text) . = ALIGN(16); *(.eh_frame) *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) This means the start of rodata will no longer be 16 bytes aligned. However, the boundary between text and rodata/eh_frame is still aligned to 16 bytes, which is what I think the real purpose of the ALIGN call is. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
* Command usage cleanupPeter Tyser2009-01-281-1/+1
| | | | | | | | 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>
* {delta,zylonite}/lowlevel_init.S: fix typoWolfgang Denk2009-01-271-1/+1
| | | | | | | | | | | Commit 9d803d8c mistakenly changed some constants from 0x300 into 300 - this patch fixes it. Pointed out by Tom Evans <tom@ceos.com.au>, see http://article.gmane.org/gmane.comp.boot-loaders.u-boot/51992 for details. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Align end of bss by 4 bytesSelvamuthukumar2008-11-181-1/+1
| | | | | | | | | | Most of the bss initialization loop increments 4 bytes at a time. And the loop end is checked for an 'equal' condition. Make the bss end address aligned by 4, so that the loop will end as expected. Signed-off-by: Selvamuthukumar <selva.muthukumar@e-coninfotech.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* Consolidate MAX/MIN definitionsAndy Fleming2008-11-021-2/+0
| | | | | | | There were several, now there is one (two if you count the lower-case versions). Signed-off-by: Andy Fleming <afleming@freescale.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-183-17/+17
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* delta, zylonite: Update nand_oobinfo to nand_ecclayout.Scott Wood2008-09-101-4/+2
| | | | | | This is part of the switch to newer upstream MTD code. Signed-off-by: Scott Wood <scottwood@freescale.com>
* drivers/mtd/nand: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-131-1/+1
| | | | | | rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fixing coding style issuesWilliam Juul2008-08-121-1/+1
| | | | | | | | | - 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-121-33/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 some more printf() format issues.Jean-Christophe PLAGNIOL-VILLARD2008-07-131-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Cleanup out-or-tree building for some boards (.depend)Wolfgang Denk2008-07-021-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk2008-01-121-1/+1
| | | | | | | | | | | | | | | | | | | With recent toolchain versions, some boards would not build because or errors like this one (here for ocotea board when building with ELDK 4.2 beta): ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab] For many boards, the .bss section is big enough that it wraps around at the end of the address space (0xFFFFFFFF), so the problem will not be visible unless you use a 64 bit tool chain for development. On some boards however, changes to the code size (due to different optimizations) we bail out with section overlaps like above. The fix is to add the NOLOAD attribute to the .bss and .sbss sections, telling the linker that .bss does not consume any space in the image. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-071-1/+1
|\
| * board/[d-e]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-091-1/+1
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * board/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge with git://www.denx.de/git/u-boot.git#testing-USBMarkus Klotzbuecher2007-03-231-7/+8
|\ \ | |/ |/|
| * Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-11-271-8/+12
| |\
| * | More cleanup for the delta board and the generic usb_ohci driver. AddedMarkus Klotzbuecher2006-05-231-53/+2
| | | | | | | | | | | | | | | CFG_USB_BOARD_INIT and CFG_USB_CPU_INIT for enabling board and cpu specific initialization and cleanup hooks respectively.
| * | This patch adds USB storage support for the delta board. This is the firstMarkus Klotzbuecher2006-05-221-0/+52
| | | | | | | | | | | | | | | board to make use of a generic OHCI driver, that calls hooks for board dependant initialization.
* | | Added support for the TQM8272 board from TQHeiko Schocher2006-12-211-1/+2
| |/ |/| | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-091-1/+1
| | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
* | Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-011-7/+11
|/ | | | | | | | | | | | | | | | | | | | | Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
* delta board: support for magic key detection and handling.Markus Klotzbuecher2006-04-251-0/+208
|
* Merge with /home/m8/git/u-bootWolfgang Denk2006-04-122-8/+1
|\
| * Fix JFFS2 support for legacy NAND driver.Marian Balakowicz2006-04-082-4/+1
| | | | | | | | Some more NAND cleanup and small fixes.
* | * Add support for ymodem protocol downloadWolfgang Denk2006-04-012-15/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | Patch by Stefano Babic, 29 Mar 2006 * Memory Map Update for Delta board: U-Boot is at 0x80000000-0x84000000 Merge with /home/mk/8-benq/u-boot
| * | delta board: one more DA9030 fix.Markus Klotzbuecher2006-03-301-11/+18
| | |
| * | Change delta board memory map to start at 0x80000000.Markus Klotzbuecher2006-03-291-1/+1
| | |
| * | delta board: minor update to DA9030 code.Markus Klotzbuecher2006-03-291-2/+4
| | |
| * | delta board: fix DA9030 reset procedure.Markus Klotzbuecher2006-03-271-3/+10
| | |
* | | GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-311-4/+2
|/ /
* | Merge with http://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2006-03-241-3/+3
|\ \ | |/
| * Some code cleanup for GCC 4.xWolfgang Denk2006-03-111-3/+3
| |
* | delta board: DA9030 initialization and i2c support. Some minor changes toMarkus Klotzbuecher2006-03-241-0/+67
| | | | | | | | make the pxa i2c driver work with the monahans cpu.
* | Cleanup of the monahans cpu and delta board port.Markus Klotzbuecher2006-03-202-250/+5
|/
* Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-03-063-144/+141
| | | | Code cleanup.
* Cleanup of NAND support of delta board using the Monahans Data FlashMarkus Klotzbücher2006-03-061-202/+78
| | | | Controller.
* NAND finally working. Two bugs fixed:Markus Klotzbücher2006-03-061-8/+34
| | | | | | | | | * For READ_STATUS and READID commands always 8 bytes need to be read from NDDB. Otherwise they stay there and get send to flash as the first data word when writing. * In nand_base.c the oob variable is not reset so this->oob_buf is overwritten what eventually screws up the bad block descriptor table.
* Lots of new stuff:Markus Klotzbücher2006-03-041-67/+184
| | | | | | | | | | | * Debug message can be turned on and off. * Waiting for events now times out. * Implemented RESET command. * Added appropriate nand_bbt_descriptor and nand_oobinfo. Remaining Problems: * Read Status still behaves weird an returns invalid stuff sometimes. * ECC Placement does not respect our scheme in nand_oobinfo.
* Erasing works too now. The CS don't care causes problem with READSTATUS,Markus Klotzbücher2006-03-031-5/+10
| | | | don't ask me why. There are still bugs in the bad block logic.
* Write operation is working. Turned out that the READSTATUS hack was wrongMarkus Klotzbücher2006-03-031-0/+2
| | | | after all.
* Writing is working, but there's still a bug that causes the data written toMarkus Klotzbücher2006-03-031-25/+73
| | | | start at an offset of 4 bytes from the start of the page.
* Implemented writing, not working yet.Markus Klotzbücher2006-03-031-54/+158
|
* Moved the waiting loop for "Read Data Request" RDDREQ into theMarkus Klotzbücher2006-03-021-15/+19
| | | | | delta_cmdfunc function, because this bit is only set once after a command is sent and this allows read functions to be called multiple times.
* Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, sinceMarkus Klotzbücher2006-03-021-2/+5
| | | | there are 0)
* Further NAND stuff implemented. Basic read commands seem to work.Markus Klotzbücher2006-03-011-83/+146
|
* Added GPIO initialization of DF signal. Still not working.Markus Klotzbücher2006-02-281-2/+40
|
OpenPOWER on IntegriCloud