summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-1519-68/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Combine memory initialization with the main memory functions.Juergen Beisert2009-12-101-2/+0
| | | | | | | | | Memory allocation is very simple in u-boot-v2. So, it makes also sense to add the "operating system" emulation layer into the main memory management source file, to keep them at one place and simple. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Use nowadays function prototypesJuergen Beisert2009-12-101-9/+0
| | | | | | | | Use a function prototype style as used in all other u-boot-v2 sources, too. Also remove C++ support. We do not use C++ in this project. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* After moving all declarations to the C source, do the same with the docJuergen Beisert2009-12-101-217/+0
| | | | | | | Done in preparation to provide this documentation for doxygen. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Remove confusing macros that hide the real functions namesJuergen Beisert2009-12-101-107/+13
| | | | | | | | | This feature is provided, to support more than u-boot-v2. But its more confusing than helpful. Remove it and do it straight forward like all other sources in this tree, too. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Use the native 'void' instead of 'Void_t'Juergen Beisert2009-12-101-23/+15
| | | | | | | We are in the *NIX world, so keep a 'void' as is. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Move private settings and configuration into the C sourceJuergen Beisert2009-12-101-475/+0
| | | | | | | | | | | Include the board config first to be able to configure the memory management in the documented way. If not used, the defaults are used. On the other hand, there is no need to pollute the other source files with these local management settings. So, move them from the header into the C source file. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Remove unused codeJuergen Beisert2009-12-101-99/+0
| | | | | | | | Remove unused code to get a better understanding what really is happen in the source. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Include the 'size_t' declarationJuergen Beisert2009-12-101-0/+1
| | | | | | | The 'size_t' declaration is needed for the function prototypes. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* remove unused include filesSascha Hauer2009-12-103-291/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: Add FB_SYNC_ defines from kernelSascha Hauer2009-12-091-0/+22
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX flash header: make it work on i.MX35Sascha Hauer2009-12-031-1/+1
| | | | | | | | | The flash header is used on different i.MXs other than the i.MX25, so rename it. Also, add a possibility to put a flash header on different offsets (0x100, 0x400 and 0x1000), needed for different boot mediums. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clock.h: use types.h not linux/types.hMarc Kleine-Budde2009-12-031-1/+1
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* NAND: Allow to read oob dataSascha Hauer2009-12-031-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mc9sdz60: driver addedMarc Kleine-Budde2009-12-031-0/+7
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* mc13892: driver addedMarc Kleine-Budde2009-12-031-0/+7
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* i2c: new frameworkMarc Kleine-Budde2009-12-031-0/+124
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* nand: ground dev_add_bb_dev if nand is disabledMarc Kleine-Budde2009-11-231-0/+6
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* clock.h: uses uint?_t types, so include types.hMarc Kleine-Budde2009-11-231-0/+2
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* list: remove duplicated list.hSascha Hauer2009-11-0311-654/+396
| | | | | | | | We accidently have two list implementations in the tree: include/list.h and include/linux/list.h. This patch moves the latter (newer one) to include/linux/list.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* driver: add dev_name inlineJean-Christophe PLAGNIOL-VILLARD2009-11-021-1/+6
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add bool types supportJean-Christophe PLAGNIOL-VILLARD2009-11-022-5/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-sascha' of git://uboot.jcrosoft.org/u-boot-v2 into from-jeanSascha Hauer2009-10-28238-60873/+2
|\ | | | | | | | | | | | | | | | | Conflicts: board/a9m2440/a9m2440.c board/pcm043/pcm043.c drivers/nand/nand_imx.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [M68K] Move include/asm-m68k/{arch,proc}-* to arch/m68k/*/include/{mach,proc}Jean-Christophe PLAGNIOL-VILLARD2009-10-2216-1326/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [M68K] move include/asm-m68k to arch/m68k/include/asmJean-Christophe PLAGNIOL-VILLARD2009-10-2244-7300/+0
| | | | | | | | | | | | | | Move platform independent header files to arch/m68k/include/asm, leaving those in asm/arch* and asm/proc*. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [PPC] Move include/asm-ppc/arch-* to arch/ppc/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-225-902/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [PPC] move include/asm-ppc to arch/ppc/include/asmJean-Christophe PLAGNIOL-VILLARD2009-10-2225-4357/+0
| | | | | | | | | | | | | | Move platform independent header files to arch/ppc/include/asm, leaving those in asm/arch*. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-222-38/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [SANDBOX] move include/asm-sandbox to arch/arm/include/sandboxJean-Christophe PLAGNIOL-VILLARD2009-10-2211-231/+0
| | | | | | | | | | | | | | Move platform independent header files to arch/sandbox/include/asm, leaving those in asm/arch*. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [BLACKFIN] move include/asm-blackfin to arch/blackfin/include/asmJean-Christophe PLAGNIOL-VILLARD2009-10-2241-9506/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-2268-8985/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * arm: merge proc-armv/ptrace.h and ptrace.h in one fileJean-Christophe PLAGNIOL-VILLARD2009-10-221-107/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * [ARM] move include/asm-arm to arch/arm/include/asmJean-Christophe PLAGNIOL-VILLARD2009-10-2225-28120/+0
| | | | | | | | | | | | | | Move platform independent header files to arch/arm/include/asm, leaving those in asm/arch* and asm/proc* alone. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | S3C24xx: Provide a generic way to detect memory sizeJuergen Beisert2009-10-281-0/+1
| | | | | | | | | | | | | | | | This patch adds code to determine the current available SDRAM size. It relies on other routines setting up the SDRAM controller, because it only read back their settings. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
* | IMX_NAND_BASE -> IMX_NFC_BASESascha Hauer2009-10-262-2/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx_nand: allow flash based bbtSascha Hauer2009-10-261-2/+3
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mxc_nand: determine page and block size depending on NFMS bitSascha Hauer2009-10-261-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx-nand : remove wrong part of commit ca326e88827e08e723046a21b18e74d41d15ace7Eric Benard2009-10-231-1/+0
| | | | | | | | | | | | | | previous fix for 2k pages was wrong so remove it Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | hush: remove include/hush.hSascha Hauer2009-10-221-31/+0
|/ | | | | | | Everything in include/hush.h is only used in hush.c, so remove the header file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image.h: amd64 supportPeter Korsgaard2009-10-211-1/+1
| | | | | | | | Use IH_CPU_I386 for amd64 machines as well, so bootm.c is able to build on amd64 sandbox. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9: switch to the same api as the kernelJean-Christophe PLAGNIOL-VILLARD2009-10-2024-22877/+1338
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91: add cpu devices common apiJean-Christophe PLAGNIOL-VILLARD2009-10-203-34/+57
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91sam9: move to at91Jean-Christophe PLAGNIOL-VILLARD2009-10-2011-0/+0
| | | | | | this will allow to add at91rm9200 with the same api as done in the kernel Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* commands: remove maxargsSascha Hauer2009-10-191-1/+0
| | | | | | | No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused header fileSascha Hauer2009-10-191-246/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: add defines for command errors/successSascha Hauer2009-10-191-0/+4
| | | | | | | | This allows us to return COMMAND_ERROR_USAGE for a failed command which will then print the usage, a very common case for commands. Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove unused typedefSascha Hauer2009-10-191-10/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* consolidate command calling in execute_commandSascha Hauer2009-10-191-0/+1
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove global variable BootFileSascha Hauer2009-10-191-3/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove unused variable NetBootFileSizeSascha Hauer2009-10-171-1/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>