summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | ARM: Correct Kconfig typo, "optimzed" -> "optimized".Robert P. J. Day2009-12-211-1/+1
|/ | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix arch_execute prototypeSascha Hauer2009-12-172-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35 3stack: select I2C driversSascha Hauer2009-12-171-0/+4
| | | | | | | | Building i.MX35 3stack support without the I2C drivers does not make much sense as the board will trigger a watchdog timer soon after start. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc bitops: Fix compiler warningSascha Hauer2009-12-171-35/+2
| | | | | | | | | | | | | | | | | | Our version of ppc bitops produces the following compiler warnings: /ptx/work/octopus/WORK_1/sha/u-boot/barebox/arch/ppc/include/asm/bitops.h: In function 'ext2_find_next_zero_bit': /ptx/work/octopus/WORK_1/sha/u-boot/barebox/arch/ppc/include/asm/bitops.h:294: warning: '__swab32p' is static but used in inline function 'ext2_find_next_zero_bit' which is not static Looking at the kernel ext2_find_next_zero_bit is defined as generic_find_next_zero_le_bit which is in generic kernel code. We currently do not need this, so do the very same define to silence the compiler. If somebody ever needs this function, the resulting error should give him a hint what to do. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-sha-eabi-fixes' of git://git.pengutronix.de/git/mkl/bareboxSascha Hauer2009-12-178-0/+114
|\
| * arm/lib: add missing abi helper functions __aeabi_idivmod, __aeabi_uidivmodMarc Kleine-Budde2009-12-163-0/+103
| | | | | | | | | | | | | | With EABI we have two new helper functions __aeabi_idivmod and __aeabi_uidivmod. This patch adds them to barebox. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * arm/lib: add eabi names of helper functionsMarc Kleine-Budde2009-12-165-0/+11
| | | | | | | | | | | | | | | | | | | | Since commit e2b4a792f8751d906d17b7ae343952f78dc41d67, we don't undoncitionally link with OABI. If now EABI is selected there are a number of missing helper functions, because they have new names now. This patch add the abi names to the existing helper functions. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | omap3evm: Minimal default configurationSanjeev Premi2009-12-171-0/+197
| | | | | | | | | | | | | | | | Created a minimal configuration that just gets the board up and running. Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | omap3evm: Add basic support for the boardSanjeev Premi2009-12-173-0/+303
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for OMAP3EVM. It does the following: - Adds OMAP3EVM as an option in Kconfig. - Adds choice for UART1/UART3 for serial console - Minimal initializations for the board - Updates to makefile Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: update reference to sandbox environmentPeter Korsgaard2009-12-171-2/+2
|/ | | | | | | examples/environment is no more. Use board/sandbox/env/ instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-sha-collateral' of git://git.pengutronix.de/git/mkl/bareboxSascha Hauer2009-12-164-4/+4
|\
| * Cleanup some more collateral damage from renamingMarc Kleine-Budde2009-12-154-4/+4
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | cramfs: probe(): fix cdev lookupPeter Korsgaard2009-12-161-1/+1
| | | | | | | | | | | | | | | | Strip /dev/ part of backing store before passing cdev_by_name, as cramfs_probe() will otherwise always fail. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: common: fix device names for environment files (-e)Peter Korsgaard2009-12-161-1/+1
|/ | | | | | | | The env%d string got created, but the the hardcoded "env" string was always used instead, causing errors with loading the env. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* README: add release rulesRobert Schwebel2009-12-151-0/+40
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* README: rewrite some u-boot leftoversRobert Schwebel2009-12-151-21/+21
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* documentation updatesJuergen Beisert2009-12-1531-156/+222
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Turn on CONFIG_CMD_MEMORY in Beagle Board defconfig.Luca Ceresoli2009-12-151-1/+1
| | | | | | | | It would otherwise generate an image whose loadb command is broken. Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup colleteral damage from renamingSascha Hauer2009-12-1515-25/+25
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-15379-1379/+1379
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cpuimx27 : use flash bbtEric Benard2009-12-151-0/+1
| | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Some doxygen related fixesJuergen Beisert2009-12-1414-23/+22
| | | | | | | | | | | | | | | | | | | | | | | Nishanth Menon wrote: > no signed off by and no diffstat? Ups. > can you use git-format-patch to send please? it is easier to review. Sure. Here it comes: jbe ------8<---------8<---------8<---------8<---------8<---------8<---- Subject: [PATCH] Some doxygen related fixes: - fix a few doxygen comments that are used in a wrong way - move some pages and their content to a better place in the generated documentation Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm/Makefile: don't set ABI unconditionally to "apcs-gnu"Marc Kleine-Budde2009-12-111-1/+1
| | | | | | | | | | Since commit 67b2697613455a09e56d77dab1ab602d4d5ac5c0 we have configureable ABI support in the bootloader, so don't set apcs-gnu unconditionally. Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> CC: Sascha Hauer <s.hauer@pengutronix.de>
* Fix some exported namesJuergen Beisert2009-12-111-2/+2
| | | | | | | Unsure if this is the/a correct fix, but without it, my build fails. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* OMAP3430-SDP: Compile fixesAnand Gadiyar2009-12-111-19/+1
| | | | | Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Re-format the fileJuergen Beisert2009-12-101-912/+781
| | | | | | | Re-format the file with 'indent' and some manual corrections. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Combine memory initialization with the main memory functions.Juergen Beisert2009-12-103-108/+60
| | | | | | | | | 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 the global string functionsJuergen Beisert2009-12-101-108/+6
| | | | | | | | | Don't try to be smarter than GCC. There are various better optimizations available than to write our own. So, use the globaly available string functions instead. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Remove win32 supportJuergen Beisert2009-12-101-186/+0
| | | | | | | Remove never used code. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Remove debug codeJuergen Beisert2009-12-101-179/+0
| | | | | | | | When assert() is always defined to do nothing, the debug functions makes no sense, because they also do nothing. Removing them shrinks the code. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Use nowadays function prototypesJuergen Beisert2009-12-102-96/+1
| | | | | | | | 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-102-217/+217
| | | | | | | 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-102-138/+46
| | | | | | | | | 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-102-52/+44
| | | | | | | 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-102-476/+458
| | | | | | | | | | | 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>
* Move variables to bssJuergen Beisert2009-12-101-4/+4
| | | | | | | | There is no need to init variables with 0. So, move them to the bss and let the C runtime does this job for us. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Merge branch 'for-sha-i2c-imx' of git://git.pengutronix.de/git/mkl/u-boot-v2Sascha Hauer2009-12-101-8/+27
|\
| * i2c-imx: i2c_imx_xfer return with err if sub-transfer isn't successfullMarc Kleine-Budde2009-12-091-0/+2
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * i2c-imx: fix low bitrate problemMarc Kleine-Budde2009-12-091-3/+17
| | | | | | | | | | | | | | | | | | loop in i2c_imx_acked() in low bit rates it takes some time until the ACK comes in. Also add a delay before polling for bus not busy in i2c_imx_read. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * i2c-imx: fix clear IFF race conditionMarc Kleine-Budde2009-12-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During i2c read the original pattern was: 1. write i2c slave address 2. wait for transmit complete + clear IIF 3. wait for receive acknowledge 4. wait for IIF interrupt Due to the clear of the I2SR register, the IIF flag was cleared, too. So in step 4 the Interrupt wasn't detected. To fix this problem, we move the clean of IIF before the writing of the slave address. So that it looks this way: 0. clear IIF 1. write i2c slave address 2. wait for transmit complete 3. wait for receive acknowledge 4. wait for IIF interrupt Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * i2c-imx: print errors with dev_errMarc Kleine-Budde2009-12-091-3/+5
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | pcm038: update defconfigSascha Hauer2009-12-101-31/+43
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX Nand: fix bit clearingSascha Hauer2009-12-101-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | nand bb: Be sure that fd is at the beginning when erasingSascha Hauer2009-12-101-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | crc: Do not lseek if not necessary (bb devs do not allow lseek)Sascha Hauer2009-12-101-4/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm038: Use a flash based bbtSascha Hauer2009-12-101-2/+3
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | remove unused include filesSascha Hauer2009-12-103-291/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX31: Fix CCM_UPCTL register offsetSascha Hauer2009-12-101-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>