summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* defaultenv/bin/update: fix return valuesMarc Kleine-Budde2011-02-071-1/+3
| | | | | | | | | | | | This patch fixes the return values of the update script. - Exit with an error of the "_update" script fails. - Add a "else; true" to the crc check, otherwise the script exits with "1". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM tx28: Add hook for enabling the displaySascha Hauer2011-02-071-4/+23
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: For multiple video modes print the available modes in devinfoSascha Hauer2011-02-071-0/+38
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM nhk8815: make config.h nonemptySascha Hauer2011-02-031-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2011-02-03166-2199/+3232
|\
| * defaultenv/bin/boot: fix ubi root's name assignmentMarc Kleine-Budde2011-02-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | This patch fixes a regression introduced in commit d15cfafeef8f99ff1a47e77362d0adf1b07f26ae. While there, use "-z" to check if ubiroot variable is empty. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-By: Eric Bénard<eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * sandbox: remove non used functions linux_getc/putcJean-Christophe PLAGNIOL-VILLARD2011-02-032-22/+0
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * kconfig: syn with linux kernel v2.6.38-rc3Jean-Christophe PLAGNIOL-VILLARD2011-02-0228-940/+1217
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * lib/decompress_unlzo: use fill and full to read and write dataJean-Christophe PLAGNIOL-VILLARD2011-01-281-88/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this will all to simplify the sync with the kernel and later easly add the self decompression support to barebox as example with a lzo compression will reduce barebox from 180224 to 99863 bytes so 55.41% -rwxr-xr-x 1 root root 99863 Jan 28 02:17 build/versatilepb/barebox.bin.lzo we also reduce the binary size by 224 bytes Old version # ls -al build/versatilepb/barebox.bin -rwxr-xr-x 1 root root 180468 Jan 28 02:14 build/versatilepb/barebox.bin New version # ls -al build/versatilepb/barebox* -rwxr-xr-x 1 root root 180244 Jan 28 02:13 build/versatilepb/barebox.bin Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91sam9m10g45ek: add board revision supportJean-Christophe PLAGNIOL-VILLARD2011-01-242-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we use the board revision to specify to the linux kernel the type of lcd we use. So we can have only one machine for those 3 boards: - sam9m10-ekes (LG) - sam9g45-ekes (LG) - sam9m10g45-ek (Truly) today we support 2 lcds model: - LG philips LB043WQ1 - Truly TFT1N4633-E by default we select the Truly as the sam9m10g45-ek is the most common board Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * x86/pmjump: rename __bss_end to __bss_stopJean-Christophe PLAGNIOL-VILLARD2011-01-241-2/+2
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * fb i.MX23/28: Add the reset control of LCDGregory CLEMENT2011-01-212-0/+14
| | | | | | | | | | | | | | | | | | | | Video controller of STM allow to control the reset bit of an external LCD controller. When reset_lcd is set, CTRL1_RESET bit is used to enable and disable LCD. Handle USE_LCD_RESET as a flag in imx_fb_platformdata. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM STM/i.MX: Add possibility to choose the bit per pixel for STM video driverGregory CLEMENT2011-01-212-1/+5
| | | | | | | | | | | | | | | | When describing an new video interface, it is now possible to select the bit per pixel. If nothing is chosen 16bpp is selected by default. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'defenv' into nextSascha Hauer2011-01-211-6/+3
| |\
| | * defaultenv: do not print usage information for update scriptSascha Hauer2011-01-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This usage printout during startup more looks like there is something wrong with the environment than a helpful message. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Eric BĂ©nard <eric@eukrea.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| | * defaultenv: only try to add partitions when partition description existsSascha Hauer2010-12-211-3/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM chumby defconfig: update with new featuresSascha Hauer2011-01-201-0/+19
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: rename STM arch to mxsSascha Hauer2011-01-2033-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | We never supported the sigmatel stm chips and probably never will. So do the first step and rename the architecture to mxs just like in the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | fb i.MX23/28: rename imx_fb_videomode to imx_fb_platformdataSascha Hauer2011-01-203-8/+8
| | | | | | | | | | | | | | | | | | | | | It's not a video mode, it contains video modes, so rename the struct to what it actually is. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM chumby: enable backlight in platform data hookSascha Hauer2011-01-201-0/+17
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | fb i.MX23/28: add platform data hook to enable backlightSascha Hauer2011-01-202-0/+8
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX23/28: Fix setting of lcd clockSascha Hauer2011-01-201-1/+2
| | | | | | | | | | | | | | | | | | | | | Use the correct bitmask for masking out which is SET_PIXFRAC(MASK_PIXFRAC) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM Chumby: Add MMU supportSascha Hauer2011-01-201-0/+23
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM Chumby: Add USB supportSascha Hauer2011-01-201-2/+35
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX23: Add USB (phy) supportSascha Hauer2011-01-204-1/+103
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB ehci: Set to host mode on tt capable controllersSascha Hauer2011-01-201-0/+7
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | imx: add reg definitions for imx25 and imx35 boot source.Marc Reilly2011-01-202-2/+4
| | | | | | | | | | | | | | | Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Revert "arm: add __bswapsi2 support"Sascha Hauer2011-01-192-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverted upon request of Jean-Christophe. Not needed anymore since: commit be4146161b5316f4e7fb51c5a3c9ac0e5622c42d Author: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Date: Sun Jan 16 12:12:32 2011 +0100 import swab.h arch implementation form linux v2.3.37 this will avoid __bswapsi2 issue see with gcc 4.5.1 This reverts commit f68dc4080440563d1dd69c8cd87c7566e60855fa.
| * | imx(25,35): save boot location into $barebox_loc env.Marc Reilly2011-01-192-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Saves the boot source into an environment variable so env scripts can more easily use boot source information. Note only tested on imx35. I haven't added support for any other variants because I'm not familiar with them. (And can't test them anyway). Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX28 tx28 defconfig: enable MMUSascha Hauer2011-01-191-0/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX28 tx28: use a fixed framebuffer addressSascha Hauer2011-01-191-0/+13
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX pca100: register otg usb hostSascha Hauer2011-01-191-20/+58
| | | | | | | | | | | | | | | | | | | | | Also, make sure that the usb ports are in ulpi mode before configuring the iomuxer. Otherwise the ulpi transceiver cannot be initialized correctly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | video stm/mx2x: allow to pass in fb memory from platform dataSascha Hauer2011-01-192-2/+12
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | video stm/mx2x: simplify memory allocationSascha Hauer2011-01-191-24/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | startup: make debug printing of linker variables work againSascha Hauer2011-01-171-2/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | reloc.h: remove linker variables which are now in asm/sections.hSascha Hauer2011-01-171-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | x86: use sections.h header file for linker variablesSascha Hauer2011-01-172-6/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: remove unnecessary includeSascha Hauer2011-01-171-1/+0
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM start.c: use sections.h header file for linker variablesSascha Hauer2011-01-171-3/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | add sections.h header fileSascha Hauer2011-01-176-0/+13
| | | | | | | | | | | | | | | | | | | | | The file location and variable names from the Linux Kernel have been used here. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: provide __bss_stop in linker scriptSascha Hauer2011-01-171-0/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | blackfin: provide __bss_stop in linker scriptSascha Hauer2011-01-171-0/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ppc pcm030: provide _stext, _text and __bss_stop in linker scriptSascha Hauer2011-01-171-0/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Merge branch 'master' into nextSascha Hauer2011-01-1733-96/+139
| |\ \
| * | | ARM tx28: Add mmu supportSascha Hauer2011-01-172-0/+24
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | fec i.MX28: Make it work with MMU onSascha Hauer2011-01-171-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | import swab.h arch implementation form linux v2.3.37Jean-Christophe PLAGNIOL-VILLARD2011-01-1713-237/+632
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this will avoid __bswapsi2 issue see with gcc 4.5.1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm: add __bswapsi2 supportJean-Christophe PLAGNIOL-VILLARD2011-01-172-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32-bit endian conversion needed by gcc 4.5.1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm: libgcc update to linux v2.6.37Jean-Christophe PLAGNIOL-VILLARD2011-01-1711-545/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the inclusion of libgcc functions into Barebox on the ARM architecture. Only the really needed functions are provided in the lib_arm directory. Those implementations are copied from Linux where they are well proven related to reliably, performance. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Thumb-2: Add macros for the unified assembler syntaxJean-Christophe PLAGNIOL-VILLARD2011-01-173-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from linux kernel v2.6.37 This patch adds various C and assembler macros that help with using the unified assembler syntax for compiling files to either ARM or Thumb-2 modes. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>