summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-11-05dm: sunxi: Add support for serial using driver modelSimon Glass
Add a driver for the designware serial UART used on sunxi. This just redirects to the normal ns16550 driver. Add a stdout-path to the device tree so that the correct UART is chosen. Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
2014-11-05dm: sunxi: Modify the GPIO driver to support driver modelSimon Glass
This adds driver model support to the sunxi GPIO driver, using the device tree to trigger binding of the driver. The driver will still operate without driver model too. Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
2014-11-05dm: sunxi: Add a new config for an FDT-based pcDuino3Simon Glass
For now we won't want to mess with the existing configurations. Create a new one which will enable device tree and driver model. Note that this brings the device tree binary into u-boot-sunxi-with-spl.bin. Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
2014-11-05dm: sunxi: dts: Add sun7i device tree filesSimon Glass
These are from Linux 3.17-rc7 (commit fe82dcec). U-Boot only uses a small portion of these, but we may as well have something to look forward to. The total compiled size is about 25KB. Acked-by: Hans de Goede <[email protected]> Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
2014-11-05sunxi: Use CONFIG_MACH_SUN?I from Kconfig instead of CONFIG_SUN?IIan Campbell
Mostly automatic with: sed -i -e 's/CONFIG_\(SUN[45678]I\)/CONFIG_MACH_\1/g' $(git grep -l CONFIG_SUN[45678]I) followed by removing the relevant #defines from include/configs/sun?i.h by hand. Signed-off-by: Ian Campbell <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
2014-11-04serial: add prototypes for init functionsJeroen Hofstee
While at it, sort them. Cc: Tom Rini <[email protected]> Cc: Simon Glass <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]>
2014-11-04Merge branch '[email protected]' of git://git.denx.de/u-boot-stagingTom Rini
2014-11-04usb: Make pollable int support available outside of ehci-hcd.cHans de Goede
Signed-off-by: Hans de Goede <[email protected]>
2014-11-04arm: rmobile: alt: Add VFAT filesystem supportNobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-04arm: rmobile: alt: Add support USB and USB commandsNobuhiro Iwamatsu
This adds support for USB commands and USB storage device. Signed-off-by: Yoshiyuki Ito <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-04arm: rmobile: alt: Add external RAM bootNobuhiro Iwamatsu
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0x70000000. Signed-off-by: Hisashi Nakamura <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-04arm: rmobile: koelsch: Add external RAM bootNobuhiro Iwamatsu
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0x70000000. Signed-off-by: Hisashi Nakamura <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-04arm: rmobile: lager: Add external RAM bootNobuhiro Iwamatsu
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0xB0000000. Signed-off-by: Hisashi Nakamura <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-03Merge branch 'master' of git://git.denx.de/u-boot-mipsTom Rini
2014-11-03arm, imx, spi: detect spi flash again on aristainetos boardHeiko Schocher
155fa9af95a "spi: mxc: fix sf probe when using mxc_spi" break spi flash detection on the aristainetos board. Fix this. Signed-off-by: Heiko Schocher <[email protected]>
2014-11-03imx: mx6 sabreauto: Add board support for USB EHCIYe.Li
On mx6 sabreauto board, there are two USB ports: 0: OTG 1: HOST The EHCI driver is enabled for this board, but the IOMUX and VBUS power control is not implemented, which cause both USB port failed to work. This patch fix the problem by adding the board support codes. Since the power control uses the GPIO pin from port expander MAX7310, the PCA953X driver is enabled for accessing the MAX7310. The ID pin of OTG Port needs to configure the GPR1 bit 13 for selecting its daisy chain. Add a new function "imx_iomux_set_gpr_register" to handle GPR register setting. Signed-off-by: Ye.Li <[email protected]>
2014-11-03imx: mx6slevk: Add support for USDHC1 and USDHC3 slotsYe.Li
There are three SD/MMC sockets on mx6slevk boards. Implements the full support for them. The default boot socket is USDHC2, so the MMC environment is set to that device. Signed-off-by: Ye.Li <[email protected]>
2014-11-03imx: mx6: Enable high frequency clock source for GPTYe.Li
Set the CONFIG_MXC_GPT_HCLK configuration in mx6_common.h, so that 24Mhz OSC clock source will be selected for GPT on all MX6 platforms. Signed-off-by: Ye.Li <[email protected]>
2014-11-01MIPS: kconfig: add options for endianess selectDaniel Schwierzeck
Add new Kconfig option to let the user select the targets endianess. Each target have to select SUPPORTS_BIG_ENDIAN and/or SUPPORTS_LITTLE_ENDIAN to indicate which endianess is supported. Signed-off-by: Daniel Schwierzeck <[email protected]>
2014-10-31arm: socfpga: Add example config entry for EPCS/EPCQ SPIMarek Vasut
Add example config file entry for the Altera SPI controller. This SPI controller can also, under special conditions, be used to operate the EPCS/EPCQ SPI NOR. Signed-off-by: Marek Vasut <[email protected]> Cc: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Vince Bridgers <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Stefan Roese <[email protected]> Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
2014-10-31Remove unused filesMasahiro Yamada
[1] arch/arm/include/asm/arch-at91/at91_shdwn.h The top9000 was the last board to use this header file. It was removed by commit d58a9451e733 (ppc/arm: zap EMK boards). [2] board/matrix_vision/common/* Some Matrix Vision boards were dropped by commit e7a565638a7a (powerpc: mpc83xx: remove board support for MERGERBOX and MVBLM7) and commit af55e35d3389 (powerpc: mpc5xxx: remove board support for MVBC_P and MVSMR). Since then these files have been unused. [3] include/usb/omap1510_udc.h The omap5912osk was the last board to use this header file. It was removed by commit 62d636aa2ac2 (omap: remove omap5912osk board support). Signed-off-by: Masahiro Yamada <[email protected]> Acked-By: Wolfgang Denk <[email protected]>
2014-10-31twl4030: VMMC2 3.2V enable on MMC initPaul Kocialkowski
This enables the VMMC2 LDO, which powers the MMC2 device. When the device starts from MMC2, this has already been enabled by the BootROM, but when starting from peripheral boot (USB, UART), it is not the case. Signed-off-by: Paul Kocialkowski <[email protected]> Acked-by: Pantelis Antoniou <[email protected]>
2014-10-30arm: mxs: Define bootscript env variable on m28evkMarek Vasut
The patch below failed to define the variable, so define it to make it consistent with M53EVK. commit a428ac914b2b6db851c1feac98622f2d9844db45 Author: Lothar Rubusch <[email protected]> Date: Thu Jun 26 11:01:29 2014 +0200 ARM: m28evk: Update default environment Signed-off-by: Marek Vasut <[email protected]> Cc: Tom Rini <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Stefano Babic <[email protected]>
2014-10-30tqma6: fix sf detectionMarkus Niebel
Commit 155fa9af95ac5be857a7327e7a968a296e60d4c8 changed the way to define a GPIO line, which can be used to force CS high across multiple transactions. In order to fix sf detection change board code to make use of board_spi_cs_gpio(..). Signed-off-by: Markus Niebel <[email protected]>
2014-10-30arm: socfpga: Add I2C support to SoCFPGAStefan Roese
This patch adds I2C support for the SoCFPGA. Using the designware I2C controller driver. It supports all 4 I2C busses on the SoCFPGA. The designware I2C driver has now been converted to the CONFIG_SYS_I2C framework. So lets enable it on SoCFPGA. Tested on SoCrates. Signed-off-by: Stefan Roese <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Vince Bridgers <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Heiko Schocher <[email protected]>
2014-10-30ARM: mx6: Add support for Kosagi NovenaMarek Vasut
Add support for the Kosagi Novena board. Currently supported are: - I2C busses - FEC Ethernet - MMC0, MMC1, Booting from MMC - SATA - USB ports - USB Ethernet Signed-off-by: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Sean Cross <[email protected]> Cc: Nikolay Dimitrov <[email protected]> Reviewed-by: Nikolay Dimitrov <[email protected]>
2014-10-30board: wandboard: add usb storageJeroen Hofstee
Cc: Fabio Estevam <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> Acked-by: Fabio Estevam <[email protected]>
2014-10-29Merge git://git.denx.de/u-boot-x86Tom Rini
2014-10-29Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxTom Rini
2014-10-29x86: config: Increase CONFIG_SYS_BOOTM_LEN to 16MBSimon Glass
The code density of x86_64 is not wonderful. Increase the maximum boot size and adjust the load address to cope. Signed-off-by: Simon Glass <[email protected]>
2014-10-29powerpc: TQM5200: convert to generic boardWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2014-10-29powerpc: tqm8xx*: convert to generic boardWolfgang Denk
This converts all TQM8xx boards (MPC8xx based) to generic board. Signed-off-by: Wolfgang Denk <[email protected]>
2014-10-29i2c: designware: Convert driver to multibus/multiadapter frameworkStefan Roese
In preparation for the SoCFPGA support of the designware I2C driver, convert this driver to the common CONFIG_SYS_I2C framework. This patch converts all users of this driver, this is: - ST spearxxx boards - AXS101 (ARC700 platform) I couldn't test this patch on those boards. Only compile tested for all spear boards. And tested on SoCFPGA. Signed-off-by: Stefan Roese <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Acked-by: Alexey Brodkin <[email protected]> Tested-by: Alexey Brodkin <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Vipin Kumar <[email protected]> Cc: Jeroen Hofstee <[email protected]>
2014-10-29i2c: mxs: Add basic support for i2c frameworkMarek Vasut
This patch just converts the function prototypes used throughout this driver to match those of the i2c framework. There is so far no functional change. This patch does not do the deeper integration of the framework bits. Signed-off-by: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Heiko Schocher <[email protected]>
2014-10-28x86: image: Add new image type for x64_64Simon Glass
This is a bit odd in that we are permitted to boot images for either, even though they are separate architectures. Signed-off-by: Simon Glass <[email protected]>
2014-10-28x86: Display basic CPU information on bootSimon Glass
Display the type of CPU (x86 or x86_64) when starting up. Signed-off-by: Simon Glass <[email protected]>
2014-10-28ppc/arm: zap EMK boardsWolfgang Denk
The following bard configurations have been without active maintenance for a long time, and the board maintainer agrees to have them removed: MPC5200: TOP5200, MINI5200, EVAL5200 MPC860: TOP860 at91sam9xeXXX: top9000eval_xe, top9000su_xe Signed-off-by: Wolfgang Denk <[email protected]> Cc: Reinhard Meyer <[email protected]> [trini: Add missing Kconfig removals] Signed-off-by: Tom Rini <[email protected]>
2014-10-28Merge git://git.denx.de/u-boot-dmTom Rini
2014-10-28e1000: add i211 and unprogrammed i210/i211 supportMarcel Ziswiler
This patch adds support for i211 as well as unprogrammed aka tools only i210/i211 chip support. Signed-off-by: Marcel Ziswiler <[email protected]>
2014-10-27exynos: common: enable generic fs operationsPrzemyslaw Marczak
This config is required by Odroid, and could be also useful for the other boards. Signed-off-by: Przemyslaw Marczak <[email protected]> Acked-by: Simon Glass <[email protected]>
2014-10-27Use __stringify() instead of xstr()Anatolij Gustschin
Some boards still use xstr(). Replace remaining occurrences of xstr() by commonly used __stringify(). Signed-off-by: Anatolij Gustschin <[email protected]>
2014-10-27ppc4xx: update PMC440 board supportMatthias Fuchs
- switch to GENERIC_BOARD - fix env support from eeprom Signed-off-by: Matthias Fuchs <[email protected]>
2014-10-27Correct single misspelling of "consitant" in source tree.Robert P. J. Day
Signed-off-by: Robert P. J. Day <[email protected]>
2014-10-27TI:OMAP4: enable EXT support in SPL for OMAP4 boardsGuillaume GARDET
Enable EXT support in SPL for OMAP4 boards. Build tested for duovero, omap4_sdp4430 and omap4_panda. Run time tested on omap4_panda. Signed-off-by: Guillaume GARDET <[email protected]> Cc: Tom Rini <[email protected]>
2014-10-27spl: Add EXT support to SPLGuillaume GARDET
Add EXT filesystem support to SPL. Signed-off-by: Guillaume GARDET <[email protected]> [trini: Fix a warning and checkpatch problems] Signed-off-by: Tom Rini <[email protected]>
2014-10-27Rename some defines containing FAT in their name to be filesystem genericGuillaume GARDET
Rename some defines containing FAT in their name to be filesystem generic: MMCSD_MODE_FAT => MMCSD_MODE_FS CONFIG_SPL_FAT_LOAD_ARGS_NAME => CONFIG_SPL_FS_LOAD_ARGS_NAME CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME => CONFIG_SPL_FS_LOAD_PAYLOAD_NAME CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION => CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION Signed-off-by: Guillaume GARDET <[email protected]> Cc: Tom Rini <[email protected]>
2014-10-27Tidy up data sizes and function comment in display_optionsSimon Glass
Use inttypes.h and uint64_t to correct the code so that it will not issue warnings on 64-bit machines where 'uint64_t' is 'unsigned long'. Signed-off-by: Simon Glass <[email protected]>
2014-10-27Use uint64_t for time typesSimon Glass
Unfortunately 'unsigned long long' and 'uint64_t' are not necessarily compatible on 64-bit machines. Use the correct typedef instead of writing the supposed type out in full. Signed-off-by: Simon Glass <[email protected]>
2014-10-27Add some standard headers external code might needGabe Black
inttypes.h defines format specifiers for printf which work with data types of particular sizes. stdlib.h is currently just a passthrough to malloc.h which has declarations of the various *alloc functions. Add the required #define to common.h so that these printf format specifiers will be made available. Signed-off-by: Gabe Black <[email protected]> Reviewed-by: Gabe Black <[email protected]> Tested-by: Gabe Black <[email protected]> Reviewed-by: Bill Richardson <[email protected]> Signed-off-by: Simon Glass <[email protected]> (Replaced with a GPL version from glibc)
2014-10-27Provide option to avoid defining a custom version of uintptr_t.Gabe Black
There's a definition in stdint.h (provided by gcc) which will be more correct if available. Define CONFIG_USE_STDINT to use this feature, or USE_STDINT=1 on the 'make' commmand. This adjusts the settings for x86 and sandbox, with both have 64-bit options. Signed-off-by: Gabe Black <[email protected]> Reviewed-by: Gabe Black <[email protected]> Tested-by: Gabe Black <[email protected]> Reviewed-by: Bill Richardson <[email protected]> Rewritten to be an option, since stdint.h is often available only in glibc. Changed to preserve a clear boundary between stdint and non-stdint Signed-off-by: Simon Glass <[email protected]>