Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/config_distro_bootcmd.h | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index be616e8..5e5e5e3 100644
---
Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/config_distro_bootcmd.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 515a2f9..2503431 100644
--- a/include/config_distro_bootcmd.h
Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/config_distro_bootcmd.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 2503431..aaa010e 100644
--- a/include/config_distro_bootcmd.h
Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/config_distro_bootcmd.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index a93354a..515a2f9 100644
--- a/include/config_distro_bootcmd.h
In order to not change behavior significantly, several changes to
config_distro_bootcmd were added to make it more flexible, and
am335x_evm.h was adapted to make use of them:
- Allow multiple partitions per device, rather than only searching on
partition 1. Make the number of partitions
Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/configs/am335x_evm.h | 26 +-
include/configs/ti_armv7_common.h | 1 +
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index
Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/config_distro_defaults.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
index 5d18a4b..fc67c42 100644
--- a/include/config_distro_defaults.h
+++
Signed-off-by: Vagrant Cascadian vagr...@debian.org
---
include/config_distro_bootcmd.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 5e5e5e3..a93354a 100644
--- a/include/config_distro_bootcmd.h
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
Signed-off-by: Hans de Goede hdego...@redhat.com
drivers/gpio/sunxi_gpio.c already has sunxi_gpio_input exported via the
standard gpio_get_value name.
Ian.
___
U-Boot mailing list
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
Signed-off-by: Hans de Goede hdego...@redhat.com
---
board/sunxi/Kconfig | 27 +++
drivers/mmc/sunxi_mmc.c | 20
2 files changed, 47 insertions(+)
diff --git a/board/sunxi/Kconfig
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
Note we also drop the SPL check for initializing the 2nd mmc slot, the SPL
check is not necessary with Kconfig, because only options explicitly marked
as also being for the SPL get set during SPL builds.
Signed-off-by: Hans de Goede
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
sunxi SOCs can boot from both mmc0 and mmc2, detect from which one we're
booting, and make that one mmc dev 0 so that a single u-boot binary can
be used for both the onboard eMMC and for external sdcards.
Where does the dependency on dev
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
None of the known sunxi devices actually use mmc1 routed through PH, where
as some devices do actually use mmc1 routed through PG, so change the routing
of mmc1 to PG. If in the future we encounter devices with mmc1 routed through
PH, we
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
diff --git a/configs/Mele_M3_defconfig b/configs/Mele_M3_defconfig
index 645b236..50979e2 100644
--- a/configs/Mele_M3_defconfig
+++ b/configs/Mele_M3_defconfig
@@ -1,5 +1,7 @@
CONFIG_SPL=y
On Sat, 2014-10-04 at 09:38 +0100, Ian Campbell wrote:
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
diff --git a/configs/Mele_M3_defconfig b/configs/Mele_M3_defconfig
index 645b236..50979e2 100644
--- a/configs/Mele_M3_defconfig
+++ b/configs/Mele_M3_defconfig
@@ -1,5 +1,7 @@
A few simple patches which consolidate some Kconfig options and make
SPL_FEL a first class .config member instead of putting it in
CONFIG_SYS_EXTRA_OPTIONS.
This means it is possible to do a FEL build for any board with:
make board_config
echo CONFIG_SPL_FEL=y .config
No need to be so repetitive.
Signed-off-by: Ian Campbell i...@hellion.org.uk
---
board/sunxi/Kconfig | 31 ---
1 file changed, 4 insertions(+), 27 deletions(-)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 05defac..c4b3167 100644
---
And make TARGET_SUN[457]I a choice variable under this.
configs updated with:
sed -i -e 's/^\+S:CONFIG_TARGET_SUN.I=y/+S:CONFIG_TARGET_SUNXI=y\n/g'
configs/*
Signed-off-by: Ian Campbell i...@hellion.org.uk
---
arch/arm/Kconfig | 13 ++---
board/sunxi/Kconfig
It's unfortunate that this needs to be present in both .config and spl/.config
since it makes it slightly hard to enable FEL mode for a regular defconfig. It
can be done with:
echo CONFIG_SPL_FEL=y .config
echo CONFIG_SPL_FEL=y spl/.config
Ideally only one of those would be needed.
Hi Alison,
On Mon, 29 Sep 2014 10:53:11 +0800, Alison Wang b18...@freescale.com
wrote:
From: Jason Jin jason@freescale.com
Disable the snoop for slave interface 0, 1 and 2
to avoid the interleaving on the CCI400 BUS.
Please be more specific: this patch specifically targets arch ls102xa
Hi Stefan,
On Thu, 02 Oct 2014 09:09:48 +0200, Stefan Agner ste...@agner.ch
wrote:
Am 2014-09-09 17:19, schrieb Stefano Babic:
Hi Stefan, Albert,
On 09/09/2014 17:14, Stefan Agner wrote:
Hi Albert,
The RESEND version of the patch is actually an updated version (maybe I
should
On Sat, 2014-10-04 at 09:47 +0100, Ian Campbell wrote:
Probably the board [...] selection could be moved out
without any dependencies, although the board one in particular will be
quite a big patch I think it would be worth it.
On the topic of board selection which way round should the SoC vs.
On later Allwinner SoCs, the watchdog hardware is by all means a
separate hardware block, with its own address range and interrupt
line.
Move the register definitions to a separate file to facilitate
supporting newer SoCs.
Signed-off-by: Chen-Yu Tsai w...@csie.org
---
Hi,
This series fixes support for the reset command on sun6i/sun8i.
The watchdog hardware has changed in sun6i, both the register
addresses and definitions. This makes the reset command unusable
on sun6i.
Patch 1 moves the watchdog register definitions into a separate
file. The rationale behind
The watchdog on sun6i/sun8i has a different layout.
Add the new layout and fix up the setup functions so that reset works.
Signed-off-by: Chen-Yu Tsai w...@csie.org
---
arch/arm/cpu/armv7/sunxi/board.c | 15 +++
arch/arm/include/asm/arch-sunxi/watchdog.h | 20
The RTC hardware has been moved out of the timer block on sun6i/sun8i.
In addition, there are more watchdogs available.
Also note that the timer block definition is not completely accurate
for sun5i/sun7i. Various blocks are missing or have been moved out.
Signed-off-by: Chen-Yu Tsai
Hi Simon,
2014-10-03 22:51 GMT+09:00 Simon Glass s...@chromium.org:
Hi Masahiro,
On 3 October 2014 07:04, Masahiro Yamada yamad...@jp.panasonic.com wrote:
Simon,
I am totally being confused.
As far as I looked at the dm code,
the private data is calloc'ed in device_probe() function
Hi,
On Sat, Oct 4, 2014 at 11:02 PM, Julian Calaby julian.cal...@gmail.com wrote:
Hi,
On Sat, Oct 4, 2014 at 10:37 PM, Chen-Yu Tsai w...@csie.org wrote:
Hi,
This series fixes support for the reset command on sun6i/sun8i.
The watchdog hardware has changed in sun6i, both the register
Hi Detlev,
2014-10-03 2:09 GMT+09:00 Detlev Zundel d...@denx.de:
Hi,
the agenda for the U-Boot Mini Summit in a few days in Düsseldorf has
now been finalized[1]. It is very encouraging to see such a lot of
high-class content and I'm very excited to also meet a lot of new
people.
Please
Hi
Il 02/ott/2014 23:07 Albert ARIBAUD albert.u.b...@aribaud.net ha
scritto:
Hi Detlev,
On Thu, 02 Oct 2014 19:09:07 +0200, Detlev Zundel d...@denx.de wrote:
Hi,
the agenda for the U-Boot Mini Summit in a few days in Düsseldorf has
now been finalized[1]. It is very encouraging to
On Fri, Oct 03, 2014 at 05:41:05PM +0300, Pantelis Antoniou wrote:
Hi Tom,
The following changes since commit be9f643ae6aa9044c60fe80e3a2c10be8371c692:
Merge branch 'for-tom' of git://git.denx.de/u-boot-dm (2014-09-26 20:10:48
-0400)
are available in the git repository at:
On Fri, Oct 03, 2014 at 03:48:35PM -0500, Felipe Balbi wrote:
On Thu, Sep 25, 2014 at 07:38:26PM -0500, Felipe Balbi wrote:
On Tue, Sep 23, 2014 at 10:44:17AM -0500, Felipe Balbi wrote:
If CONFIG_SPL_BUILD and CONFIG_ENV_IS_IN_FAT are
defined, u-boot spl will fail to build. Fix that.
Hi Masahiro,
On 4 October 2014 06:57, Masahiro YAMADA yamad...@jp.panasonic.com wrote:
Hi Simon,
2014-10-03 22:51 GMT+09:00 Simon Glass s...@chromium.org:
Hi Masahiro,
On 3 October 2014 07:04, Masahiro Yamada yamad...@jp.panasonic.com wrote:
Simon,
I am totally being
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 s...@chromium.org
---
Makefile
Now that gpio_request() is handled by the uclass, updates the tests
accordingly.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/driver-model/README.txt | 25 +++--
test/dm/gpio.c | 55 +++--
2 files changed, 56
This series adds driver model support for serial and GPIO for sunxi. Since
I only have a sun7i board to test with, I have added a new config for the
pcDuino3, which uses device tree and driver model. This should make it
fairly easy to enable for the other boards at some point.
Now that we have
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 s...@chromium.org
---
include/dm/test.h | 23
With driver model we will have access to a bank pointer, so we want to
use it rather than converting back to a number, and then back to a
bank pointer. Add functions to provide this feature.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/cpu/armv7/sunxi/pinmux.c | 32
Add helpers to the uclass to allow finding out the pin function.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/gpio-uclass.c | 47 ++
include/asm-generic/gpio.h | 34 -
2 files changed, 80 insertions(+),
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 s...@chromium.org
---
arch/arm/dts/sun7i-a20-pcduino3.dts | 4
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.
Signed-off-by: Simon Glass s...@chromium.org
---
arch/arm/dts/sun7i-a20-pcduino3.dts | 173 ++
This method frees memory so we must make sure to implement it.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/sandbox.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpio/sandbox.c b/drivers/gpio/sandbox.c
index 7aa8b1f..13b3253 100644
---
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 s...@chromium.org
---
drivers/gpio/sunxi_gpio.c | 170
Add a helper which permits a printf()-style format string for the requester
string.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/driver-model/README.txt | 3 ++-
drivers/gpio/gpio-uclass.c | 21 +
include/asm-generic/gpio.h | 10 ++
test/dm/gpio.c
Add tests for gpio_requestf() and for memory leaks.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/driver-model/README.txt | 5 -
test/dm/gpio.c | 38 ++
2 files changed, 42 insertions(+), 1 deletion(-)
diff --git
Now that the uclass supports gpio_request/free() there is no need for the
driver to implement it too. Drop this unnecessary code.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/tegra_gpio.c | 110 --
1 file changed, 110 deletions(-)
This is no longer used so drop it.
Signed-off-by: Simon Glass s...@chromium.org
---
include/asm-generic/gpio.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 2a32c93..0cfbd46 100644
--- a/include/asm-generic/gpio.h
+++
Now that the uclass supports gpio_request/free() there is no need for the
driver to implement it too. Drop this unnecessary code.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/sandbox.c | 82 --
1 file changed, 82 deletions(-)
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
This function can be more easily tested if it is in the uclass.
Signed-off-by: Simon Glass s...@chromium.org
---
common/cmd_gpio.c | 57 +-
drivers/gpio/gpio-uclass.c | 39 +++
include/asm-generic/gpio.h | 18
Add a driver for the simple-bus nodes, which allows devices within these
nodes to be bound.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/core/Makefile | 1 +
drivers/core/simple-bus.c | 33 +
include/dm/uclass-id.h| 1 +
3 files changed, 35
Now that the uclass supports gpio_request/free() there is no need for the
driver to implement it too. Drop this unnecessary code.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/bcm2835_gpio.c | 89 -
1 file changed, 89 deletions(-)
Implement this method so that the 'gpio' command can do its job correctly.
For sandbox we only support input and output states for a gpio.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/sandbox.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
Now that the uclass supports gpio_request/free() there is no need for the
driver to implement it too. Drop this unnecessary code.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/s5p_gpio.c | 101
1 file changed, 101 deletions(-)
The scsi_init() function uses a GPIO so should request it. There is no
way to return an error here, and the request may be made multiple times,
so just ignore errors for now.
Signed-off-by: Simon Glass s...@chromium.org
---
board/sunxi/ahci.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Now that the uclass supports gpio_request/free() there is no need for the
driver to implement it too. Drop this unnecessary code.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/omap_gpio.c | 116 +--
1 file changed, 1 insertion(+), 115
Now that the uclass supports gpio_request/free() there is no need for the
driver to implement it too. Drop this unnecessary code.
Signed-off-by: Simon Glass s...@chromium.org
---
drivers/gpio/mxc_gpio.c | 116
1 file changed, 116 deletions(-)
Hi Stefano,
On Tue, Sep 30, 2014 at 2:05 PM, Fabio Estevam
fabio.este...@freescale.com wrote:
PERST_GPIO and POWER_GPIO are currently swapped.
Fix the GPIO assignments as per the board schematics.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
Would it be possible to get this one
Hi,
On Sun, Oct 5, 2014 at 1:29 AM, Simon Glass s...@chromium.org wrote:
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 s...@chromium.org
---
On Sat, Oct 4, 2014 at 4:48 PM, Ian Campbell i...@hellion.org.uk wrote:
And make TARGET_SUN[457]I a choice variable under this.
configs updated with:
sed -i -e 's/^\+S:CONFIG_TARGET_SUN.I=y/+S:CONFIG_TARGET_SUNXI=y\n/g'
configs/*
Signed-off-by: Ian Campbell i...@hellion.org.uk
---
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
Commit 3eb3e72a3f66 (nand/denali: Adding Denali NAND driver support)
introduced some new options, and some of them were documented by
commit f9860cf081ef (nand/denali: Document CONFIG symbols).
This commit allows users to
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
The SPL-mode driver for Denali(Cadence) NAND Flash Memory Controller IP.
This driver requires two CONFIG macros:
- CONFIG_SPL_NAND_DENALI
Define to enable this driver.
- CONFIG_SYS_NAND_BAD_BLOCK_POS
Specify
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
The driver for on-chip UART used on Panasonic UniPhier platform.
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
These are used by Panasonic UniPhier SoC family.
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
---
Changes in v6:
- Increase malloc area from 1MB to 4MB
- Improve comments in header files
- Add SPDX to
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
Acked-by: Albert ARIBAUD albert.u.b...@aribaud.net
Acked-by: Michal Simek mon...@monstr.eu
---
Changes in v6: None
Changes in v5:
- Add u-boot-uniphier repo info
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Rebase
Applied to u-boot-uniphier/master.
--
Best
2014-10-03 19:21 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:
This commit allows to build Panasonic UniPhier family:
PH1-LD4, PH1-Pro4, PH1-sLD8
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
---
Changes in v6: None
Changes in v5:
- Add Denali config options to
Hi Albert,
The following changes since commit be9f643ae6aa9044c60fe80e3a2c10be8371c692:
Merge branch 'for-tom' of git://git.denx.de/u-boot-dm (2014-09-26
20:10:48 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-uniphier.git master
for you to fetch changes up to
68 matches
Mail list logo