summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-07-01omap: cm_t35: Fix cm_t35 for weak splash_screen_prepareRobert Winkler
Signed-off-by: Robert Winkler <[email protected]> Acked-by: Igor Grinberg <[email protected]>
2013-07-01video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEORobert Winkler
Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler <[email protected]> Acked-by: Igor Grinberg <[email protected]>
2013-07-01lcd: align bmp header when uncopmressing imagePiotr Wilczek
When compressed image is loaded, it must be decompressed to an aligned address + 2 to avoid unaligned access exception on some ARM platforms. Signed-off-by: Piotr Wilczek <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> CC: Anatolij Gustschin <[email protected]> CC: Wolfgang Denk <[email protected]> Signed-off-by: Anatolij Gustschin <[email protected]>
2013-07-01Merge branch 'master' of git://git.denx.de/u-boot-nand-flashTom Rini
2013-06-30usb: fix unaligned access in device_qual()Heiko Schocher
while playing with dfu, I tapped in an unaligned access when doing on the host side a "lsusb -d [vendornr]: -v" I get on the board: GADGET DRIVER: usb_dnl_dfu data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [<8ff71db8>] lr : [<8ff75aec>] sp : 8ef40d18 ip : 00000005 fp : 00000000 r10: 00000000 r9 : 47401410 r8 : 8ef40f38 r7 : 8ef4aae8 r6 : 0000000a r5 : 8ef4ab28 r4 : 8ef4ab80 r3 : 0000000a r2 : 00000006 r1 : 00000006 r0 : 8ef4aae8 Flags: Nzcv IRQs off FIQs on Mode SVC_32 Resetting CPU ... reason is that in the "struct usb_composite_dev" the "struct usb_device_descriptor desc;" is on an odd address, and this struct gets accessed in drivers/usb/gadget/composite.c device_qual() Fix it, by align this var "struct desc" fix to an aligned address. Signed-off-by: Heiko Schocher <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Samuel Egli <[email protected]>
2013-06-30usb, g_dnl: make possibility to fixup the device_desc board specificHeiko Schocher
add a weak dummy function g_dnl_fixup to add the possibility to update the device_desc board specific. Used on the upcoming siemens board support, where idVendor and idProduct is stored in an eeprom. Signed-off-by: Heiko Schocher <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Lukasz Majewski <[email protected]> Cc: Kyungmin Park <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]>
2013-06-30dfu: make data buffer size configurableHeiko Schocher
Dfu transfer uses a buffer before writing data to the raw storage device. Make the size (in bytes) of this buffer configurable through environment variable "dfu_bufsiz". Defaut value is configurable through CONFIG_SYS_DFU_DATA_BUF_SIZE Signed-off-by: Heiko Schocher <[email protected]> Cc: Pantelis Antoniou <[email protected]> Cc: Tom Rini <[email protected]> Cc: Lukasz Majewski <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Wolfgang Denk <[email protected]> Acked-by: Tom Rini <[email protected]>
2013-06-28mkimage: Build signing only if board has CONFIG_FIT_SIGNATURESimon Glass
At present mkimage is set up to always build with image signing support. This means that the SSL libraries (e.g. libssl-dev) are always required. Adjust things so that mkimage can be built with and without image signing, controlled by the presence of CONFIG_FIT_SIGNATURE in the board config file. If CONFIG_FIT_SIGNATURE is not enabled, then mkimage will report a warning that signing is not supported. If the option is enabled, but libraries are not available, then a build error similar to this will be shown: lib/rsa/rsa-sign.c:26:25: fatal error: openssl/rsa.h: No such file or directory Signed-off-by: Simon Glass <[email protected]>
2013-06-28Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'Albert ARIBAUD
2013-06-28vf610twr: Remove SoC name from U-Boot promptOtavio Salvador
We've been dropping SoC name from U-Boot prompt as it increase complexity for automatic testing and makes line longer for no good reason. Signed-off-by: Otavio Salvador <[email protected]> Tested-by: Andy Voltz <[email protected]>
2013-06-28vf610twr: Add default environment in line with other Freescale boardsOtavio Salvador
This adds a default environment which should be able to support both 3.0.15 from Timesys and upcoming 3.11. Signed-off-by: Otavio Salvador <[email protected]> Tested-by: Andy Voltz <[email protected]>
2013-06-27am335x_evm: Add missing ';' in findfdtTom Rini
In a714321 we add a check at the end of findfdt to make sure we have updated it from undefined and if not, warn the user. This however forgot a ';' on the end of the previous last test. Signed-off-by: Tom Rini <[email protected]>
2013-06-26imx: nitrogen6x: Enable filesystem generic commandsRobert Winkler
Signed-off-by: Robert Winkler <[email protected]>
2013-06-26imx: nitrogen6x: Enable raw initrdRobert Winkler
Signed-off-by: Robert Winkler <[email protected]>
2013-06-26imx: nitrogen6x: Enable bootzRobert Winkler
Signed-off-by: Robert Winkler <[email protected]>
2013-06-26imx: nitrogen6x: Enabled data cacheRobert Winkler
Signed-off-by: Robert Winkler <[email protected]>
2013-06-26imx: Add support for the SabreSD shipped with i.MX6DLPierre Aubert
The SabreSD platform is available with i.MX6Q or i.MX6DL. This patch adds the support of the i.MX6DL. The config file and the board directory are renamed to remove the reference to the MX6Q. Signed-off-by: Pierre Aubert <[email protected]> CC: Stefano Babic <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
2013-06-26Fix block device accesses beyond 2TiBSascha Silbe
With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives. For some obscure reason, the current U-Boot code uses lbaint_t for the number of blocks to read (a rather optimistic estimation of how RAM sizes will evolve), but not for the starting address. Trying to access blocks beyond the 2TiB boundary will simply wrap around and read a block within the 0..2TiB range. We now use lbaint_t for block start addresses, too. This required changes to all block drivers as the signature of block_read(), block_write() and block_erase() in block_dev_desc_t changed. Signed-off-by: Sascha Silbe <[email protected]>
2013-06-26sandbox: config: Enable FIT signatures with RSASimon Glass
We want to sign and verify images using sandbox, so enable these options. Signed-off-by: Simon Glass <[email protected]>
2013-06-26image: Add support for signing of FIT configurationsSimon Glass
While signing images is useful, it does not provide complete protection against several types of attack. For example, it it possible to create a FIT with the same signed images, but with the configuration changed such that a different one is selected (mix and match attack). It is also possible to substitute a signed image from an older FIT version into a newer FIT (roll-back attack). Add support for signing of FIT configurations using the libfdt's region support. Please see doc/uImage.FIT/signature.txt for more information. Signed-off-by: Simon Glass <[email protected]>
2013-06-26libfdt: Add fdt_find_regions()Simon Glass
Add a function to find regions in device tree given a list of nodes to include and properties to exclude. See the header file for full documentation. Signed-off-by: Simon Glass <[email protected]>
2013-06-26image: Add RSA support for image signingSimon Glass
RSA provides a public key encryption facility which is ideal for image signing and verification. Images are signed using a private key by mkimage. Then at run-time, the images are verified using a private key. This implementation uses openssl for the host part (mkimage). To avoid bringing large libraries into the U-Boot binary, the RSA public key is encoded using a simple numeric representation in the device tree. Signed-off-by: Simon Glass <[email protected]>
2013-06-26image: Support signing of imagesSimon Glass
Add support for signing images using a new signature node. The process is handled by fdt_add_verification_data() which now takes parameters to provide the keys and related information. Signed-off-by: Simon Glass <[email protected]>
2013-06-26image: Add signing infrastructureSimon Glass
Add a structure to describe an algorithm which can sign and (later) verify images. Signed-off-by: Simon Glass <[email protected]>
2013-06-26x86: config: Add tracing optionsSimon Glass
Add configs to enable tracing when it is needed. Signed-off-by: Simon Glass <[email protected]>
2013-06-26exynos: config: Add tracing optionsSimon Glass
Add tracing to Exynos5 boards, so that tracing can be enabled when building with 'make FTRACE=1'. We use a 16MB trace buffer. Signed-off-by: Simon Glass <[email protected]>
2013-06-26Add a 'fake' go command to the bootm commandSimon Glass
For tracing it is useful to run as much of U-Boot as possible so as to get a complete picture. Quite a bit of work happens in bootm, and we don't want to have to stop tracing before bootm starts. Add a way of doing a 'fake' boot of the OS - which does everything up to the point where U-Boot is about to jump to the OS image. This allows tracing to record right until the end. This requires arch support to work. Signed-off-by: Simon Glass <[email protected]>
2013-06-26Refactor the bootm command to reduce code duplicationSimon Glass
At present the bootm code is mostly duplicated for the plain 'bootm' command and its sub-command variant. This makes the code harder to maintain and means that changes must be made to several places. Introduce do_bootm_states() which performs selected portions of the bootm work, so that both plain 'bootm' and 'bootm <sub_command>' can use the same code. Additional duplication exists in bootz, so tidy that up as well. This is not intended to change behaviour, apart from minor fixes where the previously-duplicated code missed some chunks of code. Signed-off-by: Simon Glass <[email protected]>
2013-06-26sandbox: Support trace featureSimon Glass
Support tracing on sandbox by adding suitable CONFIG options. To enable it, compile U-Boot with FTRACE=1. The timer functions are marked to skip tracing, since these are called from the tracing code itself, and we want to avoid an infinite loop. Signed-off-by: Simon Glass <[email protected]>
2013-06-26Add trace support to generic boardSimon Glass
Add hooks for tracing to generic board, including: - allow early tracing to start early as possible in U-Boot - reserve memory for trace buffer - copy early trace buffer to main trace buffer after relocation - setup full tracing support after relocation Signed-off-by: Simon Glass <[email protected]>
2013-06-26Add trace librarySimon Glass
Add a library which supports tracing of execution using built-in gcc features and a microsecond timer. This can be used to record a list of function which are executed, along with a timestamp for each. Later this information can be sent to the host for processing. Signed-off-by: Simon Glass <[email protected]>
2013-06-26Add function to print a number with grouped digitsSimon Glass
Move bootstage's numbering printing code into a generic place so that it can be used by tracing also. Signed-off-by: Simon Glass <[email protected]>
2013-06-26pci: Convert extern inline functions to static inlineSimon Glass
I am not sure of the meaning of extern inline, but this gives errors when building with function instrumenting enabled. Change these functions to static inline. Signed-off-by: Simon Glass <[email protected]>
2013-06-26cros: exynos: enable cros-ec for smdk5250Hung-ying Tyan
This patch initiates cros-ec in board_init() to enable it for smdk5250. This patch depends on the patch in the MMC series that brings in exynos5-dt.c. Refer to http://patchwork.ozlabs.org/patch/240084. Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Vincent Palatin <[email protected]> Signed-off-by: Hung-ying Tyan <[email protected]> Acked-by: Simon Glass <[email protected]>
2013-06-26Add support for Wandboard QuadTapani Utriainen
Add support for the Quad version of Wandboard; fix compile warning resulting from having 2G of memory. Signed-off-by: Tapani Utriainen <[email protected]> Signed-off-by: Otavio Salvador <[email protected]> Acked-by: Stefano Babic <[email protected]>
2013-06-26cros: adds cros_ec keyboard driverHung-ying Tyan
This patch adds the driver for keyboard that's controlled by ChromeOS EC. Signed-off-by: Randall Spangler <[email protected]> Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Vincent Palatin <[email protected]> Signed-off-by: Hung-ying Tyan <[email protected]> Acked-by: Simon Glass <[email protected]>
2013-06-26cros: exynos: add SPI support for cros_ecHung-ying Tyan
This patch adds SPI support for carrying out the cros_ec protocol. Signed-off-by: Hung-ying Tyan <[email protected]> Signed-off-by: Randall Spangler <[email protected]> Signed-off-by: Simon Glass <[email protected]> Acked-by: Simon Glass <[email protected]>
2013-06-26cros: add cros_ec driverHung-ying Tyan
This patch adds the cros_ec driver that implements the protocol for communicating with Google's ChromeOS embedded controller. Signed-off-by: Bernie Thompson <[email protected]> Signed-off-by: Bill Richardson <[email protected]> Signed-off-by: Che-Liang Chiou <[email protected]> Signed-off-by: Doug Anderson <[email protected]> Signed-off-by: Gabe Black <[email protected]> Signed-off-by: Hung-ying Tyan <[email protected]> Signed-off-by: Louis Yung-Chieh Lo <[email protected]> Signed-off-by: Randall Spangler <[email protected]> Signed-off-by: Sean Paul <[email protected]> Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Vincent Palatin <[email protected]> Acked-by: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]>
2013-06-24Merge branch 'master' of git://git.denx.de/u-boot-netTom Rini
2013-06-24net: add Faraday FTMAC110 10/100Mbps ethernet supportKuo-Jung Su
Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux. However it has a weird DMA alignment issue: (1) Tx DMA Buffer Address: 1 bytes aligned: Invalid 2 bytes aligned: O.K 4 bytes aligned: O.K (2) Rx DMA Buffer Address: 1 bytes aligned: Invalid 2 bytes aligned: O.K 4 bytes aligned: Invalid!!! Signed-off-by: Kuo-Jung Su <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Tom Rini <[email protected]>
2013-06-24net: phy: supplement support for Micrel's KSZ9031SARTRE Leo
Add function ksz9031_phy_extended_write and ksz9031_phy_extended_read Signed-off-by: Leo Sartre <[email protected]>
2013-06-24ARM: at91sam9n12: add network support with ksz8851_16mllBo Shen
add network support with ksz8851_16mll on at91sam9n12ek board Signed-off-by: Bo Shen <[email protected]> Acked-by: Andreas Bießmann <[email protected]>
2013-06-24net: ks8851_mll: add ethernet supportRoberto Cerati
The device interface is 16 bits wide. All the available packets are read from the incoming fifo. Signed-off-by: Roberto Cerati <[email protected]> Signed-off-by: Raffaele Recalcati <[email protected]> [[email protected]: address comments from review results] [[email protected]: clean up for submit] Signed-off-by: Bo Shen <[email protected]> Tested-by: Raffaele Recalcati <[email protected]>
2013-06-24add support for Xilinx 1000BASE-X phy (GTX)Charles Coldwell
commit 39695029bc15041c809df3db4ba19bd729c447fa Author: Charles Coldwell <[email protected]> Date: Tue Feb 19 08:27:33 2013 -0500 Changes to support the Xilinx 1000BASE-X phy (GTX/MGT) Signed-off-by: Charles Coldwell <[email protected]>
2013-06-24net: make IPaddr type big endianKim Phillips
for use with sparse. Signed-off-by: Kim Phillips <[email protected]> Cc: Joe Hershberger <[email protected]>
2013-06-24bootz: un-staticize do_bootzRob Herring
Make do_bootz available for other functions like do_bootm is. Signed-off-by: Rob Herring <[email protected]>
2013-06-24phy: export genphy_parse_link()Yegor Yefremov
Signed-off-by: Yegor Yefremov <[email protected]>
2013-06-24net: Add sunxi (Allwinner) wemac driverHenrik Nordström
This patch adds support for the WEMAC, the ethernet controller included in the Allwinner A10 SoC. It will get used in the upcoming A10 board support. From: Stefan Roese <[email protected]> Signed-off-by: Stefan Roese <[email protected]> Signed-off-by: Henrik Nordstrom <[email protected]>
2013-06-24dfu, nand: before write a buffer to nand, erase the nand sectorsHeiko Schocher
before writing the received buffer to nand, erase the nand sectors. If not doing this, nand write fails. See for more info here: http://lists.denx.de/pipermail/u-boot/2013-June/156361.html Using the nand erase option "spread", maybe overwrite blocks on, for example another mtd partition, if the erasing range contains bad blocks. So a limit option is added to nand_erase_opts() Signed-off-by: Heiko Schocher <[email protected]> Cc: Scott Wood <[email protected]> Cc: Pantelis Antoniou <[email protected]> Cc: Lukasz Majewski <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Tom Rini <[email protected]> Signed-off-by: Scott Wood <[email protected]>
2013-06-24Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxTom Rini