summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-10-27powerpc: digsy_mtc: convert to generic boardAnatolij Gustschin
Signed-off-by: Anatolij Gustschin <[email protected]>
2014-10-27powerpc: mecp5123: convert to generic boardAnatolij Gustschin
Signed-off-by: Anatolij Gustschin <[email protected]> Cc: Reinhard Arlt <[email protected]>
2014-10-27powerpc: ac14xx: convert to generic boardAnatolij Gustschin
Signed-off-by: Anatolij Gustschin <[email protected]>
2014-10-27powerpc: aria: convert to generic boardAnatolij Gustschin
Signed-off-by: Anatolij Gustschin <[email protected]>
2014-10-27powerpc: pdm360ng: convert to generic boardAnatolij Gustschin
Signed-off-by: Anatolij Gustschin <[email protected]>
2014-10-27powerpc: mpc5121ads: convert to generic boardAnatolij Gustschin
Also enable CONFIG_DISPLAY_BOARDINFO to get checkboard() called. Signed-off-by: Anatolij Gustschin <[email protected]>
2014-10-27Merge branch 'master' of git://git.denx.de/u-boot-imxTom Rini
2014-10-27Merge branch 'master' of git://git.denx.de/u-boot-tiTom Rini
2014-10-27Merge branch 'master' of git://git.denx.de/u-boot-socfpgaTom Rini
2014-10-27arm: socfpga: config: Add USB support exampleMarek Vasut
Add example configuration stub for the DWC2 USB controller. 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]>
2014-10-27arm: socfpga: Zap CONFIG_EPHY[01]_PHY_ADDR macroMarek Vasut
This is not used anywhere, remove it. Signed-off-by: Marek Vasut <[email protected]> Cc: Chin Liang See <[email protected]> Acked-by: Dinh Nguyen <[email protected]> Cc: Vince Bridgers <[email protected]> Cc: Albert Aribaud <[email protected]> Cc: Pavel Machek <[email protected]>
2014-10-27arm: socfpga: Zap spl.h and ad-hoc related symsMarek Vasut
Switch to the common spl.h file and zap the arch/spl.h . Since the arch/spl.h contained various ad-hoc symbols, zap those symbols as well and rework the board configuration a little so it doesn't depend on them. Signed-off-by: Marek Vasut <[email protected]> Cc: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Vince Bridgers <[email protected]> Cc: Albert Aribaud <[email protected]> Acked-by: Pavel Machek <[email protected]>
2014-10-27arm: socfpga: Move code from misc_init_r() to arch_early_init_r()Marek Vasut
Move this initialization code to proper place. The misc_init_r() function is called way too late and the platform initialization code should be executed much earlier. Signed-off-by: Marek Vasut <[email protected]> Cc: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Vince Bridgers <[email protected]> Cc: Albert Aribaud <[email protected]> Acked-by: Pavel Machek <[email protected]>
2014-10-26arm: debug: replace license blocks with SPDXMasahiro Yamada
Signed-off-by: Masahiro Yamada <[email protected]>
2014-10-26arm: debug: import debug files from Linux 3.16Masahiro Yamada
U-Boot does not have arch/arm/kernel, include/uapi directories, This commit copies files as follows: Location in Linux -> Location in U-Boot arch/arm/kernel/debug.S -> arch/arm/lib/debug.S arch/arm/include/debug/8250.S -> arch/arm/include/debug/8250.S include/uapi/linux/serial_reg.h -> include/linux/serial_reg.h Signed-off-by: Masahiro Yamada <[email protected]>
2014-10-26Merge http://git.denx.de/u-boot-sunxiTom Rini
2014-10-26Merge branch 'master' of git://git.denx.de/u-boot-usbTom Rini
2014-10-26Merge git://git.denx.de/u-boot-dmTom Rini
Fix a trivial conflict over adding <dm.h> Conflicts: arch/arm/cpu/armv7/omap3/board.c Signed-off-by: Tom Rini <[email protected]>
2014-10-25spl: add prototype for jump_to_image_no_argsJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25mmc: add prototype for mmc_get_env_addrJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25ide: add missing prototypeJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25gpio: add protype for name_to_gpioJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25fdt_support: add prototypes for __weak functionsJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25elf: add prototype for valid_elf_imageJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25bootm: add prototype for arch_preboot_osJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-25string.h: add missing prototypesJeroen Hofstee
Signed-off-by: Jeroen Hofstee <[email protected]>
2014-10-24sunxi: 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: Hans de Goede <[email protected]>
2014-10-24ARM: sunxi: Add support for using R_UART as consoleChen-Yu Tsai
The A23 only has UART0 muxed with MMC0. Some of the boards we encountered expose R_UART as a set of pads. Add support for R_UART so we can have a console while using mmc. Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24ARM: sunxi: Add basic A23 supportChen-Yu Tsai
The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio, and uart setup. There is no SPL support for A23, as we do not have any documentation or sample code for DRAM initialization. Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24ARM: sunxi: Add support for uart0 on port F (mmc0)Chen-Yu Tsai
Allwinner SoCs provide uart0 muxed with mmc0, which can then be used with a micro SD breakout board. On the A23, this is the only way to use uart0. Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24ARM: sunxi: Fix build break when CONFIG_MMC is not definedChen-Yu Tsai
BOOT_TARGET_DEVICES includes MMC unconditionally. This breaks when CONFIG_CMD_MMC is not defined. Use a secondary macro to conditionally include it when CONFIG_MMC is enabled, as we do for CONFIG_AHCI. This is used when we want to use uart0 from port F, which conflicts with mmc0. Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24sunxi: Add CONFIG_MACH_TYPE defines to sun4i, sun5i and sun7iHans de Goede
Many people are still using old linux-sunxi-3.4 kernels on sunxi devices, adding the proper MACH_TYPE defines for this allows people to switch to upstream u-boot, so that we can stop maintaining the linux-sunxi u-boot fork. These machine-ids are all properly registered at: http://www.arm.linux.org.uk/developer/machines/ Signed-off-by: Hans de Goede <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24sunxi: Add mmc card-detect functionalityHans de Goede
Signed-off-by: Hans de Goede <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24ARM: sunxi: Add basic A31 supportMaxime Ripard
Add a new sun6i machine that supports UART and MMC. Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Hans de Goede <[email protected]> [[email protected]: use SPDX labels, adapt to Kconfig system, drop ifdef around mmc and smp code, drop MACH_TYPE] Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-24ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not definedChen-Yu Tsai
BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI. Signed-off-by: Chen-Yu Tsai <[email protected]> Acked-by: Ian Campbell <[email protected]>
2014-10-23serial: uniphier: move CONFIG_UNIPHIER_SERIAL to KconfigMasahiro Yamada
Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Simon Glass <[email protected]>
2014-10-23dm: serial: use Driver Model for UniPhier serial driverMasahiro Yamada
This commit converts UniPhier on-chip serial driver to driver model. Since UniPhier SoCs do not have Device Tree support, some board files should be added under arch/arm/cpu/armv7/uniphier/ph1-*/ directories. (Device Tree support for UniPhier platform is still under way.) Now the base address and master clock frequency are passed from platform data, so CONFIG_SYS_UNIPHIER_SERIAL_BASE* and CONFIG_SYS_UNIPHIER_UART_CLK should be removed. Tested on UniPhier PH1-LD4 ref board. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Simon Glass <[email protected]>
2014-10-23serial: add static directive to local functionsMasahiro Yamada
The functions _serial_putc, _serial_putc_raw, _serial_puts, _serial_getc, _serial_tstc, _serial_setbrg are defined and used locally in each of serial_ns16550.c and serial_s3c24x0.c. Add static directive to them and remove declarations from include/common.h. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Simon Glass <[email protected]>
2014-10-23dm: move platform data headers to include/dm/platform_dataMasahiro Yamada
The platform_data definitions are generally referenced from both drivers and board files. That is why header files defining platform_data sturectures are placed in "include" directory, but our top level "include" directory is already too cluttered. Let's collect platform_data definitions under the directory "include/dm/platform_data" like Linux gathers ones around under "include/linux/platform_data". This commit moves two header files: include/serial_mxc.h -> include/dm/platform_data/serial_mxc.h include/serial_pl01x.h -> include/dm/platform_data/serial_pl01x.h Signed-off-by: Masahiro Yamada <[email protected]>
2014-10-23dm: x86: Convert coreboot serial to use driver modelSimon Glass
This makes use of the existing device tree node to use driver model for the serial console. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: x86: Convert Intel ICH6 GPIO driver to use driver modelSimon Glass
Convert over this driver, using device tree to pass in the required information. The peripheral is still probed, just the number of GPIO banks and their offsets is in the device tree (previously this was a table in the driver). Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: gpio: Remove unused get_state() uclass methodSimon Glass
This is no longer used so drop it. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: dts: Move omap device tree includes to correct placeSimon Glass
These ended up in arch/arm/dts/dt-bindings temporarily, but in fact the correct place is now include/dt-bindings. Move them to be consistent. Signed-off-by: Simon Glass <[email protected]>
2014-10-23test: dm: Support memory leak checking as a core featureSimon Glass
Check the state of the malloc() heap before each test is run, so that tests can verify that all is well at the end. Provide helper functions to mark the heap and to check that it returns to its initial state. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: gpio: Add gpio_requestf() helper for printf() stringsSimon Glass
Add a helper which permits a printf()-style format string for the requester string. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: Move the function for getting GPIO status into the uclassSimon Glass
This function can be more easily tested if it is in the uclass. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: gpio: Add gpio_get_function() and friendsSimon Glass
Add helpers to the uclass to allow finding out the pin function. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: gpio: Implement GPIO reservation in the uclassSimon Glass
We have several GPIO drivers now and all are doing similar things to record which GPIOs are reserved. Move this logic into the uclass to make the drivers similar. We retain the request()/free() methods since currently one driver does use these for setting up the pin. Signed-off-by: Simon Glass <[email protected]>
2014-10-23dm: omap3: Move to driver model for GPIO and serialSimon Glass
Adjust the configuration for the am33xx boards, including beagleboard, to use driver model. Signed-off-by: Simon Glass <[email protected]> Acked-by: Tom Rini <[email protected]>
2014-10-23dm: am33xx: Move to driver model for GPIO and serialSimon Glass
Adjust the configuration for the am33xx boards, including beaglebone black to use driver model. This can be extended to other OMAP boards once platform data is provided for them. Signed-off-by: Simon Glass <[email protected]> Acked-by: Tom Rini <[email protected]>