summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/smc911x'Sascha Hauer2012-09-051-0/+18
|\
| * smc911x: add support to pass the shift via platform dataJean-Christophe PLAGNIOL-VILLARD2012-09-031-0/+18
| | | | | | | | | | | | | | switch ipe337: to it at the same time to do not brake it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/pbl'Sascha Hauer2012-09-053-0/+71
|\ \
| * | decompressor: import malloc/free implementation for linux 3.4Jean-Christophe PLAGNIOL-VILLARD2012-08-031-0/+68
| | | | | | | | | | | | | | | | | | This is need for gunzip support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | Add compressed image supportJean-Christophe PLAGNIOL-VILLARD2012-08-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for creating a lzo compressed binary unsing the pbl. Only copy the piggydata if needed. Add CONFIG_PBL_FORCE_PIGGYDATA_COPY option In some case we need to copy the PIGGYDATA as the link address as example we run from SRAM and shutdown the SDRAM/DDR for reconfiguration but most of the time we just need to copy the executable code. based on Sascha Hauer Add compressed image support Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | Add pre-bootloader (pbl) image supportJean-Christophe PLAGNIOL-VILLARD2012-08-031-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for creating a pre-bootloader binary for - nand boot - mmc boot - compressed image The pbl will be incharge of the lowlevel init if needed. The barebox will skip it. Import string functions from linux 3.4 (arch/arm/boot/compressed/string.c) and implement a dummy panic. For now on introduce dummy zbarebox* targets and c code that will contain later the decompressor. This only implemeted on ARM. This patch is based on Sascha Hauer <s.hauer@pengutronix.de> Add compressed image support patch Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge branch 'for-next/omap'Sascha Hauer2012-09-051-0/+3
|\ \
| * | mtd nand: implement buswidth detectionSascha Hauer2012-08-031-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a new NAND_BUSWIDTH_AUTO flag which can be used to automatically detect the nand buswidth. The id is always read in 8bit mode. An additional callback is needed to switch the nand controller into 16bit mode. This currently depends on a safe read_byte (always) and read_buf (for onfi-only flashes) callback. It has been tested on OMAP, but is not something that generally works. For this reason the existence of the set_buswidth callback is used to determine whether we are able to do autodetection or not. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mc13xxx'Sascha Hauer2012-09-051-12/+7
|\ \
| * | mc13xxx: Hide private struct mc13xxx from other unitsAlexander Shiyan2012-09-041-12/+1
| | | | | | | | | | | | | | | | | | | | | Board support units must use only the provided functions. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mc13xxx: Added mc13xxx_revision() function.Alexander Shiyan2012-08-101-0/+6
| |/ | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/link'Sascha Hauer2012-09-053-3/+26
|\ \
| * | envfs: add support of variable inode sizeJean-Christophe PLAGNIOL-VILLARD2012-09-051-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a struct envfs_inode_end with more data. Today this will just containt the file mode to be able to add the symlink support. But this is compatible with the previous envfs version as they will do not care about the extra as the previous version is just reading the filename and then consume the extra data without using them. Increase the envfs version to 1.0 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | envfs: introduce version major and minorJean-Christophe PLAGNIOL-VILLARD2012-09-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | they are store in the super block at byte 16th and 17th. set the verison at 0.1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | recursive_action: add ACTION_FOLLOWLINKS supportJean-Christophe PLAGNIOL-VILLARD2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | this is need to support symlink in envfs Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | fs: introduce get_mounted_path to get the path where a file is mountedJean-Christophe PLAGNIOL-VILLARD2012-09-051-0/+2
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | fs: implement statJean-Christophe PLAGNIOL-VILLARD2012-09-051-4/+2
| | | | | | | | | | | | | | | | | | stat() stats the file pointed to by path and fills in buf. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | fs: add symlink supportJean-Christophe PLAGNIOL-VILLARD2012-09-051-0/+3
| | | | | | | | | | | | | | | | | | Limit it's support to existing file only Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | fs: rename stat to lstat as we implement lstatJean-Christophe PLAGNIOL-VILLARD2012-09-051-1/+5
| | | | | | | | | | | | | | | | | | | | | For compatibility put a inline on lstat for stat until we have the symlink support. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | fs: add readlink supportJean-Christophe PLAGNIOL-VILLARD2012-09-051-0/+5
| |/ | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge branch 'for-next/jtag'Sascha Hauer2012-09-051-0/+109
|\ \
| * | Add JTAG bitbang driverWjatscheslaw Stoljarski2012-08-131-0/+109
| |/ | | | | | | | | Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski@kiwigrid.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/gpiolib'Sascha Hauer2012-09-052-1/+79
|\ \
| * | mfd: add stmpe-i2c driverSteffen Trumtrar2012-09-051-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stmpe mfds can be connected via i2c and spi. This driver provides the basic infrastructure for the i2c kind. It can be added as a normal i2c-device in the board code. To enable functions a platform_data struct has to be provided, that describes what parts of the chip are to be used. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | add gpiolib supportSascha Hauer2012-09-041-1/+26
| |/ | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* | Merge branch 'for-next/fs'Sascha Hauer2012-09-052-0/+6
|\ \
| * | filetype: add fat filesystem supportJean-Christophe PLAGNIOL-VILLARD2012-09-041-0/+1
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | fs/mount: add autodetection type supportJean-Christophe PLAGNIOL-VILLARD2012-09-041-0/+5
| |/ | | | | | | | | | | if NULL is pass as type mount will try to autodetect the filesystem type Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* / driver: set DEVICE_ID_DYNAMIC to -2 and DEVICE_ID_SINGLE to -1Jean-Christophe PLAGNIOL-VILLARD2012-08-121-2/+2
|/ | | | | | | so we can have the same behaviour as in the kernel for id = -1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/reset-source'Sascha Hauer2012-08-011-0/+27
|\
| * Enable a way to provide the reason for "being here"Juergen Beisert2012-07-181-0/+27
| | | | | | | | | | | | | | | | | | | | Many architectures support a way to detect why the bootloader is running. This patch adds a global variable to be able to use the cause in some kind of shell code to do special things on demand. For example to do an emergency boot, when the last boot fails and the watchdog reactivate the hanging system. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/randconfig'Sascha Hauer2012-08-011-0/+13
|\ \
| * | gpio: add static inlines for gpio_request/gpio_freeSascha Hauer2012-07-251-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Some drivers use gpio_request/gpio_free. Currently no architecture has code behind these functions. Provide static inline functions for these and remvoe the at91 specific inline functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/pcm038'Sascha Hauer2012-08-011-1/+22
|\ \ \
| * | | mc13xxx: Added dummy definitions if CONFIG_MFD_MC13XXX is not setAlexander Shiyan2012-07-241-1/+22
| | |/ | |/| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/onfi'Sascha Hauer2012-08-013-4/+80
|\ \ \
| * | | nand_base: add ONFI flash detectionEric Bénard2012-07-052-4/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the code is taken from linux & u-boot implementations Validated on an i.MX53 which gives the following log : ONFI flash detected ... ONFI param page 0 valid NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP), page size: 4096, OOB size: 224 Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | string: add strim for ONFI codeEric Bénard2012-07-051-0/+3
| |/ / | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2012-08-011-1/+1
|\ \ \
| * | | serial_ns16550: change the driver's nameAntony Pavlov2012-07-201-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The name "serial_ns16550" is not handy because the devices will have the names like "serial_ns165500", "serial_ns165501", "serial_ns165502" etc. The names like "ns16550_serial0" and "ns16550_serial1" look much better. Also it is reasonable to make serial driver's names unification. E.g. see the names for drivers in drivers/serial directory: "netx_serial", "mpc5xxx_serial", "altera_serial", "s3c_serial", "imx_serial", "pxa_serial", "blackfin_serial", "stm_serial", "pl010_serial", and even "g_serial" in ./drivers/usb/gadget/serial.c Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx-keypad'Sascha Hauer2012-08-011-0/+59
|\ \ \
| * | | input: Add i.MX matrix keypad driverChristian Kapeller2012-07-171-0/+59
| |/ / | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/i2c'Sascha Hauer2012-08-011-0/+1
|\ \ \
| * | | i2c: add platform_data for i2c_board_infoMarc Reilly2012-07-301-0/+1
| |/ / | | | | | | | | | | | | | | | Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/depend'Sascha Hauer2012-08-011-3/+17
|\ \ \ | | |/ | |/|
| * | kconfig: fix IS_ENABLED to not require all options to be definedSascha Hauer2012-07-251-3/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From Linux commit 69349c2dc01c489eccaa4c472542c08e370c6d7e: Using IS_ENABLED() within C (vs. within CPP #if statements) in its current form requires us to actually define every possible bool/tristate Kconfig option twice (__enabled_* and __enabled_*_MODULE variants). This results in a huge autoconf.h file, on the order of 16k lines for a x86_64 defconfig. Fixing IS_ENABLED to be able to work on the smaller subset of just things that we really have defined is step one to fixing this. Which means it has to not choke when fed non-enabled options, such as: include/linux/netdevice.h:964:1: warning: "__enabled_CONFIG_FCOE_MODULE" is not defined [-Wundef] The original prototype of how to implement a C and preprocessor compatible way of doing this came from the Google+ user "comex ." in response to Linus' crowdsourcing challenge for a possible improvement on his earlier C specific solution: #define config_enabled(x) (__stringify(x)[0] == '1') In this implementation, I've chosen variable names that hopefully make how it works more understandable. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM ep93xx: Get rid of special handling in linker fileSascha Hauer2012-07-231-1/+2
| | | | | | | | | | | | | | | | The ep93xx needs a special value at offset 0x1000. Rather than do special handling in the linker file add aa header section as done on i.MX. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | lzo: Allow for static inliningSascha Hauer2012-07-231-2/+6
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fs: fix standard zero, full devicesSascha Hauer2012-07-042-0/+2
| | | | | | | | | | | | | | | | The standard devices are currently broken since they have the size ~0. As now files use loff_t as file size which is a signed type the read implementation gets confused and now returns -1. The current implementation also has the (somewhat theorical) problem that we do not have real streaming devices, so /dev/zero went out of zeroes after reading 4GB (or now LLONG_MAX). This patch introduces a new cdev flag DEVFS_IS_CHARACTER_DEV and a new file size flag FILE_SIZE_STREAM which makes it possible to create real stream devices instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/resource-size'Sascha Hauer2012-07-021-4/+4
|\ | | | | | | | | | | Conflicts: drivers/base/resource.c fs/fs.c