summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-11-20include: move various macros to include/linux/kernel.hMasahiro Yamada
U-Boot has imported various utility macros from Linux scattering them to various places without consistency. In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN, container_of, DIV_ROUND_UP, etc. In include/linux/compat.h are min_t, max_t, round_up, round_down, etc. We also have duplicated defines of min_t in some *.c files. Moreover, we are suffering from too cluttered include/common.h. This commit moves various macros that originate in include/linux/kernel.h of Linux to their original position. Note: This commit simply moves the macros; the macros roundup, min, max, min2, max3, ARRAY_SIZE are different from those of Linux at this point. Signed-off-by: Masahiro Yamada <[email protected]>
2014-11-20include/common.h: remove DIV_ROUND definitionMasahiro Yamada
All the references of DIV_ROUND have been replaced with DIV_ROUND_CLOSEST. Remove DIV_ROUND. Signed-off-by: Masahiro Yamada <[email protected]>
2014-11-20ARM: remove CONFIG_ARM1136 definesMasahiro Yamada
CONFIG_CPU_ARM1136 was introduced into Kconfig by commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs). This commit removes all the defines of CONFIG_ARM1136 and replaces the only reference in arch/arm/lib/cache.c with CONFIG_CPU_ARM1136. Signed-off-by: Masahiro Yamada <[email protected]>
2014-11-20ARM: remove CONFIG_ARM926EJS definesMasahiro Yamada
CONFIG_CPU_ARM926EJS was introduced into Kconfig by commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs). This commit removes all the defines of CONFIG_ARM926EJS and replaces the only reference in arch/arm/lib/cache.c with CONFIG_CPU_ARM926EJS. Signed-off-by: Masahiro Yamada <[email protected]>
2014-11-20ARM: remove CONFIG_ARM920T definesMasahiro Yamada
CONFIG_CPU_ARM920T was introduced into Kconfig by commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs). This commit removes all the defines of CONFIG_ARM920T and replaces the only reference in drivers/usb/host/ohci-hcd.c with CONFIG_CPU_ARM920T. Signed-off-by: Masahiro Yamada <[email protected]>
2014-11-20ARM: remove CONFIG_ARM1176 definesMasahiro Yamada
CONFIG_ARM1176 is defined for some boards but not referenced at all. Signed-off-by: Masahiro Yamada <[email protected]>
2014-11-20ARM: remove CONFIG_ARMV7 definesMasahiro Yamada
Some (not all) of ARMv7 boards define CONFIG_ARMV7, which is useless. Besides, it is never referenced. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-20imx: imx6q/dlsabreauto: Add PMIC Pfuze100 supportYe.Li
Add the pfuze100 initialization in power_init_board for imx6q/dl sabreauto board. Signed-off-by: Ye.Li <[email protected]>
2014-11-20power: pfuze100: Update definitions for buck regulatorsYe.Li
Add definitions for buck regulators (SW1A/B/C) registers and voltage values. Signed-off-by: Ye.Li <[email protected]> Reviewed-by: Przemyslaw Marczak <[email protected]>
2014-11-20imx: mx6sxsabresd: Add board support for USDHC2 and USDHC3Ye.Li
Add full support for USDHC2, USDHC3, USDHC4 on mx6sx sabresd board. The default boot socket is USDHC4, so the MMC environment device and mmcdev variable are set to this device. Signed-off-by: Ye.Li <[email protected]>
2014-11-20tqma6: (cosmetic) remove CONFIG_FLASH_SECTOR_SIZEMarkus Niebel
This is nowhere documented and only used by two other boards. Replace it with TQMA6_SPI_FLASH_SECTOR_SIZE. Signed-off-by: Markus Niebel <[email protected]>
2014-11-20mx6qsabreauto: Add parallel NOR flash supportFabio Estevam
mx6sabreauto boards come with 32 MiB of parallel NOR flash. Add support for it: U-Boot 2015.01-rc1-18107-g1543636-dirty (Nov 14 2014 - 11:11:04) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6Q-Sabreauto revA I2C: ready DRAM: 2 GiB Flash: 32 MiB NAND: 0 MiB Due to pin conflict with I2C3, only define configure I2C3 IOMUX when flash is not used. Signed-off-by: Fabio Estevam <[email protected]>
2014-11-20imx: mx6slevk: Change default mmcdev to USDHC2 deviceYe.Li
Since USDHC1 and USDHC3 added, the dev index for USDHC2 changed to 1. So modify the default mmcdev in environment variables to dev 1. Signed-off-by: Ye.Li <[email protected]>
2014-11-19Merge branch 'master' of git://git.denx.de/u-boot-ubiTom Rini
2014-11-19Merge branch 'master' of git://git.denx.de/u-boot-i2cTom Rini
2014-11-19Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxTom Rini
2014-11-19net/fm: add 2.5G SGMII supportShengzhou Liu
As auto-negotiation is not supported for 2.5G SGMII, we need to add a new type PHY_INTERFACE_MODE_SGMII_2500 to differentiate SGMII-1G and SGMII-2.5G with different setting for auto-negotiation. Signed-off-by: Shaohui Xie <[email protected]> Signed-off-by: Shengzhou Liu <[email protected]> Reviewed-by: York Sun <[email protected]>
2014-11-19qe: add qe support for ls1021a-twr boardZhao Qiang
Signed-off-by: Zhao Qiang <[email protected]> Reviewed-by: York Sun <[email protected]>
2014-11-19qe: add qe support to ls1021aqdsZhao Qiang
add qe support to ls1021aqds Signed-off-by: Zhao Qiang <[email protected]> Reviewed-by: York Sun <[email protected]>
2014-11-19config: MPC837X : Add complete USB EHCI supportNikhil Badola
Add complete USB EHCI support for MPC837XEMDS and MPC837XERDB Signed-off-by: Nikhil Badola <[email protected]> Reviewed-by: York Sun <[email protected]>
2014-11-19powerpc/t4rdb: Fix CPLD timingChunhe Lan
This fixes CPLD timing from previous commit ab06b236f76cfa42f264ee161be190b3e479298f. Signed-off-by: Chunhe Lan <[email protected]> [York Sun: This is the difference between v2 and v1 patch] Reviewed-by: York Sun <[email protected]>
2014-11-19P1023RDB: Update default environmentChunhe Lan
Signed-off-by: Chunhe Lan <[email protected]> Reviewed-by: York Sun <[email protected]>
2014-11-19powerpc: mpc52xx: a3m071/a4m2k: Convert to generic boardStefan Roese
a3m071 and a4m2k share one config header. So adding the generic board defines in this one file is enough to convert both boards. Signed-off-by: Stefan Roese <[email protected]> Cc: Wolfgang Denk <[email protected]>
2014-11-19powerpc: mpc52xx: a4m072: Convert to generic boardStefan Roese
Signed-off-by: Stefan Roese <[email protected]> Cc: Wolfgang Denk <[email protected]>
2014-11-19mpc83xx: Add gdsys hrcon boardDirk Eibach
The gdsys hrcon board is based on a Freescale MPC8308 SOC. It boots from NOR-Flash, kernel and rootfs are stored on SD-Card. On board peripherals include: - 1x GbE (optional) - Lattice ECP3 FPGA connected via eLBC and PCIe Signed-off-by: Dirk Eibach <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
2014-11-19mtd: Handle 29LV800BTDirk Eibach
The device id makes u-boot think that this chip needs cfi_reverse_geometry(), which is not the case. Add it to jedec_flash, so it is handled properly. Signed-off-by: Dirk Eibach <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
2014-11-19board: dlvision: Reduce memory footprintDirk Eibach
Tune dlvision configuration similar to other gdsys boards to reduce memory footprint. Signed-off-by: Dirk Eibach <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
2014-11-19ubi: enable error reporting in initializationAndrew Ruder
The UBI layer will disable much of its error reporting when it is compiled into the linux kernel to avoid stopping boot. We want this error reporting in U-Boot since we don't initialize the UBI layer until it is used and want the error reporting. We force this by telling the UBI layer we are building as a module. Signed-off-by: Andrew Ruder <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Kyungmin Park <[email protected]>
2014-11-17ARM: atmel: add sama5d4 xplained ultra board supportBo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display (optional, disabled by default) - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17ARM: atmel: add sama5d4ek board supportBo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17arm, spl, at91: add spl support for the corvus boardHeiko Schocher
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Bo Shen <[email protected]> Reviewed-by: Andreas Bießmann <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17arm, at91, spl: add spl support for the taurus boardHeiko Schocher
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Bo Shen <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17spl, nand, atmel_nand: add erase one block functionHeiko Schocher
erase one nand block in spl code. keep it simple, as size matters This is used on the upcoming taurus spl support. Signed-off-by: Heiko Schocher <[email protected]> Acked-by: Scott Wood <[email protected]> Reviewed-by: Bo Shen <[email protected]> Reviewed-by: Andreas Bießmann <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17spl, nand: add option to boot raw u-boot.bin image onlyHeiko Schocher
enable to boot only a raw u-boot.bin image from nand with the CONFIG_SPL_NAND_RAW_ONLY define. This option saves space on boards where spl space is low. Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Andreas Bießmann <[email protected]> Reviewed-by: Bo Shen <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17arm, at91: add spi dataflash support for the taurus boardHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Bo Shen <[email protected]> Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17spi, atmel: move CONFIG_SYS_SPI_WRITE_TOUT into common headerHeiko Schocher
move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h and define a default value. Delete this define in the board config files, where it is possible (all boards use currently the same value). Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]> Reviewed-by: Andreas Bießmann <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17ARM: at91 series: convert to generic boardBo Shen
Signed-off-by: Bo Shen <[email protected]> Reviewed-by: Andreas Bießmann <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2014-11-17Merge branch 'master' of git://git.denx.de/u-boot-shTom Rini
2014-11-17Merge branch 'rmobile' of git://git.denx.de/u-boot-shTom Rini
2014-11-17arm: odroid: usb: add support for usb host including ethernetSuriyan Ramasami
This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller as well. Signed-off-by: Suriyan Ramasami <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17arm: odroid: pmic77686: allow buck voltage settingsSuriyan Ramasami
Allow to set the buck voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. Signed-off-by: Suriyan Ramasami <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17SMDK2410: convert to generic boardDavid Müller (ELSOFT AG)
Compile-time tested only, as I currently don't have access to the eval board. Signed-off-by: David Müller <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17exynos: Increase command line buffer size (CONFIG_SYS_CBSIZE)Ian Campbell
I was running into this limit with a not overly long PXE append line. Since the PXE code wants to print the resulting command line increase CONFIG_SYS_PBSIZE too. Signed-off-by: Ian Campbell <[email protected]> Acked-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17exynos5: Use config_distro_bootcmd.hIan Campbell
This replaces the existing CONFIG_BOOTCOMMAND for exynos5250 and 5420. exynos4 platforms seem to have existing complex extra env configuration for booting and so are excluded here. Hence the bootcmd.h is added to exynos5-common.h. I have build tested on all exynos platforms (MAKEALL -s exynos), but only boot tested on arndale. Signed-off-by: Ian Campbell <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Guillaume GARDET <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17exynos: Enable config_distro_defaults.hIan Campbell
...and remove explicit setting of things which this implies. This is done for all exynos platforms (4 & 5) so it is added to exynos-common.h I'm mainly interested in CONFIG_CMD_BOOTZ and CONFIG_SUPPORT_RAW_INITRD I have build tested on all exynos platforms (MAKEALL -s exynos), but only boot tested on arndale. Signed-off-by: Ian Campbell <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Guillaume GARDET <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17Config: Exynos5420: Refactor SDRAM Bank and SizeAkshay Saraswat
Since, not every board may have all memory channels configured and all available banks of DMC used, we wish to refactor configs for Memory Bank size and numbers as per board memory config. For Example, Peach-Pit has 2GB memory and will be using only 4 banks but Peach-Pi has 3.5GB memory and will be using all 7 available SDRAM banks. Signed-off-by: Akshay Saraswat <[email protected]> Acked-by: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17Config: Exynos5800: Enable build for Peach-PiAkshay Saraswat
This adds following things : - New config and defconfig for Peach-Pi board. - Alterations in Kconfig and MAINTAINERS. - Addition of CONFIG_EXYNOS5800. - ADdition of exynos5800-peach-pi in dts list. Signed-off-by: Akshay Saraswat <[email protected]> Acked-by: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2014-11-17blackfin: convert to use CONFIG_SYS_I2C frameworkScott Jiang
Signed-off-by: Scott Jiang <[email protected]>
2014-11-17blackfin: rename bfin-twi_i2c driver to adi_i2cScott Jiang
Signed-off-by: Scott Jiang <[email protected]>
2014-11-17arm: rmobile: replacement of common parts of config by rcar-gen2-common.hNobuhiro Iwamatsu
Common part of config for lager, koelsch, alt and gose board will be able to replace rcar-gen2-common.h. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>