summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeLines
* kerneldoc: tmpl: Implement template for LG-arraysMarek Vasut2012-10-22-1/+47
| | | | | | | | Implement kerneldoc template for linker-generated arrays. This is the first template in U-Boot that is used to generate kerneldoc style documentation. This template is very basic. Signed-off-by: Marek Vasut <marex@denx.de>
* common: Convert the U-Boot commands to LG-arraysMarek Vasut2012-10-22-5/+5
| | | | | | | | | | | | | | | | | | This patch converts the old method of creating a list of command onto the new LG-arrays code. The old u_boot_cmd section is converted to new u_boot_list_cmd subsection and LG-array macros used as needed. Minor adjustments had to be made to the common code to work with the LG-array macros, mostly the fixup_cmdtable() calls are now passed the ll_entry_start and ll_entry_count instead of linker-generated symbols. The command.c had to be adjusted as well so it would use the newly introduced LG-array API instead of directly using linker-generated symbols. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
* Merge branch 'master' of git://git.denx.de/u-boot-armTom Rini2012-10-19-18/+14
|\ | | | | | | | | | | | | Conflicts: drivers/serial/serial_lh7a40x.c Signed-off-by: Tom Rini <trini@ti.com>
| * Remove lh7a40x cpu and serial driverAlbert ARIBAUD2012-10-16-18/+14
| | | | | | | | | | | | | | Since commit 957731ed (ARM: remove broken "lpd7a40x" boards), lh7a40x cpu and serial driver have become unused. Remove them. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
* | kerneldoc: stdio: tmpl: Add stdio templateMarek Vasut2012-10-17-1/+47
|/ | | | | | | | | | Add STDIO documentation template. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> [trini: Fix DOCBOOKS line as we don't have linker_lists yet] Signed-off-by: Tom Rini <trini@ti.com>
* kerneldoc: Add myself to the git-mailrc for kerneldocMarek Vasut2012-10-15-0/+1
| | | | | | | Add entry for kerneldoc into the git-mailrc pointing to the U-Boot ML and myself. Signed-off-by: Marek Vasut <marex@denx.de>
* kerneldoc: Add nicer CSS stylesheet for HTML docsMarek Vasut2012-10-15-0/+17
| | | | | | | | | | | | | Import basic CSS stylesheet for the HTML documentation. The base for the stylesheet is taken from: http://ds9a.nl/docbook/minimal-page.html I customized the CSS a bit further, for example to add curvy corners to example section and change the tint of gray. The HTML documentation does not look that crude anymore. Signed-off-by: Marek Vasut <marex@denx.de>
* kerneldoc: Implant DocBook from Linux kernelMarek Vasut2012-10-15-0/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull slightly modified version of Documentation/DocBook, the related perl script scripts/kernel-doc and the scripts/docproc.c from Linux kernel and implant it into U-Boot. This will allow smooth generation of kerneldoc style documentation. It was necessary to modify the DocBook/Makefile to work with U-Boot build system. The changes were only minor though and involved replacing the kbuild specific parts. It was also necessary to replace use of variables like KERNEL_VERSION with U_BOOT_VERSION, strings like Linux kernel with U-Boot Bootloader etc. so the generated result actually matches. Finally, it was necessary to adjust docproc.c, since the documentation in U-Boot is located in doc/DocBook instead of Documentation/DocBook as is in case of the Linux kernel. Some parts of the DocBook Makefile are unused, but to allow easier sync with Linux kernel, these parts are still left in. The targets enabled now are "htmldocs" "pdfdocs" "psdocs" "xmldocs" and "cleandocs" to remove the results of documentation build. Linux scripts/docproc.c: commit f0f3ca8d967462dafb815412b14ca3339b9817a6 Date: Wed Jun 15 11:53:13 2011 +0200 Linux scripts/kernel-doc: commit 1b40c1944db445c1de1c47ffd8cd426167f488e8 Date: Sun Aug 12 10:46:15 2012 +0200 Linux Documentation/DocBook: commit bb8187d35f820671d6dd76700d77a6b55f95e2c5 Date: Thu May 17 19:06:13 2012 -0400 Signed-off-by: Marek Vasut <marex@denx.de>
* ARM: prevent misaligned array initsAlbert ARIBAUD2012-10-15-0/+122
| | | | | | | | | | | | | | Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -mno-unaligned-access. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net> [trini: Switch to usign call cc-option for -mno-unaligned-access as Albert had done previously as that's really correct] Signed-off-by: Tom Rini <trini@ti.com>
* MPC85xx: remove support for TQM85xx boardsWolfgang Denk2012-10-05-2/+3
| | | | | | | | | | | | Due to grown code sizes the TQM85xx boards don't build any more with some older tool chains (like ELDK 4.2). As these boards have long reached EOL it seems a waste of effort trying to fix them. The vendor has agreed to drop support for them, too. So let's get rid of them. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> cc: Kim Phillips <kim.phillips@freescale.com> Acked-by: Stefan Roese <sr@denx.de>
* ARM : Add support for MINI2440 (s3c2440).Gabriel Huau2012-10-03-0/+28
| | | | | | | | | | Support of the MINI2440 board from FriendlyARM from an old version of u-boot : http://repo.or.cz/r/u-boot-openmoko/mini2440.git Currently, supporting only boot from NOR. Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
* doc/git-mailrc: Add 'rmobile' aliasNobuhiro Iwamatsu2012-10-03-0/+1
| | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* rmobile: Add READMENobuhiro Iwamatsu2012-10-03-0/+65
| | | | | | | | This add README of Renesas RMOBILE. Based doc/README.omap3. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Acked-by: Tom Rini <trini@ti.com>
* Merge branch 'master' of git://git.denx.de/u-boot-netTom Rini2012-09-27-2/+17
|\
| * PXE: FDT: Add support for fdt in PXEChander Kashyap2012-09-27-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now DT support is becoming common for all new SoC's. Hence it is better to have option for getting specific FDT from the remote server. This patch adds support for new label i.e. 'fdt'. This will allow to retrieve 'fdt blob' from the remote server. This patch take care for the following scenarios. The usage of fdt is optional. The 'fdt blob' can be retrieved from tftp or can be available locally or can be absent. If 'fdt_addr_r' environment variable is set and 'fdt' label is defined retrieve 'fdt blob' from tftp. 'fdt_addr_r' is then passed along bootm command. If 'fdt_addr' is set and 'fdt blob' is not retrieved from the tftp pass 'fdt_addr' to bootm command. In this case 'fdt blob' will be available at 'fdt_addr'. If 'fdt_addr' is not set and 'fdt blob' is not retrieve from tftp pass NULL to boot command. In this case 'fdt blob' is not required and absent. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Acked-by: Jason Hobbs <jason.hobbs@calxeda.com>
| * net: Make the netconsole buffer size configurableJoe Hershberger2012-09-24-0/+2
| | | | | | | | | | | | | | | | | | Allow a board to configure a larger buffer for netconsole, but leave the default. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
| * net: Make netconsole src and dest ports configurableJoe Hershberger2012-09-24-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is desirable to use different port numbers for sending and receiving packets with netconsole in the case where you have more than one device on the local subnet with netconsole enabled for broadcast. When they use the same port for both, any output from one will look like input to the other. This is typlically not desirable. This patch allows the input and output ports to be specified separately in the environment. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
* | SPL: Add support for loading image from ram in SPL.Pavel Machek2012-09-27-0/+1
| | | | | | | | | | Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
* | README.commands: Document what UNDEF_SYM doesTom Rini2012-09-26-0/+7
| | | | | | | | | | | | | | Changes in v2: - Reword a bit more Signed-off-by: Tom Rini <trini@ti.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxTom Rini2012-09-25-105/+260
|\ \ | |/ |/|
| * powerpc/mpc8xxx: Enable 3-way and 4-way DDR interleavingYork Sun2012-08-23-2/+34
| | | | | | | | | | | | | | | | Restructure DDR interleaving option to support 3 and 4 DDR controllers for 2-, 3- and 4-way interleaving. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * powerpc/CoreNet: add tool to support pbl image build.Shaohui Xie2012-08-23-0/+114
| | | | | | | | | | | | | | | | | | | | Provides a tool to build boot Image for PBL(Pre boot loader) which is used on Freescale CoreNet SoCs, PBL can be used to load some instructions and/or data for pre-initialization. The default output image is u-boot.pbl, for more details please refer to doc/README.pblimage. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * powerpc/corenet_ds: Update README and README.srio-pcie-boot-corenetLiu Gang2012-08-23-99/+112
| | | | | | | | | | | | | | | | | | Added descriptions about boot from PCIE in the files README and doc/README.srio-pcie-boot-corenet, and changed the name of the doc/README.srio-boot-corenet to doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang <Gang.Liu@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
| * powerpc/corenet_ds: Update README.srio-boot-corenetLiu Gang2012-08-23-37/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update some descriptions due to the implementation changes: For master: Get rid of the SRIOBOOT_MASTER build target, and to support for serving as a SRIO boot master via environment variable. For slave: 1. When compile the slave image for boot from SRIO, no longer need to specify which SRIO port it will boot from. 2. All slave's cores should be in hold off. Signed-off-by: Liu Gang <Gang.Liu@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-armTom Rini2012-09-21-4/+68
|\ \
| * | tegra: fdt: Add NAND controller binding and definitionsSimon Glass2012-09-07-0/+53
| | | | | | | | | | | | | | | | | | | | | Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
| * | cosmetic: Better explain how to use the kirkwood kwbimage.cfg file.Karl O. Pinc2012-09-03-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, This adds to the documenation to explain how to use the kwbimage.cfg file necessary to generate an image with prefixed board setup values necessary for the kirkwood boards. Signed-off-by: Karl O. Pinc <kop@meme.com>
| * | Cosmetic doc typo fixes to the kwbimage feature docsKarl O. Pinc2012-09-03-1/+1
| | | | | | | | | | | | Signed-off-by: Karl O. Pinc <kop@meme.com>
* | | Merge branch 'ext4'Tom Rini2012-09-20-0/+46
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Makefile change for LIBS -> LIBS-y change. Conflicts: Makefile Signed-off-by: Tom Rini <trini@ti.com>
| * | | ext4fs write supportUma Shankar2012-08-09-0/+46
| | |/ | |/| | | | | | | | | | | | | | | | Signed-off-by: Uma Shankar <uma.shankar@samsung.com> Signed-off-by: Manjunatha C Achar <a.manjunatha@samsung.com> Signed-off-by: Iqbal Shareef <iqbal.ams@samsung.com> Signed-off-by: Hakgoo Lee <goodguy.lee@samsung.com>
* | | ARM: Remove apollon boardMarek Vasut2012-09-18-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is the only board that still sticks to OneNAND IPL. Remove this board, since we have SPL around for a while and OneNAND is well supported in the SPL framework. The board can be revived if necessary. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Tom Rini <trini@ti.com>
* | | nand: Add support for unlock.invertJoe Hershberger2012-09-17-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | NAND unlock command allows an invert bit to be set to unlock all but the selected page range. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> [scottwood@freescale.com: updated docs and added comment about invert bit] Signed-off-by: Scott Wood <scottwood@freescale.com>
* | | README.SPL: Move the 'Estimating stack usage' from omap3 to hereTom Rini2012-09-02-22/+23
| | | | | | | | | | | | | | | | | | The instructions are generic, so move to the generic doc. Signed-off-by: Tom Rini <trini@ti.com>
* | | README.SPL: Add a small Debugging sectionTom Rini2012-09-02-0/+7
| | | | | | | | | | | | Signed-off-by: Tom Rini <trini@ti.com>
* | | dm: Add twserial device documentTomáš Hlaváček2012-09-02-0/+47
| | | | | | | | | | | | Signed-off-by: Tomas Hlavacek<tmshlvck@gmail.com>
* | | dm: RTC subsystem analysis added.Tomas Hlavacek2012-09-02-0/+258
| | | | | | | | | | | | Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
* | | dm: Add pcmcia design documentViktor Krivak2012-09-02-0/+78
| | | | | | | | | | | | Signed-off-by: Viktor Krivak <viktor.krivak@gmail.com>
* | | dm: add PCI design documentPavel Herrmann2012-09-02-0/+265
| | | | | | | | | | | | Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
* | | dm: Driver model analysis document for Watchdog subsystem has been added.Tomas Hlavacek2012-09-02-0/+334
| | | | | | | | | | | | Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
* | | dm: Hwmon UDM subsystem analysis added.Tomas Hlavacek2012-09-02-0/+118
| | | | | | | | | | | | Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
* | | dm: Add POWER API transition documentViktor Krivak2012-09-02-0/+88
| | | | | | | | | | | | Signed-off-by: Viktor Krivak <viktor.krivak@gmail.com>
* | | dm: Add block device documentPavel Herrmann2012-09-02-0/+279
| | | | | | | | | | | | Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
* | | dm: Add SPI API transition documentViktor Krivak2012-09-02-0/+200
| | | | | | | | | | | | Signed-off-by: Viktor Krivak <viktor.krivak@gmail.com>
* | | dm: Add networking subsystem analysisMarek Vasut2012-09-02-0/+434
| | | | | | | | | | | | Signed-off-by: Marek Vasut <marex@denx.de>
* | | dm: Add MMC subsystem analysisMarek Vasut2012-09-02-0/+319
| | | | | | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* | | dm: Add GPIO API transition documentViktor Křivák2012-09-02-0/+106
| | | | | | | | | | | | Signed-off-by: Viktor Křivák <viktor.krivak@gmail.com>
* | | dm: Add Driver cores design documentPavel Herrmann2012-09-02-0/+126
| | | | | | | | | | | | Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
* | | dm: Initial import of design documentsMarek Vasut2012-09-02-0/+1075
| |/ |/| | | | | | | | | | | | | This patch contains UDM-design.txt, which is document containing general description of the driver model. The remaining files contains descriptions of conversion process of particular subsystems. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* | at91: atmel_nand: Update driver to support Programmable Multibit ECC controllerWu, Josh2012-09-01-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Programmable Multibit ECC (PMECC) controller is a programmable binary BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller can be used to support both SLC and MLC NAND Flash devices. It supports to generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data. To use PMECC in this driver, the user needs to set the PMECC correction capability, the sector size and ROM lookup table offsets in board config file. This driver is ported from Linux kernel atmel_nand PMECC patch. The main difference is in this version it uses registers structure access hardware instead of using macros. It is tested in 9x5 serial boards. Signed-off-by: Josh Wu <josh.wu@atmel.com> [rebase] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
* | mxs: reorganize source directory for easy sharing of code in i.MXS SoCsOtavio Salvador2012-09-01-4/+4
| | | | | | | | | | | | | | | | | | Most code can be shared between i.MX23 and i.MX28 as both are from i.MXS family; this source directory structure makes easy to share code among them. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Stefano Babic <sbabic@denx.de>