]> git.karo-electronics.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
9 years agokaro: tx6: configure ENET_OUT pad in DCD for earlier generation of the PHY refclock
Lothar Waßmann [Fri, 21 Aug 2015 14:22:42 +0000 (16:22 +0200)]
karo: tx6: configure ENET_OUT pad in DCD for earlier generation of the PHY refclock

9 years agokaro: tx6: add missing setup of MMDC2_MPMUR0
Lothar Waßmann [Fri, 21 Aug 2015 14:21:56 +0000 (16:21 +0200)]
karo: tx6: add missing setup of MMDC2_MPMUR0

9 years agokaro: tx6: cleanup DDR calibration code
Lothar Waßmann [Fri, 21 Aug 2015 14:21:08 +0000 (16:21 +0200)]
karo: tx6: cleanup DDR calibration code

9 years agokaro: tx6: increase WALAT/RALAT to max. during DDR calibration
Lothar Waßmann [Fri, 21 Aug 2015 14:12:35 +0000 (16:12 +0200)]
karo: tx6: increase WALAT/RALAT to max. during DDR calibration

This is mandated in the i.MX 6 Series DDR Calibration App Note (4467)
from Freescale.

9 years agokaro: tx6: remove bogus writes to MMDC2_MDPDC
Lothar Waßmann [Fri, 21 Aug 2015 14:01:16 +0000 (16:01 +0200)]
karo: tx6: remove bogus writes to MMDC2_MDPDC

MMDC2_MDPDC does not need to be written in DDR3 configuration.

9 years agokaro: tx6s: add NAND support
Lothar Waßmann [Fri, 21 Aug 2015 14:00:29 +0000 (16:00 +0200)]
karo: tx6s: add NAND support

9 years agokaro: tx6: try to revive I2C bus
Lothar Waßmann [Fri, 21 Aug 2015 14:00:10 +0000 (16:00 +0200)]
karo: tx6: try to revive I2C bus

When resetting the module during an ongoing I2C transfer with the
PMIC, the PMIC may hang the I2C bus. Configure the I2C pins as GPIOs
and drive them high to revive the I2C bus.

9 years agomtd: nand: mxs_nand: use calloc() to allocate and clear memory
Lothar Waßmann [Fri, 21 Aug 2015 13:59:50 +0000 (15:59 +0200)]
mtd: nand: mxs_nand: use calloc() to allocate and clear memory

9 years agoimx: bch: add missing hw_bch_debug0 reg to struct bch_regs
Lothar Waßmann [Fri, 21 Aug 2015 13:59:31 +0000 (15:59 +0200)]
imx: bch: add missing hw_bch_debug0 reg to struct bch_regs

9 years agoimx: gpmi: add debug[23] regs to struct gpmi_regs
Lothar Waßmann [Fri, 21 Aug 2015 13:59:10 +0000 (15:59 +0200)]
imx: gpmi: add debug[23] regs to struct gpmi_regs

9 years agocmd_fuse: sanitize printf format strings for hex values
Lothar Waßmann [Fri, 21 Aug 2015 13:37:22 +0000 (15:37 +0200)]
cmd_fuse: sanitize printf format strings for hex values

9 years agokaro: tx6: implement secure boot support
Lothar Waßmann [Fri, 21 Aug 2015 13:34:35 +0000 (15:34 +0200)]
karo: tx6: implement secure boot support

9 years agokaro: tx6: probe for PMIC to determine module variant prior to initializing PMIC
Lothar Waßmann [Fri, 21 Aug 2015 13:31:54 +0000 (15:31 +0200)]
karo: tx6: probe for PMIC to determine module variant prior to initializing PMIC

9 years agokaro: tx6: cleanup HAB functions
Lothar Waßmann [Fri, 21 Aug 2015 13:29:26 +0000 (15:29 +0200)]
karo: tx6: cleanup HAB functions

hab_authenticate_image() does not only authenticate a boot image as
the name suggests, but actually performs a full boot exercise like the
ROM code on an actual boot. Remove this function, as it is not useful
to be called from an already booted system. Also do some more cleaning
of the HAB code.

9 years agoarm: mx6: fix definition of MXC_CCM_CSCDR2_IPU._DI._PRE_CLK_SEL_MASK
Lothar Waßmann [Fri, 21 Aug 2015 13:21:59 +0000 (15:21 +0200)]
arm: mx6: fix definition of MXC_CCM_CSCDR2_IPU._DI._PRE_CLK_SEL_MASK

9 years agomx6: fix name of read_fuse_data register
Lothar Waßmann [Fri, 21 Aug 2015 13:16:16 +0000 (15:16 +0200)]
mx6: fix name of read_fuse_data register

9 years agokaro: tx6: general cleanups
Lothar Waßmann [Fri, 21 Aug 2015 13:13:46 +0000 (15:13 +0200)]
karo: tx6: general cleanups

9 years agocommon/board_f.c: fix condition for reloc_off assignment
Lothar Waßmann [Wed, 19 Aug 2015 11:25:53 +0000 (13:25 +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.

9 years agogpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
Lothar Waßmann [Wed, 19 Aug 2015 11:25:28 +0000 (13:25 +0200)]
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h

9 years agocommon: add call to show_activity() in main cmd loop
Lothar Waßmann [Wed, 19 Aug 2015 11:25:01 +0000 (13:25 +0200)]
common: add call to show_activity() in main cmd loop

9 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

9 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()

9 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.

9 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 *)

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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*

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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()

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

Conflicts:
board/karo/tx6/tx6qdl.c

9 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

Conflicts:
board/karo/common/mmc.c

9 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

9 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

Conflicts:
include/configs/tx6.h

9 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

Conflicts:
board/karo/tx6/ltc3676.c
board/karo/tx6/rn5t567.c
board/karo/tx6/rn5t618.c

9 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

9 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>
9 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

9 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

9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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
USB1_VBUS.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
9 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>
9 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

9 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

9 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>
9 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>
9 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>
9 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
sent.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
9 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>
9 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
well.

Signed-off-by: Simon Glass <sjg@chromium.org>
9 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
FAIL
--->---

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

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>
9 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>
9 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>
9 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>
9 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

9 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

9 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>
9 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
requires.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>