summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* remove now unused libmtdSascha Hauer2016-04-061-3/+0
| | | | | | | The only user of libmtd was ubiformat which now uses the mtd-peb API, so remove the now unused libmtd. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/ratp'Sascha Hauer2016-02-081-0/+8
|\
| * Add Reliable Asynchronous Transfer ProtocolSascha Hauer2016-01-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for Reliable Asynchronous Transfer Protocol (RATP) as described in RFC916. Communication over RS232 is often unreliable as characters are lost or misinterpreted. This protocol allows for a reliable packet based communication over serial lines. The implementation simply follows the state machine described in the RFC text with one exception. RFC916 uses a plain checksum for the transferred data. We decided to use CRC16 for greater robustness. Since this is the only RFC916 implementation we currently know of interoperability with other implementations should not matter. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
* | lib: Import reed solomon code from kernelMarkus Pargmann2015-12-101-0/+3
|/ | | | | | | | reed solomon code is used by RAMOOPS to check and fix data stored in volatile memory. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/logo'Sascha Hauer2015-08-061-0/+2
|\
| * Add new barebox logo to the treeSascha Hauer2015-07-201-0/+2
| | | | | | | | | | | | | | | | This adds the new barebox logo to the tree. This is added as svg image which is converted to different png images during build time. The logo can be found under /logo/barebox-logo-<width>.png in the running barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | import lib/fonts framework from linux kernelAntony Pavlov2015-07-161-0/+2
|/ | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* xymodem: select CRC16 from libJan Weitzel2014-11-121-0/+1
| | | | | Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add xz decompression supportSascha Hauer2014-11-041-0/+4
| | | | | | | | This adds xz decompression support from the kernel. Both compressing the barebox binary with xz and decompressing xz files on the commandline is supported. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* vsprintf: Support pU for printing UUIDsSascha Hauer2014-07-111-0/+3
| | | | | | | | With EFI 16byte UUIDs/GUIDs are common. Add support for printing them. This needs to be selected via Kconfig since most architectures have no use for this functionality. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mtd'Sascha Hauer2013-08-051-0/+3
|\
| * ARM: MXS: introduce stmp device supportSascha Hauer2013-07-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | MXS specific devices have some common infrastructure in the kernel known as STMP devices. We have the same in barebox, but with a mxs_ prefix instead of a stmp_ prefix. As some STMP devices are also found on i.MX6 move the common infrastructure out of MXS specific files and use the stmp_ prefix. This is done in preparation for i.MX6 NAND support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | lib: Add support for LZ4-compressed kernelKyungsik Lee2013-07-161-0/+4
|/ | | | | | | | | | | | This patch adds support for extracting LZ4-compressed kernel images, as well as LZ4-compressed ramdisk images in the kernel boot process. This depends on the patch below decompressor: Add LZ4 decompressor module Signed-off-by: Kyungsik Lee <kyungsik.lee@lge.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: remove unused libfdtSascha Hauer2013-03-061-3/+0
| | | | | | | Now that we are completely independent of libfdt remove the unused code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: move OFTREE Kconfig option to drivers/of/Sascha Hauer2013-03-061-4/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce common bootstrap codeJean-Christophe PLAGNIOL-VILLARD2013-01-221-0/+2
| | | | | | | | | | | This will allow to have a generic code to create different bootstrap As example Barebox as TI Xloader Barebox as AT91 Bootstrap Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: add barebox version of libmtdWolfram Sang2012-12-191-0/+3
| | | | | | | | Based on mtd-utils and stripped down to needed functionality and reworked to barebox interfaces. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: add libubigenWolfram Sang2012-12-191-0/+3
| | | | | | | Imported from mtd-utils and stripped down to needed functionality. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: add libscanWolfram Sang2012-12-191-0/+3
| | | | | | | | Imported from mtd-utils and stripped down to needed functionality. Add prefix to functions so we have a clean namespace. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup Kconfig filesAlexander Shiyan2012-12-081-3/+3
| | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format, removing extraneous lines and spaces. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: change Y-Modem implementationRobert Jarzmik2012-11-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The current Y-Modem implementation has some limitations: - Y-Modem/G protocol is not supported - Multiple files (aka. batch) transfers are not supported - Transfer speed over fast lines (USB console) is slow - Code is not trivial to maintain (personnal opinion) This implementation tries to address all these points by introducing loady2 command. The effects are : - transfer speed for Y-Modem over USB jumps from 2kBytes/s to 180kBytes/s - transfer speed for Y-Modem/G jumps to 200kBytes/s - multiple file transfers are possible This command was tested on a USB console and UART 9600bps serial line : - NAKs (and retransmissions) were tested for faulty serial lines - multiple file transfers were tested - Y-Modem, Y-Modem/G and X-Modem transfers were tested Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Tested-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* gui: move gui file to include/gui and lib/guiJean-Christophe PLAGNIOL-VILLARD2012-10-041-35/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* png: add picoPNG lib supportJean-Christophe PLAGNIOL-VILLARD2012-09-121-0/+6
| | | | | | | | | | | | | | This is an alternative to LodePNG take from http://forge.voodooprojects.org/ which is base on picoPNG C++ wrote by Lode Vandevenne. The same author as LodePNG. PicoPNG only support RGBA PNG8 The source code of picopng.c was just adapted to be compliant with C89 and drop the internal ZLIB support. Coding style untouched. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add PNG supportJean-Christophe PLAGNIOL-VILLARD2012-09-121-2/+23
| | | | | | | | | use LodePNG version 20120729 from http://lodev.org/lodepng/ The original coding style is keeped to simplify update. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* splash/bmp: switch to image_rendererJean-Christophe PLAGNIOL-VILLARD2012-09-121-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce image_renderer frameworkJean-Christophe PLAGNIOL-VILLARD2012-09-121-0/+5
| | | | | | | This will allow to support bmp and png Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bmp: Move bmp rendering to lib/bmp.cJean-Christophe PLAGNIOL-VILLARD2012-09-121-0/+3
| | | | | | | So we can add other format support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib/Kconfig: Fix alignment of arrows in labelBernhard Walle2012-07-241-1/+1
| | | | | Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add qsort supportSascha Hauer2012-05-141-0/+3
| | | | | | | This is based on U-Boot code which in turn is based on uclibc code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* param: add config to disable itJean-Christophe PLAGNIOL-VILLARD2012-01-111-0/+3
| | | | | | this will allow to save 992 Bytes for TI xlaoder or AT91 bootstrap Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* filetype: add config to disable itJean-Christophe PLAGNIOL-VILLARD2012-01-111-0/+1
| | | | | | remove 160 bytes Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* uncompress: add config to disable itJean-Christophe PLAGNIOL-VILLARD2012-01-111-0/+5
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* lib: add bitrev utilityRobert Jarzmik2012-01-021-0/+3
| | | | | | | Add bit reversing utility, taken from the linux kernel. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: add BCH encoding/decodingRobert Jarzmik2012-01-021-0/+4
| | | | | | | | As flash memories need BCH correcting codes, add the BCH library, taken from the linux kernel. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: prompt for uncompression functionsSascha Hauer2011-11-291-2/+4
| | | | | | | | Allow the user to manually select the uncompression support he wants to have so that we have a single point where a user can see which uncompression support will be compiled in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* initial oftree command supportSascha Hauer2011-10-191-0/+3
| | | | | | | | | | | This adds basic device tree command support. So far we can parse a flat device tree (-p), which also stores the tree in memory, dump it (-d) and free (-f) the internally stored tree. The chosen node can be updated with barebox bootargs, no other device tree manipulation is implemented yet. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* initial libfdt supportSascha Hauer2011-10-191-0/+3
| | | | | | | | | | vanilla libfdt 1.3.0 from the dtc git: git://git.jdl.com/software/dtc.git Only small adjustments to compile with barebox Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move digest to crypto/Jean-Christophe PLAGNIOL-VILLARD2011-10-121-22/+0
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* digest: align menuRobert Schwebel2010-11-011-1/+1
| | | | | | | Align with the other menu entries. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add sha256 supportJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add sha1 supportJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add md5 supportJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add digest frameworkJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+7
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add process_escape_sequence functionSascha Hauer2010-03-301-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add unlzo supportSascha Hauer2010-03-301-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* U-Boot-V2:Bitops: asm-generic bitopsNishanth Menon2008-08-151-0/+4
| | | | | | | | This introduces selected generic bitop files from kernel. We don't need minix, ext2, sched or lock based bitops. Those have been dropped. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* svn_rev_653Sascha Hauer2007-07-051-8/+0
| | | | restructure tree, add reginfo command
* svn_rev_643Sascha Hauer2007-07-051-0/+19
structure cleanup