summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * go command: shutdown barebox before calling an applicationSascha Hauer2010-03-301-7/+12
| | | | | | | | | | | | | | | | | | | | | Also, do not allow to continue barebox after returning from the application since we don't know anything about the state we are in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * blackfin: implement arch_shutdown callSascha Hauer2010-03-302-0/+6
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * introduce a arch_shutdown call and call it from shutdown_bareboxSascha Hauer2010-03-302-0/+4
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * make panic and hang __noreturn functionsSascha Hauer2010-03-303-4/+4
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * make reset_cpu a __noreturn functionSascha Hauer2010-03-3012-12/+21
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * hush: allow fancy promptsSascha Hauer2010-03-302-4/+17
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * hush: only remove backslashes introduced from globSascha Hauer2010-03-301-2/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * echo: add -e option supportSascha Hauer2010-03-302-2/+23
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * add process_escape_sequence functionSascha Hauer2010-03-304-0/+84
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * add snprintf functionSascha Hauer2010-03-302-0/+13
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * add unlzo supportSascha Hauer2010-03-3013-0/+855
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * add unaligned access supportSascha Hauer2010-03-3011-0/+529
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * imx_nand: use memcpy for copying from/to bufferSascha Hauer2010-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | We do not need to use memcpy32 in read_buf/write_buf because in these functions we only access SDRAM and not the internal SRAM buffer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * nand_imx: Speed up sequential readSascha Hauer2010-03-301-13/+47
| | | | | | | | | | | | | | | | | | | | | | | | When reading a page from nand prefetch the next page afterwards to keep the controller busy. This way we can improve sequential reading from NAND which is the common case for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * nand_imx: use optimized memcpySascha Hauer2010-03-301-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The internal SRAM buffer of the i.MX NAND controller does not allow byte accesses. We use the memcpy32 function to handle this. If we have assembler optimized string functions we can do better because they won't do byte accesses when source and target are word aligned. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * hush: Fix return code when calling 'exit' inside loopsSascha Hauer2010-03-301-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v2: Do not exit from all scripts but only the current one This fixes the case: barebox:/ cat /test if [ 0 = 0 ]; then exit 1 fi barebox:/ /test barebox:/ echo $? 0 barebox:/ Also, remove code to not allow exit from main shell. The for(;;) loop in common/startup.c will bring us back anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Merge branch 'master' into nextSascha Hauer2010-03-222-3/+3
| |\ \
| * | | i.MX25 : change IOMUX for LD16 and LD17Eric Benard2010-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the iomux to reconfigure these pins which are opendrain at power on and thus can't drive the LCD. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX25 : add lcdc clock supportEric Benard2010-03-221-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Release v2010.04.0v2010.04.0Sascha Hauer2010-04-061-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | i.MX35 3stack: Add a comment about the nonworking displaySascha Hauer2010-04-061-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | MX21ADS: Support booting from NANDIvo Clarysse2010-03-312-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Support booting an MX21ADS system from NAND. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | nand_imx: clear INT_MSK to fix i.MX21 nand bootSascha Hauer2010-03-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some weird reason this fixes nand boot on i.MX21. Since interrupts are globally disabled it doesn't hurt on other SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | trivial: fix command case for erase usage lineUwe Kleine-König2010-03-301-1/+1
| |_|/ |/| | | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | u-boot-v2: fix typos in documentationMárton Németh2010-03-291-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Documentation: fix typos & correct symlinkWolfram Sang2010-03-251-7/+7
| |/ |/| | | | | | | | | | | I found the wrong symlink and activated the spell-checker while I was here. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX25 : fix define name for clock frequencyEric Benard2010-03-222-3/+3
|/ | | | | | | CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused file arch/arm/cpu/cache.SSascha Hauer2010-03-181-70/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* armv5: use proper cache flush functionSascha Hauer2010-03-182-1/+114
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Make some help comments less confusingJuergen Beisert2010-03-182-3/+5
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Barebox does not boot on iMX21ADS boardJaccon Bastiaansen2010-03-111-55/+103
| | | | | | | | Barebox crashes during startup, because the SDRAM controller has not been initialized. Signed-off-by: Jaccon Bastiaansen <jaccon.bastiaansen@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-03-0323-2800/+745
|\
| * Merge branch 'nor' into nextSascha Hauer2010-02-1823-2800/+745
| |\
| | * cfi_flash: move include/cfi_flash.c next to driverSascha Hauer2010-02-0819-24/+3
| | | | | | | | | | | | | | | | | | | | | | | | This file has no useful things for others than the driver, so move it next to the driver and remove the corresponding include from other files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * cfi_flash: remove old driver and switch to new oneSascha Hauer2010-02-088-2707/+718
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * cfi_flash_new: make code more readable, return is not a functionSascha Hauer2010-02-081-4/+5
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * cfi_flash_new: generate flash erase dots in common functionSascha Hauer2010-02-083-16/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * cfi_flash_new: Safe indention level by bailing out earlier in error caseSascha Hauer2010-02-081-21/+24
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * cfi_flash_new: Fix Intel chipsSascha Hauer2010-02-081-39/+3
| | | | | | | | | | | | | | | | | | | | | There was some mixup when to to a full status check and when to do a status check only. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | barebox-2010.03.0v2010.03.0Sascha Hauer2010-03-031-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | pcm038: initialize PLLs from internal RAMSascha Hauer2010-03-033-44/+56
| | | | | | | | | | | | | | | | | | | | | | | | The PLL setup occasionally fails when the setup code runs from SDRAM, so copy a little assembler helper function to SRAM and execute it there. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | edb93xx: Fix SDRAM prechargeMatthias Kaehlcke2010-02-261-6/+15
|/ / | | | | | | | | | | | | | | | | edb93xx SDRAM initialization: Issue a precharge all command before forcing the precharge of all SDRAM banks. Write to the SDRAM in order to force a precharge, reading causes the edb93xx boards to hang Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | common.h: add compile time check helper functionsMarc Kleine-Budde2010-02-161-2/+29
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | io.h: update definitions of __raw_{read,write}*Marc Kleine-Budde2010-02-161-6/+6
| | | | | | | | | | | | | | This patch updates the definitions of the __raw_read and __raw_write functions so that "sparse" doesn't complain. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | import recent include/linux/compiler*.hMarc Kleine-Budde2010-02-164-17/+180
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | ioreadsb: put the whole ioreadsb function into the .text.readsb sectionMarc Kleine-Budde2010-02-161-2/+2
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | i2c.h: fix typo in copyrightMarc Kleine-Budde2010-02-161-1/+1
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | start-arm: cleanup: proper indentionMarc Kleine-Budde2010-02-161-6/+6
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | drivers/video/Makefile: cleanup proper indentionMarc Kleine-Budde2010-02-161-2/+3
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | arm/cpu/Makefile: cleanup: proper indentionMarc Kleine-Budde2010-02-161-5/+6
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>