]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
8 years agoARM: mxs: spl_power_init: fix merge error leading to "redefinition of 'mxs_init_batt_...
Lothar Waßmann [Fri, 21 Aug 2015 14:44:39 +0000 (16:44 +0200)]
ARM: mxs: spl_power_init: fix merge error leading to "redefinition of 'mxs_init_batt_bo'" error

8 years agokaro: tx28: spl: export CONFIG_SPL_TEXT_BASE via CPPFLAGS to make it available in...
Lothar Waßmann [Fri, 21 Aug 2015 14:44:38 +0000 (16:44 +0200)]
karo: tx28: spl: export CONFIG_SPL_TEXT_BASE via CPPFLAGS to make it available in linker script

8 years agotx28: config.mk: fix build error: "No rule to make target `.u-boot.sb"'
Lothar Waßmann [Fri, 21 Aug 2015 14:44:38 +0000 (16:44 +0200)]
tx28: config.mk: fix build error: "No rule to make target `.u-boot.sb"'

8 years agokaro: tx28: use CONFIG_SYS_SDRAM_SIZE instead of CONFIG_SDRAM_SIZE
Lothar Waßmann [Fri, 21 Aug 2015 14:44:37 +0000 (16:44 +0200)]
karo: tx28: use CONFIG_SYS_SDRAM_SIZE instead of CONFIG_SDRAM_SIZE

8 years agokaro: tx28: replace SETUP_IOMUX_PAD macro with mxs_iomux_setup_pad() call
Lothar Waßmann [Fri, 21 Aug 2015 14:44:37 +0000 (16:44 +0200)]
karo: tx28: replace SETUP_IOMUX_PAD macro with mxs_iomux_setup_pad() call

8 years agokaro: tx28: update Kconfig
Lothar Waßmann [Fri, 21 Aug 2015 14:44:36 +0000 (16:44 +0200)]
karo: tx28: update Kconfig

8 years agogpio: mxs: fix prototype of gpio_set_value()
Lothar Waßmann [Fri, 21 Aug 2015 14:44:35 +0000 (16:44 +0200)]
gpio: mxs: fix prototype of gpio_set_value()

8 years agoKconfig: add Kconfig option for MXS_MMC
Lothar Waßmann [Fri, 21 Aug 2015 14:44:35 +0000 (16:44 +0200)]
Kconfig: add Kconfig option for MXS_MMC

8 years agoARM: mxs: add missing ';' after mxs_reg_32() macro calls
Lothar Waßmann [Fri, 21 Aug 2015 14:44:34 +0000 (16:44 +0200)]
ARM: mxs: add missing ';' after mxs_reg_32() macro calls

8 years agoarm: mxs: remove conflict markers from merge
Lothar Waßmann [Fri, 21 Aug 2015 14:44:32 +0000 (16:44 +0200)]
arm: mxs: remove conflict markers from merge

8 years agocommon/board_f.c: fix condition for reloc_off assignment
Lothar Waßmann [Thu, 16 Jul 2015 11:29:09 +0000 (13:29 +0200)]
common/board_f.c: fix condition for reloc_off assignment

All ARM systems define the symbol __image_copy_start which is the
correct relocation base address for secure and non-secure boot.

8 years agogpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
Lothar Waßmann [Thu, 16 Jul 2015 11:28:05 +0000 (13:28 +0200)]
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h

8 years agocommon: add call to show_activity() in main cmd loop
Lothar Waßmann [Thu, 16 Jul 2015 11:27:42 +0000 (13:27 +0200)]
common: add call to show_activity() in main cmd loop

8 years agokaro: add support for TXA5 (SAMA5D4) modules karo-txa5 KARO-TXA5-2015-06-26
Lothar Waßmann [Tue, 23 Jun 2015 10:59:12 +0000 (12:59 +0200)]
karo: add support for TXA5 (SAMA5D4) modules

8 years agocommon/board_f.c: add default implementation of get_timer_masked()
Lothar Waßmann [Tue, 23 Jun 2015 10:58:07 +0000 (12:58 +0200)]
common/board_f.c: add default implementation of get_timer_masked()

8 years agofdt: fix incorrect placement of partition information for atmel_nand
Lothar Waßmann [Tue, 23 Jun 2015 10:52:51 +0000 (12:52 +0200)]
fdt: fix incorrect placement of partition information for atmel_nand

fdt_node_set_part_info() blindly assumes, that the first child of the
given node must be the 'partitions' node where to put the part info.
In case of atmel_nand this node is actually the NFC node.

Use the Linux kernel logic skipping any node that has a 'compatible'
property prevent adding the partitions to a wrong node or deleting the
wrong parent node.

8 years agogpio: at91: add missing () around macro arguments and remove redundant type cast...
Lothar Waßmann [Tue, 23 Jun 2015 08:37:55 +0000 (10:37 +0200)]
gpio: at91: add missing () around macro arguments and remove redundant type cast to (void *)

8 years agonet: macb: fix network configuration error when using gmac with non-Gbit PHY
Lothar Waßmann [Tue, 23 Jun 2015 08:32:58 +0000 (10:32 +0200)]
net: macb: fix network configuration error when using gmac with non-Gbit PHY

If the ethernet controller is detected as GMAC, the driver silently
assumes, that the connected PHY is also 1000Mbit capable and reads the
probably non-existant MII_STAT1000 register. This may lead to falsely
assuming a 1000Mbit link.

8 years agovideo: atmel_hlcdfb: fix reversed parameters in lcd_writel() call
Lothar Waßmann [Tue, 23 Jun 2015 05:40:55 +0000 (07:40 +0200)]
video: atmel_hlcdfb: fix reversed parameters in lcd_writel() call

8 years agovideo: atmel_hlcdfb: make pixel clock polarity configurable
Lothar Waßmann [Tue, 23 Jun 2015 05:34:51 +0000 (07:34 +0200)]
video: atmel_hlcdfb: make pixel clock polarity configurable

8 years agovideo: atmel_hlcdfb: change type of 'mmio' to avoid unnecessary type casts
Lothar Waßmann [Tue, 23 Jun 2015 05:34:21 +0000 (07:34 +0200)]
video: atmel_hlcdfb: change type of 'mmio' to avoid unnecessary type casts

8 years agomtd: nand: atmel: add Atmel NAND controller configs to Kconfig
Lothar Waßmann [Tue, 23 Jun 2015 05:30:47 +0000 (07:30 +0200)]
mtd: nand: atmel: add Atmel NAND controller configs to Kconfig

8 years agoarm: imx: timer: use get_gptclk() instead of MXC_CLK32 where applicable
Lothar Waßmann [Tue, 16 Jun 2015 09:16:52 +0000 (11:16 +0200)]
arm: imx: timer: use get_gptclk() instead of MXC_CLK32 where applicable

8 years agokaro: common: include <errno.h> in karo.h to prevent possible compile errors
Lothar Waßmann [Tue, 16 Jun 2015 09:15:34 +0000 (11:15 +0200)]
karo: common: include <errno.h> in karo.h to prevent possible compile errors

8 years agoconfig: rename CONFIG_MX* to CONFIG_SOC_MX*
Lothar Waßmann [Tue, 16 Jun 2015 09:14:33 +0000 (11:14 +0200)]
config: rename CONFIG_MX* to CONFIG_SOC_MX*

8 years agofdt_support: use generic types to fix compile errors in host tools
Lothar Waßmann [Tue, 16 Jun 2015 09:13:46 +0000 (11:13 +0200)]
fdt_support: use generic types to fix compile errors in host tools

8 years agokconfig: nand: fix selection of SYS_NAND_SELF_INIT
Lothar Waßmann [Tue, 16 Jun 2015 09:12:41 +0000 (11:12 +0200)]
kconfig: nand: fix selection of SYS_NAND_SELF_INIT

8 years agomtd: mxc_nand: sync with Linux mxc_nand driver
Lothar Waßmann [Tue, 16 Jun 2015 09:11:55 +0000 (11:11 +0200)]
mtd: mxc_nand: sync with Linux mxc_nand driver

8 years agocommon/board_f.c: adjust reloc_offs for secure boot
Lothar Waßmann [Tue, 16 Jun 2015 09:05:37 +0000 (11:05 +0200)]
common/board_f.c: adjust reloc_offs for secure boot

8 years agokaro: tx53: add defconfigs for TX53 secure boot
Lothar Waßmann [Mon, 15 Jun 2015 12:41:52 +0000 (14:41 +0200)]
karo: tx53: add defconfigs for TX53 secure boot

8 years agokaro: tx53: adjust linker script and lowlevel_init.S for secure boot
Lothar Waßmann [Mon, 15 Jun 2015 12:59:00 +0000 (14:59 +0200)]
karo: tx53: adjust linker script and lowlevel_init.S for secure boot

8 years agomx53: add HAB support
Lothar Waßmann [Mon, 15 Jun 2015 08:11:10 +0000 (10:11 +0200)]
mx53: add HAB support

8 years agokaro: tx53: update romupdate command
Lothar Waßmann [Mon, 15 Jun 2015 08:10:18 +0000 (10:10 +0200)]
karo: tx53: update romupdate command

8 years agokaro: tx53: remove wrong FB_SYNC_CLK_LAT_FALL flag from ET0430 video mode
Lothar Waßmann [Mon, 15 Jun 2015 08:03:32 +0000 (10:03 +0200)]
karo: tx53: remove wrong FB_SYNC_CLK_LAT_FALL flag from ET0430 video mode

8 years agokaro: tx53: check 'video_mode' variable before calling karo_fdt_get_backlight_polarity()
Lothar Waßmann [Mon, 15 Jun 2015 08:02:57 +0000 (10:02 +0200)]
karo: tx53: check 'video_mode' variable before calling karo_fdt_get_backlight_polarity()

8 years agokaro: tx53: delay GPIO initialization untill after GPIO subsystem has been initialized
Lothar Waßmann [Mon, 15 Jun 2015 07:48:18 +0000 (09:48 +0200)]
karo: tx53: delay GPIO initialization untill after GPIO subsystem has been initialized

8 years agokaro: kconfig: update TX53 Kconfig
Lothar Waßmann [Fri, 12 Jun 2015 11:19:05 +0000 (13:19 +0200)]
karo: kconfig: update TX53 Kconfig

8 years agokconfig: set 'default y' for all CMD_* options defined in config_cmd_default.h
Lothar Waßmann [Fri, 12 Jun 2015 11:16:27 +0000 (13:16 +0200)]
kconfig: set 'default y' for all CMD_* options defined in config_cmd_default.h

8 years agokconfig: add Kconfig options for CONFIG_BOOTP_* settings
Lothar Waßmann [Fri, 12 Jun 2015 11:15:19 +0000 (13:15 +0200)]
kconfig: add Kconfig options for CONFIG_BOOTP_* settings

8 years agokaro: configs: add missing quotes to CONFIG_SYS_EXTRA_OPTIONS value
Lothar Waßmann [Fri, 12 Jun 2015 11:14:14 +0000 (13:14 +0200)]
karo: configs: add missing quotes to CONFIG_SYS_EXTRA_OPTIONS value

8 years agokconfig: add Kconfig option for CMD_MII
Lothar Waßmann [Fri, 12 Jun 2015 08:55:59 +0000 (10:55 +0200)]
kconfig: add Kconfig option for CMD_MII

8 years agokconfig: add Kconfig option for CMD_ROMUPDATE
Lothar Waßmann [Fri, 12 Jun 2015 08:55:41 +0000 (10:55 +0200)]
kconfig: add Kconfig option for CMD_ROMUPDATE

8 years agokconfig: add Kconfig option for LCD
Lothar Waßmann [Fri, 12 Jun 2015 08:55:12 +0000 (10:55 +0200)]
kconfig: add Kconfig option for LCD

8 years agokconfig: move 'Environment configuration settings' out of CMD menu
Lothar Waßmann [Fri, 12 Jun 2015 08:52:29 +0000 (10:52 +0200)]
kconfig: move 'Environment configuration settings' out of CMD menu

The menu 'Command line interface' is only available in non-SPL_BUILD.
Move the Environment configuration settings out of this menu context,
so they are available in SPL_BUILD too.

8 years agokconfig: remove duplicate symbol CMD_DNS introduced by commit 60296a835cb1
Lothar Waßmann [Fri, 12 Jun 2015 08:49:18 +0000 (10:49 +0200)]
kconfig: remove duplicate symbol CMD_DNS introduced by commit 60296a835cb1

8 years agokconfig: add Kconfig options for MXS and MXC OCOTP drivers
Lothar Waßmann [Fri, 12 Jun 2015 08:47:19 +0000 (10:47 +0200)]
kconfig: add Kconfig options for MXS and MXC OCOTP drivers

8 years agokconfig: add Kconfig options for PARTITIONS
Lothar Waßmann [Fri, 12 Jun 2015 08:46:19 +0000 (10:46 +0200)]
kconfig: add Kconfig options for PARTITIONS

8 years agolib: add Kconfig option for LIB_RAND
Lothar Waßmann [Fri, 12 Jun 2015 08:44:05 +0000 (10:44 +0200)]
lib: add Kconfig option for LIB_RAND

8 years agokaro: config: enable CONFIG_GENERIC_BOARD
Lothar Waßmann [Fri, 12 Jun 2015 08:35:52 +0000 (10:35 +0200)]
karo: config: enable CONFIG_GENERIC_BOARD

8 years agokaro: config: update config files
Lothar Waßmann [Fri, 12 Jun 2015 08:35:06 +0000 (10:35 +0200)]
karo: config: update config files

8 years agokaro: configs: update defconfig files
Lothar Waßmann [Fri, 12 Jun 2015 08:32:52 +0000 (10:32 +0200)]
karo: configs: update defconfig files

8 years agoupdate to 2015.04-rc1
Lothar Waßmann [Mon, 9 Mar 2015 08:21:53 +0000 (09:21 +0100)]
update to 2015.04-rc1

8 years agokaro: tx6: improve pad ctrl for SD card interfaces
Lothar Waßmann [Tue, 3 Mar 2015 12:14:02 +0000 (13:14 +0100)]
karo: tx6: improve pad ctrl for SD card interfaces


8 years agokaro: mmc: fix file read from eMMC partition
Lothar Waßmann [Tue, 3 Mar 2015 08:54:01 +0000 (09:54 +0100)]
karo: mmc: fix file read from eMMC partition


8 years agomtd: nand: omap_gpmc: support reading metadata from OOB
Lothar Waßmann [Wed, 11 Feb 2015 15:24:20 +0000 (16:24 +0100)]
mtd: nand: omap_gpmc: support reading metadata from OOB

8 years agokaro: tx6: enable FDT support for MFG U-Boot build
Lothar Waßmann [Wed, 4 Feb 2015 06:44:01 +0000 (07:44 +0100)]
karo: tx6: enable FDT support for MFG U-Boot build


8 years agokaro: tx6: Cleanup PMIC code
Lothar Waßmann [Thu, 15 Jan 2015 17:19:04 +0000 (18:19 +0100)]
karo: tx6: Cleanup PMIC code


8 years agokaro: merge with Ka-Ro specific tree for secure boot support
Lothar Waßmann [Wed, 4 Mar 2015 12:41:53 +0000 (13:41 +0100)]
karo: merge with Ka-Ro specific tree for secure boot support

8 years agoPrepare v2015.04-rc1
Tom Rini [Mon, 2 Feb 2015 17:39:29 +0000 (12:39 -0500)]
Prepare v2015.04-rc1

Signed-off-by: Tom Rini <trini@ti.com>
8 years agoMerge branch 'master' of git://git.denx.de/u-boot-ti
Tom Rini [Mon, 2 Feb 2015 17:37:34 +0000 (12:37 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-ti

8 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Tom Rini [Mon, 2 Feb 2015 16:51:58 +0000 (11:51 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

8 years agoMerge branch 'master' of git://git.denx.de/u-boot-sunxi
Tom Rini [Mon, 2 Feb 2015 15:11:44 +0000 (10:11 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-sunxi

8 years agosunxi: mmc: Add 'sunxi_' prefix to the static functions
Siarhei Siamashka [Sat, 31 Jan 2015 22:42:14 +0000 (00:42 +0200)]
sunxi: mmc: Add 'sunxi_' prefix to the static functions

This results in a much more readable callgraph, because now they
can't be confused with the function having exactly the same name
in the generic mmc code.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: dram: Support more sun[457]i dram parameters in Kconfig
Siarhei Siamashka [Sat, 31 Jan 2015 22:27:06 +0000 (00:27 +0200)]
sunxi: dram: Support more sun[457]i dram parameters in Kconfig

This patch allows to configure all the important DRAM parameters in Kconfig.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: dram: Optionally use standard JEDEC timings for sun[457]i
Siarhei Siamashka [Sat, 31 Jan 2015 22:27:05 +0000 (00:27 +0200)]
sunxi: dram: Optionally use standard JEDEC timings for sun[457]i

In addition to the current Android magic settings, allow to optionally use
DDR3 timing parameters, which are tailored for different clock frequencies
and JEDEC speed bins. This should improve reliability and performance.

Adding '+S:CONFIG_DRAM_TIMINGS_DDR3_1066F_1333H=y' to the board defconfig
allows to use timings, which are calculated for the DDR3-1066F speed bin.
A lot of DDR3 chips, which are used in real Allwinner based devices,
support DDR3-1066F speed bin timings.

And adding '+S:CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y' should work
with any DDR3 chips, because this targets the slowest JEDEC speed bins.

The vendor magic values are still used by default for DRAM, but board
maintainers now have more flexibility in DRAM timings selection.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: video: Force h/vsync active high when using ext. vga dac on some boards
Hans de Goede [Sun, 25 Jan 2015 14:33:07 +0000 (15:33 +0100)]
sunxi: video: Force h/vsync active high when using ext. vga dac on some boards

On both my A13-OLinuxIno and my A13-OLinuxIno-Micro, the vga output gives an
unstable image when active low v or hsync is used.

The problem seems to be specific to the OLinuxIno A13 (normal & micro)
boards. I've just looked up the schematics and they use an opendrain driver
for the vga sync lines, and with sync pulses it is the logical high->low
edge of the pulse which counts for the timing, which with an active low
sync is being driven by the pull-up, and that simply seems to not drive
it hard enough to get a stable image.

So force v and hsync active high on these boards. independent of what the
modeline says. This fixes the unstable image.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agosunxi: Add Inet 86VS support
Michal Suchanek [Sun, 4 Jan 2015 20:06:21 +0000 (21:06 +0100)]
sunxi: Add Inet 86VS support

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: TZX-Q8-713B7 support
Paul Kocialkowski [Tue, 27 Jan 2015 18:58:46 +0000 (19:58 +0100)]
sunxi: TZX-Q8-713B7 support

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: Add Linksprite_pcDuino3_Nano board / defconfig
Adam Sampson [Sun, 1 Feb 2015 12:58:58 +0000 (12:58 +0000)]
sunxi: Add Linksprite_pcDuino3_Nano board / defconfig

This is a low-cost Allwinner A20 board with Arduino-style GPIO headers;
it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro
USB socket for OTG and another for power in, HDMI, SATA, 5V power for
SATA devices, gigabit Ethernet, an IR receiver, 3.5mm audio out and a
MIPI camera connector.

Like the BananaPi, this board needs GMAC_TX_DELAY set to 3 in order for
GMAC to work reliably at gigabit speeds.

For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano

Signed-off-by: Adam Sampson <ats@offog.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: MAINTAINERS: sort entries alphabetically
Hans de Goede [Wed, 28 Jan 2015 08:31:52 +0000 (09:31 +0100)]
sunxi: MAINTAINERS: sort entries alphabetically

Keep all entries except for the monster entry at the top alphabetically sorted.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: rsb: Move rsb_set_device_mode() call to rsb_init()
Hans de Goede [Mon, 26 Jan 2015 15:59:12 +0000 (16:59 +0100)]
sunxi: rsb: Move rsb_set_device_mode() call to rsb_init()

It turns out that the device_mode_data is rsb specific, rather then slave
specific, so integrate the rsb_set_device_mode() call into rsb_init().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agosunxi: rsb: Add sun9i (A80 support)
Hans de Goede [Mon, 26 Jan 2015 15:46:43 +0000 (16:46 +0100)]
sunxi: rsb: Add sun9i (A80 support)

Add support for the A80 to the rsb code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agosunxi: Remove CONFIG_TARGET_FOO for sun5i and sun7i boards
Hans de Goede [Sun, 25 Jan 2015 11:15:14 +0000 (12:15 +0100)]
sunxi: Remove CONFIG_TARGET_FOO for sun5i and sun7i boards

CONFIG_TARGET_FOO was only used in board/sunxi/Makefile to select the
dram config for sun5i and sun7i boards and in board/sunxi/gmac.c for some
special handling of the bananapi/bananapro (both sun7i), all sun5i and sun7i
boards have been moved over to using a single dram_sun5i_autoconfig file,
and the tx clk delay handling for the Banana boards now has its own Kconfig.

IOW nothing is using CONFIG_TARGET_FOO anymore, so remove it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agosunxi: Add a GMAC Transmit Clock Delay Chain Kconfig option
Hans de Goede [Sun, 25 Jan 2015 11:10:48 +0000 (12:10 +0100)]
sunxi: Add a GMAC Transmit Clock Delay Chain Kconfig option

And use this to set the GMAC Transmit Clock Delay Chain value on Banana
boards, rather then keying of CONFIG_TARGET_FOO.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agosunxi: Convert sun5i boards to use auto dram configuration
Hans de Goede [Sun, 25 Jan 2015 10:29:27 +0000 (11:29 +0100)]
sunxi: Convert sun5i boards to use auto dram configuration

Currently we've separate detailed dram settings for all sun5i boards, this
moves them over to using auto dram configuration so that we can get rid of
all the per board dram_foo.c files.

This has been tested on a A10s-Olinuxino, A13-Olinuxino, A13-OlinuxinoM,
mk802-a10s and r7-tv-dongle board.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agosunxi: Hyundai_A7HD_defconfig fix USB vbus pin config
Hans de Goede [Fri, 23 Jan 2015 15:40:01 +0000 (16:40 +0100)]
sunxi: Hyundai_A7HD_defconfig fix USB vbus pin config

USB1_VBUS is not used, and USB2_VBUS uses the pin normally used to control

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: Only enable i2c support in the SPL when needed
Hans de Goede [Fri, 23 Jan 2015 14:28:22 +0000 (15:28 +0100)]
sunxi: Only enable i2c support in the SPL when needed

We do not need i2c support in the SPL when there is no PMIC (some sun4i
boards), or when the PMIC is not using i2c such as on sun6i and sun8i.

This reduces the SPL size from (e.g.) 21812 to 19260 bytes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
8 years agoMerge branch 'patman' of git://git.denx.de/u-boot-x86
Tom Rini [Sat, 31 Jan 2015 17:40:48 +0000 (12:40 -0500)]
Merge branch 'patman' of git://git.denx.de/u-boot-x86

8 years agoMerge branch 'master' of git://git.denx.de/u-boot-net
Tom Rini [Sat, 31 Jan 2015 17:40:26 +0000 (12:40 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-net

8 years agopatman: Explain how to make doc/git-mailrc work
Simon Glass [Sat, 4 Oct 2014 02:40:36 +0000 (20:40 -0600)]
patman: Explain how to make doc/git-mailrc work

Add an explanation for how to set up git so that patman can find the alias
file. Fix up the get_maintainers message too.

Reported-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
8 years agosandbox: Fix README to indicate that vendor name is unset
Simon Glass [Tue, 23 Sep 2014 19:05:59 +0000 (13:05 -0600)]
sandbox: Fix README to indicate that vendor name is unset

This brings in a additional small fix which was missed in a recent update
to the README.

Suggested-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
8 years agopatman: Check commit_match before stripping leading whitespace
Scott Wood [Thu, 25 Sep 2014 19:30:46 +0000 (14:30 -0500)]
patman: Check commit_match before stripping leading whitespace

True commit lines start at column zero.  Anything that is indented
is part of the commit message instead.  I noticed this by trying to
run buildman with commit e3a4facdfc07179ebe017a07b8de6224a935a9f3
as master, which contained a reference to a Linux commit inside
the commit message.  ProcessLine saw that as a genuite commit
line, and thus buildman tried to build it, and died with an
exception because that SHA is not present in the U-Boot tree.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Simon Glass <sjg@chromium.org>
8 years agopatman: Make dry-run output match real functionality
Peter Tyser [Mon, 26 Jan 2015 17:42:21 +0000 (11:42 -0600)]
patman: Make dry-run output match real functionality

When run with the --dry-run argument patman prints out information
showing what it would do.  This information currently doesn't line up
with what patman/git send-email really do.  Some basic examples:
- If an email address is addressed via "Series-cc" and "Patch-cc" patman
  shows that email address would be CC-ed two times.
- If an email address is addressed via "Series-to" and "Patch-cc" patman
  shows that email address would be sent TO and CC-ed.
- If an email address is addressed from a combination of tag aliases,
  get_maintainer.pl output, "Series-cc", "Patch-cc", etc patman shows
  that the email address would be CC-ed multiple times.

Patman currently does try to send duplicate emails like the --dry-run
output shows, but "git send-email" intelligently removes duplicate
addresses so this patch shouldn't change the non-dry-run functionality.

Change patman's output and email addressing to line up with the
"git send-email" logic.  This trims down patman's dry-run output and
prevents confusion about what patman will do when emails are actually

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
8 years agosandbox: Add a -D option to use a default device tree
Simon Glass [Tue, 20 Jan 2015 03:21:34 +0000 (20:21 -0700)]
sandbox: Add a -D option to use a default device tree

It is painful to specify the full path to the device tree with the -d
option. It is normally kept in the same directory as U-Boot, so provide
an option to use this by default.

Signed-off-by: Simon Glass <sjg@chromium.org>
8 years agosandbox: Correct cros-ec keyboard definition
Simon Glass [Tue, 20 Jan 2015 03:21:33 +0000 (20:21 -0700)]
sandbox: Correct cros-ec keyboard definition

The other boards got updated to the standard binding. Update sandbox as

Signed-off-by: Simon Glass <sjg@chromium.org>
8 years agonet/designware: add error message on DMA reset timeout
Alexey Brodkin [Tue, 13 Jan 2015 14:10:24 +0000 (17:10 +0300)]
net/designware: add error message on DMA reset timeout

If for some reason DMA module fails to reset user oserves only this:
# dhcp
Trying dwmac.e0018000

This message makes not much sense.
With proposed change error message will be more helpful:
# dhcp
Trying dwmac.e0018000
DMA reset timeout

For example user may do power toggle to recover board functionality.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Ian Campbell <ijc@hellion.org.uk>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@ti.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
8 years agonet: phy: micrel: add support for KSZ8895 switch in SMI mode
Philippe De Muyter [Wed, 19 Feb 2014 16:21:59 +0000 (17:21 +0100)]
net: phy: micrel: add support for KSZ8895 switch in SMI mode

This patch adds a phy driver for the Micrel KSZ8895 switch.  As the SoC MAC
is directly connected to the switch MAC the link to the switch is always up.

But the KSZ8895 switch can be hardwired in three configuration modes :
- not configurable with eventually an eeprom-stored configuration
- configurable by the mdio/mdc connection (SMI protocol)
- configurable by a SPI connection.

In not configurable mode, the switch starts automatically, but in the
other modes, it must be started programmatically, by writing 1 in
configuration register 1.
We only support the not configurable and mdio/mdc (aka SMI) modes here.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
8 years agoAdd MS7206SE ethernet support
Yoshinori Sato [Thu, 13 Feb 2014 14:13:41 +0000 (23:13 +0900)]
Add MS7206SE ethernet support

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
8 years agonet: tsec: Fix NULL access in case init_phy() fails
Claudiu Manoil [Tue, 10 Dec 2013 13:21:04 +0000 (15:21 +0200)]
net: tsec: Fix NULL access in case init_phy() fails

If the PHY is not recognized don't access phydev (NULL)
and return 0 to signal failure.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
8 years agoMerge branch 'master' of git://git.denx.de/u-boot-mips
Tom Rini [Fri, 30 Jan 2015 18:56:15 +0000 (13:56 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-mips

8 years agoMerge branch 'master' of git://git.denx.de/u-boot-dm
Tom Rini [Fri, 30 Jan 2015 14:24:42 +0000 (09:24 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-dm

8 years agoARM: armv7 fix spelling of SCTRL
Peng Fan [Thu, 29 Jan 2015 10:03:39 +0000 (18:03 +0800)]
ARM: armv7 fix spelling of SCTRL

SCTLR is the abbreviation of System Control Register, so we should
use SCTLR but not SCTRL.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agofpga: Extend dump description
Michal Simek [Mon, 26 Jan 2015 07:52:27 +0000 (08:52 +0100)]
fpga: Extend dump description

There are missing parameters in help which fpga dump command

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
8 years agovexpress64: support the Juno Development Platform
Linus Walleij [Fri, 23 Jan 2015 13:41:10 +0000 (14:41 +0100)]
vexpress64: support the Juno Development Platform

The Juno Development Platform is a physical Versatile Express
device with some differences from the emulated semihosting
models. The main difference is that the system is split in
a SoC and an FPGA where the SoC hosts the serial ports at
totally different adresses.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agovexpress64: get rid of CONFIG_SYS_EXTRA_OPTIONS
Linus Walleij [Fri, 23 Jan 2015 10:50:53 +0000 (11:50 +0100)]
vexpress64: get rid of CONFIG_SYS_EXTRA_OPTIONS

The Versatile Express ARMv8 semihosted FVP platform is still
using the legacy CONFIG_SYS_EXTRA_OPTIONS method to configure
some compile-time flags. Get rid of this and create a Kconfig
entry for the FVP model, and a selectable bool for the
semihosting library.

The FVP subboard is now modeled as a target choice so we can
eventually choose between different ARMv8 versatile express
boards (FVP, base model, Juno...) this way. All dependent
symbols are updated to reflect this.

The 64bit Versatile Express board symbols are renamed
VEXPRESS64 so we have some chance to see what is actually
going on. Tested on the FVP fast model.

Acked-by: Steve Rae <srae@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agoadd README.distro file
Dennis Gilmore [Thu, 22 Jan 2015 18:34:20 +0000 (11:34 -0700)]
add README.distro file

Add documentation on how to setup a system to use the generic distro
configs and boot commands. This spells out what is needed to make a
system conformant, but does not limit the board to only the defaults.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
[swarren, added concept, user config, BOOT_TARGET_DEVICES sections.
edited the rest]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
8 years agodrivers/pci/pci_rom.c: fix compile warning under 64bit mode
Minghuan Lian [Thu, 22 Jan 2015 05:21:55 +0000 (13:21 +0800)]
drivers/pci/pci_rom.c: fix compile warning under 64bit mode

Fix this:
drivers/pci/pci_rom.c:95:15: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
rom_header = (struct pci_rom_header *)rom_address;

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
8 years agodrivers/net/e1000.c: fix compile warning under 64bit mode
Minghuan Lian [Thu, 22 Jan 2015 05:21:54 +0000 (13:21 +0800)]
drivers/net/e1000.c: fix compile warning under 64bit mode

Fix this:
warning: cast from pointer to integer of different size

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
8 years agoarm: switch armltd vexpress to GENERIC_BOARD
Chris Kuethe [Thu, 22 Jan 2015 04:52:33 +0000 (20:52 -0800)]
arm: switch armltd vexpress to GENERIC_BOARD

only tested tested under QEMU with vexpress_ca9x4 ("-M vexpress-a9") and
vexpress_ca15_tc2 ("-M vexpress-a15"). Makes the ugly warning go away.

Signed-off-by: Chris Kuethe <chris.kuethe+github@gmail.com>
8 years agodistro_bootcmd: read DHCP boot script name from a variable
Stephen Warren [Mon, 19 Jan 2015 23:39:11 +0000 (16:39 -0700)]
distro_bootcmd: read DHCP boot script name from a variable

Modify $bootcmd_dhcp to read the downloaded script filename from an
environment variable rather than hard-coding it. This allows the user
(or another script) to select a different script name if they want,
without editing the whole value of $bootcmd_dhcp.

Signed-off-by: Stephen Warren <swarren@nvidia.com>