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 6d
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> This commit allows to build Panasonic UniPhier family:
> PH1-LD4, PH1-Pro4, PH1-sLD8
>
> Signed-off-by: Masahiro Yamada
> ---
>
> Changes in v6: None
> Changes in v5:
> - Add Denali config options to defconfigs
>
> Changes in v4: None
> Changes in v
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> Signed-off-by: Masahiro Yamada
> ---
>
> 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 Regards
Masahiro Yamada
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> Signed-off-by: Masahiro Yamada
> Acked-by: Albert ARIBAUD
> Acked-by: Michal Simek
> ---
>
> Changes in v6: None
> Changes in v5:
> - Add u-boot-uniphier repo info
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2:
> - Newly added
>
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> These are used by Panasonic UniPhier SoC family.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> Changes in v6:
> - Increase malloc area from 1MB to 4MB
> - Improve comments in header files
> - Add SPDX to umc-regs.h
>
> Changes in v5:
> - Move D
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> The driver for on-chip UART used on Panasonic UniPhier platform.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> Changes in v6: None
> Changes in v5: None
> Changes in v4: None
> Changes in v3: None
> Changes in v2:
> - Use "const unsigned int mode_x_d
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> 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 bad block mark posit
2014-10-03 19:21 GMT+09:00 Masahiro Yamada :
> 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 enable/disable them vi
On Sat, Oct 4, 2014 at 4:48 PM, Ian Campbell 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
> ---
> arch/arm/Kconfig
Hi,
On Sun, Oct 5, 2014 at 1:29 AM, Simon Glass 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
> ---
>
> drivers/gpio/sunxi_gpio.
Hi Stefano,
On Tue, Sep 30, 2014 at 2:05 PM, Fabio Estevam
wrote:
> PERST_GPIO and POWER_GPIO are currently swapped.
>
> Fix the GPIO assignments as per the board schematics.
>
> Signed-off-by: Fabio Estevam
Would it be possible to get this one into 2014.10?
Thanks
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
---
drivers/gpio/mxc_gpio.c | 116
1 file changed, 116 deletions(-)
diff --git a/drivers
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
---
drivers/gpio/sandbox.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/sandbox.c b/d
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
---
drivers/gpio/s5p_gpio.c | 101
1 file changed, 101 deletions(-)
diff --git a/drivers
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
---
board/sunxi/ahci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/sunxi/ahci.c
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
---
drivers/gpio/omap_gpio.c | 116 +--
1 file changed, 1 insertion(+), 115 deletions(-)
diff
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
---
drivers/gpio/bcm2835_gpio.c | 89 -
1 file changed, 89 deletions(-)
diff --git a/drivers/
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
---
common/cmd_gpio.c | 57 +-
drivers/gpio/gpio-uclass.c | 39 +++
include/asm-generic/gpio.h | 18 +++
3 file
Add a driver for the simple-bus nodes, which allows devices within these
nodes to be bound.
Signed-off-by: Simon Glass
---
drivers/core/Makefile | 1 +
drivers/core/simple-bus.c | 33 +
include/dm/uclass-id.h| 1 +
3 files changed, 35 insertions(+)
cre
This is no longer used so drop it.
Signed-off-by: Simon Glass
---
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
+++ b/include/asm-generic/gpio
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
---
drivers/gpio/sandbox.c | 82 --
1 file changed, 82 deletions(-)
diff --git a/drivers/
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
---
drivers/gpio/tegra_gpio.c | 110 --
1 file changed, 110 deletions(-)
diff --git a/drivers
Add tests for gpio_requestf() and for memory leaks.
Signed-off-by: Simon Glass
---
doc/driver-model/README.txt | 5 -
test/dm/gpio.c | 38 ++
2 files changed, 42 insertions(+), 1 deletion(-)
diff --git a/doc/driver-model/README.txt b/doc/dr
Add a helper which permits a printf()-style format string for the requester
string.
Signed-off-by: Simon Glass
---
doc/driver-model/README.txt | 3 ++-
drivers/gpio/gpio-uclass.c | 21 +
include/asm-generic/gpio.h | 10 ++
test/dm/gpio.c | 18
This method frees memory so we must make sure to implement it.
Signed-off-by: Simon Glass
---
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
--- a/drivers/gpio/sandbox.c
+++ b/drive
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
---
drivers/gpio/sunxi_gpio.c | 170 ++
include/configs
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
---
arch/arm/dts/sun7i-a20-pcduino3.dts | 173 ++
arch/arm/dts/sun7i-a20
Add helpers to the uclass to allow finding out the pin function.
Signed-off-by: Simon Glass
---
drivers/gpio/gpio-uclass.c | 47 ++
include/asm-generic/gpio.h | 34 -
2 files changed, 80 insertions(+), 1 deletion(-)
di
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
---
arch/arm/dts/sun7i-a20-pcduino3.dts | 4
drivers/serial/Makefile
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
---
arch/arm/cpu/armv7/sunxi/pinmux.c | 32 +
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
---
include/dm/test.h | 23 +++
test/
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 abo
Now that gpio_request() is handled by the uclass, updates the tests
accordingly.
Signed-off-by: Simon Glass
---
doc/driver-model/README.txt | 25 +++--
test/dm/gpio.c | 55 +++--
2 files changed, 56 insertions(+), 24 deletions
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
---
Makefile | 3 ++-
arch/ar
Hi Masahiro,
On 4 October 2014 06:57, Masahiro YAMADA wrote:
>
> Hi Simon,
>
>
>
> 2014-10-03 22:51 GMT+09:00 Simon Glass :
> > Hi Masahiro,
> >
> > On 3 October 2014 07:04, Masahiro Yamada wrote:
> >> Simon,
> >>
> >>
> >>
> >> I am totally being confused.
> >>
> >>
> >>
> >> As far as I looked
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 th
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:
>
Hi
Il 02/ott/2014 23:07 "Albert ARIBAUD" ha
scritto:
>
> Hi Detlev,
>
> On Thu, 02 Oct 2014 19:09:07 +0200, Detlev Zundel 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 see such a lot of
> > hig
Hi Detlev,
2014-10-03 2:09 GMT+09:00 Detlev Zundel :
> 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 note t
Hi,
On Sat, Oct 4, 2014 at 11:02 PM, Julian Calaby wrote:
> Hi,
>
> On Sat, Oct 4, 2014 at 10:37 PM, Chen-Yu Tsai wrote:
>> 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. Thi
Hi Simon,
2014-10-03 22:51 GMT+09:00 Simon Glass :
> Hi Masahiro,
>
> On 3 October 2014 07:04, Masahiro Yamada 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
>>
>> if (d
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
---
arch/arm/cpu/armv7/sunxi/board.c | 15 +++
arch/arm/include/asm/arch-sunxi/watchdog.h | 20
2 fil
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
---
arch/a
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
---
arch/arm/include/asm/arch-sunxi/timer.h
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 t
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 v
Hi Stefan,
On Thu, 02 Oct 2014 09:09:48 +0200, Stefan Agner
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
Hi Alison,
On Mon, 29 Sep 2014 10:53:11 +0800, Alison Wang
wrote:
> From: Jason Jin
>
> 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
and some associated boards, but the sub
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.
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
---
arch/arm/Kconfig | 13 ++---
board/sunxi/Kconfig | 2
No need to be so repetitive.
Signed-off-by: Ian Campbell
---
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
--- a/board/sunxi/Kconfig
+++ b/board/sunx
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 _config
echo CONFIG_SPL_FEL=y >> .config
echo CO
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
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
> CONFIG_SYS_EXTRA_OPTIONS="MELE_M3,AXP
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,
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
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:
> Signed-off-by: Hans de Goede
> ---
> board/sunxi/Kconfig | 27 +++
> drivers/mmc/sunxi_mmc.c | 20
> 2 files changed, 47 insertions(+)
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kco
On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote:
> Signed-off-by: Hans de Goede
drivers/gpio/sunxi_gpio.c already has sunxi_gpio_input exported via the
standard gpio_get_value name.
Ian.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://list
Signed-off-by: Vagrant Cascadian
---
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
+++ b/include/config
Signed-off-by: Vagrant Cascadian
---
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
+++ b/include/config_distro_default
Signed-off-by: Vagrant Cascadian
---
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
+++ b/include/conf
Signed-off-by: Vagrant Cascadian
---
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
+++ b/include/confi
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 configu
Signed-off-by: Vagrant Cascadian
---
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 e2f7ead..b25d990 100
Signed-off-by: Vagrant Cascadian
---
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
+++ b/include/conf
Signed-off-by: Vagrant Cascadian
---
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
--- a/include/config_distro_bootcmd.h
+++ b/inclu
68 matches
Mail list logo