On Wed, May 10, 2017 at 04:19:52PM +0530, Lokesh Vutla wrote:
> As per MAINTAINERS[1] file description, 'Supported' is
> a valid status for a board. But buildman thinks 'Maintained'
> is the only valid state and complains about boards with 'Supported'
> status. Update buildman to accept
On Wed, May 10, 2017 at 04:27:07PM +0530, Sekhar Nori wrote:
> Enable time command for OMAP-L138 LCDK board.
>
> The patch was generated using savedefconfig
> method.
>
> Signed-off-by: Sekhar Nori
Reviewed-by: Tom Rini
... but do you perhaps want to be
On Wed, May 10, 2017 at 04:44:45PM +0530, Lokesh Vutla wrote:
>
>
> On Wednesday 10 May 2017 04:27 PM, Sekhar Nori wrote:
> > Enable time command for OMAP-L138 LCDK board.
> >
> > The patch was generated using savedefconfig
> > method.
> >
> > Signed-off-by: Sekhar Nori
>
>
Hi,
On 04/25/2017 04:39 PM, Philipp Tomsich wrote:
> This introduces the ability to override the environment offets from the
> device tree by setting the following nodes in '/config':
> 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
> 'u-boot,mmc-env-offset-redundant'
>
On 05/10/2017 04:30 AM, Tom Rini wrote:
hey Tom, I am not sure how to move this forward really so let me
clarify where I think we stand:
1. The linux kernel does not need the clock property in the uart
nodes (only u-boot does: serial_pl01x.c needs fixing).
2. ehci is not present in the linux
On 05/08/2017 04:02 PM, Peng Fan wrote:
> Handle vqmmc supply. Some boards have a fixed I/O voltage
> at 1.8V for emmc, so the usdhc also needs to be configured
> as 1.8V by setting VSELECT bit. The vs18_enable is the one
> that used to checking whether setting VSELECT or not in
> the driver. So
As per MAINTAINERS[1] file description, 'Supported' is
a valid status for a board. But buildman thinks 'Maintained'
is the only valid state and complains about boards with 'Supported'
status. Update buildman to accept 'Supported' as valid state.
[1]
On Wednesday 10 May 2017 04:56 PM, Tom Rini wrote:
> On Wed, May 10, 2017 at 04:44:45PM +0530, Lokesh Vutla wrote:
>>
>>
>> On Wednesday 10 May 2017 04:27 PM, Sekhar Nori wrote:
>>> Enable time command for OMAP-L138 LCDK board.
>>>
>>> The patch was generated using savedefconfig
>>> method.
>>>
On Sel, 2017-05-09 at 09:56 +0200, Marek Vasut wrote:
> On 05/09/2017 06:23 AM, Chee, Tien Fong wrote:
> >
> > On Isn, 2017-05-08 at 11:52 +0200, Marek Vasut wrote:
> > >
> > > On 05/08/2017 06:17 AM, Chee, Tien Fong wrote:
> > > >
> > > >
> > > > On Jum, 2017-05-05 at 13:09 +0200, Marek Vasut
On 05/09/2017 02:16 PM, patrice.chot...@st.com wrote:
> From: Patrice Chotard
>
> This is the generic phy driver for the picoPHY ports
> used by USB2/1.1 controllers. It is found on STiH407 SoC
> family from STMicroelectronics.
>
> Signed-off-by: Patrice Chotard
On 05/09/2017 02:16 PM, patrice.chot...@st.com wrote:
> From: Patrice Chotard
>
> Add support for on-chip ohci controller available
> on STMicrolectronics SoCs.
> Ohci support will be then available on both type A
> USB 2.0 connectors.
>
> Signed-off-by: Patrice Chotard
On 05/09/2017 02:16 PM, patrice.chot...@st.com wrote:
> From: Patrice Chotard
>
> Add support for on-chip ehci controller available
> on STMicrolectronics SoCs.
> ehci support will be then available on both type A
> USB 2.0 connectors.
>
> Signed-off-by: Patrice Chotard
On Wednesday 10 May 2017 04:56 PM, Tom Rini wrote:
> On Wed, May 10, 2017 at 04:44:45PM +0530, Lokesh Vutla wrote:
>>
>>
>> On Wednesday 10 May 2017 04:27 PM, Sekhar Nori wrote:
>>> Enable time command for OMAP-L138 LCDK board.
>>>
>>> The patch was generated using savedefconfig
>>> method.
>>>
Does anyone have any experience running the baud rate with the NS16550
serial driver at high rates (like 921600)
I know someone who is having success with this rate in Linux but not U-Boot
(from 2011).
It looks like the calc_divisor was changed to use DIV_ROUND_CLOSEST a while
ago, but the
Enable time command for OMAP-L138 LCDK board.
The patch was generated using savedefconfig
method.
Signed-off-by: Sekhar Nori
---
configs/omapl138_lcdk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
On Wednesday 10 May 2017 04:27 PM, Sekhar Nori wrote:
> Enable time command for OMAP-L138 LCDK board.
>
> The patch was generated using savedefconfig
> method.
>
> Signed-off-by: Sekhar Nori
Instead of enabling each command like this, I was about to ask to
include
This script command will be useful to update boot images in the
USB storage.
Signed-off-by: Masahiro Yamada
---
include/configs/uniphier.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index
Hi Wenyou,
On 05/10/2017 10:19 AM, Wenyou Yang wrote:
> To fix the timeout of sending the write command, enable the quirk
> SDHCI_QUIRK_WAIT_SEND_CMD.
This patch is for fixing timeout error, doesn't need to set quirk into
atmel_sdhci_init()?
Best Regards,
Jaehoon Chung
>
> Signed-off-by:
On 05/10/2017 06:09 PM, patrice.chot...@st.com wrote:
> From: Patrice Chotard
Commit message missing.
You should also break this patchset up into smaller pieces.
> Signed-off-by: Patrice Chotard
> ---
>
> v5: _ add support of new generic PHY
On 05/10/2017 06:09 PM, patrice.chot...@st.com wrote:
> From: Patrice Chotard
>
> Make this driver more generic as echi-generic
EHCI , although the typo is kinda funny .
> Signed-off-by: Patrice Chotard
> ---
>
> v5: _ add clock, reset and
Each time set_state is called, a new piece memory will
be allocated for pin_data, but not freed, this will
incur memory leak.
When error, the devm API could not free memory automatically.
So need call devm_kfree when error.
Issue reported by Coverity
Signed-off-by: Peng Fan
Hi Jaehoon,
On 2017/5/10 19:43, Jaehoon Chung wrote:
Hi Wenyou,
On 05/10/2017 10:19 AM, Wenyou Yang wrote:
To fix the timeout of sending the write command, enable the quirk
SDHCI_QUIRK_WAIT_SEND_CMD.
This patch is for fixing timeout error, doesn't need to set quirk into
atmel_sdhci_init()?
+ Marek Vasut
Best Regards,
Terry
From: Terry Zhou
Sent: 2017年5月10日 15:10
To: u-boot@lists.denx.de
Cc: Wilson Ding ; 'Stefan Roese' ; 'Simon
Glass'
Subject: USB2.0 device timeout issue.
Hi all,
This is Terry from Marvell BSP team in
On 05/10/2017 06:09 PM, patrice.chot...@st.com wrote:
> From: Patrice Chotard
>
> Add support for on-chip DWC3 controller available
> on STMicrolectronics STiH407 family SoCs.
> On B2260 board, the type AB USB connector is managed
> by a DWC3 IP. As USB3 signals are not
To fix the timeout of sending the write command, enable the quirk
SDHCI_QUIRK_WAIT_SEND_CMD.
Signed-off-by: Wenyou Yang
---
Changes in v2:
- Add missed this quirk in atmel_sdhci_init().
drivers/mmc/atmel_sdhci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Hi Simon,
2017-05-11 6:43 GMT+09:00 Tom Rini :
> On Mon, May 01, 2017 at 09:18:44AM -0600, Simon Glass wrote:
>
>> This header includes things that are needed to make driver build. Adjust
>> existing users to include that always, even if other dm/ includes are
>> present
>>
2017-05-02 0:18 GMT+09:00 Simon Glass :
> diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
> new file mode 100644
> index 00..f952c989d2
> --- /dev/null
> +++ b/include/dm/ofnode.h
> @@ -0,0 +1,100 @@
> +/*
> + * Copyright (c) 2017 Google, Inc
> + * Written by
Hi Masahiro,
On 05/09/2017 03:52 PM, Masahiro Yamada wrote:
> This driver is a counterpart of drivers/mmc/host/sdhci-cadence.c
> from Linux. Some updates for v4.12-rc1 can be imported to U-Boot.
>
> - Fix value of SDHCI_CDNS_HRS04_RDATA_SHIFT
> - Add polling for ACK bit to be sure that data
On 5/11/2017 12:52 AM, Jagan Teki wrote:
> Hi Lokesh,
>
> On Tue, May 9, 2017 at 10:03 PM, Jagan Teki wrote:
>> On Tue, May 9, 2017 at 8:54 PM, Lokesh Vutla wrote:
>>>
>>>
>>> On Tuesday 09 May 2017 08:37 PM, Jagan Teki wrote:
On Tue, May 9,
Hi Simon
2017-05-11 6:43 GMT+09:00 Tom Rini :
> On Mon, May 01, 2017 at 09:18:48AM -0600, Simon Glass wrote:
>
>> It is good practice to include common.h as the first header. This ensures
>> that required features like the DECLARE_GLOBAL_DATA_PTR macro,
>> configuration
On Wed, May 10, 2017 at 03:36:00PM -0600, Simon Glass wrote:
> Hi Tom,
>
> This adds a new firefly-rk3399 board, MIPI support for rk3399 and
> rk3288, rk818 pmic support, mkimage improvements for rockchip and a
> few other things.
>
>
> The following changes since commit
On Wed, May 10, 2017 at 09:46:03PM +0200, Daniel Schwierzeck wrote:
> Hi Tom,
>
> please pull the initial infrastructure and support for Broadcom MIPS SoC's.
>
> Travis CI: https://travis-ci.org/danielschwierzeck/u-boot/builds/230779561
>
>
>
> The following changes since commit
Add SPDX license
Signed-off-by: Peng Fan
Cc: Jaehoon Chung
---
drivers/power/regulator/pfuze100.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/power/regulator/pfuze100.c
b/drivers/power/regulator/pfuze100.c
index
Fix unsigned compared against 0.
Signed-off-by: Peng Fan
Cc: Jaehoon Chung
---
drivers/power/regulator/pfuze100.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/power/regulator/pfuze100.c
On Rab, 2017-05-10 at 16:28 +0800, Chee, Tien Fong wrote:
> >
> On Sel, 2017-05-09 at 09:58 +0200, Marek Vasut wrote:
> >
> > On 05/09/2017 07:02 AM, Chee, Tien Fong wrote:
> > >
> > >
> > > On Isn, 2017-05-08 at 11:57 +0200, Marek Vasut wrote:
> > > >
> > > >
> > > > On 05/08/2017 05:02
Use vs18_enable, and drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT.
Signed-off-by: Peng Fan
Cc: Otavio Salvador
Cc: Stefano Babic
Cc: Jaehoon Chung
---
V3: none
V2: none
board/warp/warp.c | 2 +-
Handle vqmmc supply. Some boards have a fixed I/O voltage
at 1.8V for emmc, so the usdhc also needs to be configured
as 1.8V by setting VSELECT bit. The vs18_enable is the one
that used to checking whether setting VSELECT or not in
the driver. So if vqmmc supply is 1.8V, set vs18_enable,
the
CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT is not the correct method
to set I/O to 1.8. To boards that does not support vqmmc-supply,
use vs18_enable in fsl_esdhc_cfg. If regulator is supported,
use fixed 1.8V regulator for vqmmc-supply.
Signed-off-by: Peng Fan
Cc: Jaehoon Chung
Hi Jaehoon,
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Wednesday, May 10, 2017 7:33 PM
> To: Peng Fan ; sba...@denx.de
> Cc: van.free...@gmail.com; u-boot@lists.denx.de; york sun
>
> Subject: Re: [PATCH V2 2/4]
When using eMMC with 1.8V I/O, the VSELECT bit need to be set in
the USDHC controller when init.
This patch adds a parameter "vs18_enable" in fsl_esdhc_cfg
structure and priv data, so each controller can have different
settings.
We could not use CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT, it has problem
+Simon
On Wed, May 10, 2017 at 6:15 PM, Jeroen Roovers wrote:
> Apologies, I was using the wrong sender address.
>
>
> -- Forwarded message --
> From: Jeroen Roovers
> Date: 10 May 2017 at 12:12
> Subject:
Hi Simon,
On 11/05/2017 00:03, Simon Glass wrote:
Hi Angelo,
On 10 May 2017 at 15:58, Angelo Dureghello wrote:
Coldfire arch is not happy with timer_init since interrupt handlers
are still not set at that stage, and the boot hangs silently.
Signed-off-by: Angelo Dureghello
On most architectures we do not call print_std_bdinfo() so mark it with
__maybe_unused. Reported by clang-3.8.
Signed-off-by: Tom Rini
---
cmd/bdinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index
The function tpm_xfer returns int so make 'err' be int rather than
uint32_t so that we can catch an error condition. Reported by
clang-3.8.
Signed-off-by: Tom Rini
---
lib/tpm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/tpm.c b/lib/tpm.c
Hi Lokesh,
On Tue, May 9, 2017 at 10:03 PM, Jagan Teki wrote:
> On Tue, May 9, 2017 at 8:54 PM, Lokesh Vutla wrote:
>>
>>
>> On Tuesday 09 May 2017 08:37 PM, Jagan Teki wrote:
>>> On Tue, May 9, 2017 at 7:49 PM, Lokesh Vutla
Hello Tom,
right, a bit outdated knowledge, but at least more then two years ago,
working around this warning would always lead to code increase and
I can't think of a reason why the code can actually fail.
Suppressing the warning seems fine with me.
Regards,
Jeroen
On 05/10/2017 09:26 PM,
On Fri, Feb 10, 2017 at 05:28:05PM +0100, Paolo Pisati wrote:
> Signed-off-by: Paolo Pisati
After some fiddling of the Kconfig parts, applied to u-boot/master,
thanks!
--
Tom
signature.asc
Description: Digital signature
___
On Wed, Apr 05, 2017 at 04:23:41PM -0600, Simon Glass wrote:
> Add a function to set the video parameters to the msg handler and remove
> it from the video driver.
>
> Signed-off-by: Simon Glass
> Acked-by: Anatolij Gustschin
Applied to u-boot/master, thanks!
On Mon, Apr 17, 2017 at 08:09:41AM -0500, Adam Ford wrote:
> Many OMAP3 boards use a TWL4030 PMIC. This brings in the related
> device tree information for common TWL4030 and TWL4030 with OMAP3.
>
> Signed-off-by: Adam Ford
> Reviewed-by: Lokesh Vutla
>
On Wed, Apr 05, 2017 at 04:23:36PM -0600, Simon Glass wrote:
> The bcm283x chips provide a way for the ARM core to communicate with the
> graphics processor, which is in charge of many things. This is handled by
> way of a message prototcol.
>
> At present the code for sending message (and
On Mon, Apr 17, 2017 at 08:09:38AM -0500, Adam Ford wrote:
> Add device tree support to allow for CONFIG_OF_CONTROL in OMAP3 boards.
>
> Signed-off-by: Adam Ford
> Reviewed-by: Lokesh Vutla
>
> diff --git a/arch/arm/dts/omap3.dtsi
On Mon, Apr 17, 2017 at 08:09:39AM -0500, Adam Ford wrote:
> Add device tree support to allow for CONFIG_OF_CONTROL in OMAP3630 boards.
> DM3730 can use this same device tree.
>
> Signed-off-by: Adam Ford
> Reviewed-by: Lokesh Vutla
>
> diff --git
On Wed, Apr 26, 2017 at 01:41:31PM -0500, Adam Ford wrote:
> As requested, I added the CONFIG_TWL4030_POWER to Kconfig and made it
> the implied default when selecting OMAP34XX as a platform.
>
> Signed-off-by: Adam Ford
> Reviewed-by: Simon Glass
>
>
Am 03.05.2017 um 15:10 schrieb Álvaro Fernández Rojas:
> Broadcom MIPS SoCs have reset controllers which supports asserting and
> deasserting each peripheral controller.
> Checking reset status is not supported, which is why delays are used.
>
> Álvaro Fernández Rojas (5):
> dm: reset: add
(this is series 2 of 3 for live tree support - the final series will
fully convert a real board and provide size comparisons)
So far U-Boot uses a 'flat' device tree, which means that it is decoded
on the fly as needed. This uses the libfdt library and avoids needing
extra memory for additional
It is common to read a device-tree property from the node associated with
a device. Add convenience functions to do this so that drivers do not need
to deal with accessing the ofnode from the device.
These functions all start with 'dev_read_' to provide consistent naming
for all functions which
Update the usb uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/usb/host/usb-uclass.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c
Update the sandbox phy driver to support livetree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/phy/sandbox-phy.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/phy/sandbox-phy.c b/drivers/phy/sandbox-phy.c
index
Am 07.05.2017 um 20:28 schrieb Álvaro Fernández Rojas:
> BCM6328 SoCs have power domain controllers which supports enabling and
> disabling power for the different peripherals.
>
> Álvaro Fernández Rojas (4):
> dm: power: domain: add BCM6328 power domain driver
> mips: bmips: add
When a live tree is being used we need to record the node that was used to
create the device. Update device_bind_with_driver_data() to support this.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/device.c| 18 --
drivers/core/lists.c
This function converts the flat device tree into a hierarchical one with
C structures and pointers. This is easier to access.
Signed-off-by: Simon Glass
---
Changes in v2: None
include/of_live.h | 24
lib/Makefile | 1 +
lib/of_live.c | 333
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/power/pmic/i2c_pmic_emul.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/power/pmic/i2c_pmic_emul.c
Move the main part of the GPIO request function into a separate function
so that it can be used by the live tree function when added. Update the
xlate method to use a node reference.
Update all GPIO drivers to handle the modified xlate() method.
Signed-off-by: Simon Glass
---
The of_ prefix conflicts with the livetree version of this function.
Rename it to avoid problems when we add livetree support.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/device.c | 2 +-
drivers/firmware/psci.c | 4 ++--
Update the regulator uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/power/regulator/regulator-uclass.c | 39 --
1 file changed, 16 insertions(+), 23 deletions(-)
diff --git
Modify regmap to support livetree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/regmap.c | 37 ++---
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c
index
This introduces the ability to override the environment offets from the
device tree by setting the following nodes in '/config':
'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
'u-boot,mmc-env-offset-redundant'
- overrides
Adding documentation on the new config properties:
'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
'u-boot,mmc-env-offset-redundant'
- overrides CONFIG_ENV_OFFSET_REDUND
Signed-off-by: Philipp Tomsich
---
Switch Clearfog to the generic distro defaults. This has been taken
from a Debian mailing list thread:
https://lists.debian.org/debian-boot/2016/10/msg00026.html
Signed-off-by: Patrick Wildt
---
configs/clearfog_defconfig | 10 +-
include/configs/clearfog.h | 48
Using u-boot-2017.05 on i.MX6UL we ran into following problem:
Initially U-Boot could be started normally.
If we added one random command in configuration, the newly generated
image hung at startup (last output was DRAM: 256 MiB).
We tracked this down to a data abort within relocation
Running a new test should reset the sandbox state to avoid tests
interferring with each other. Move the existing state-reset code into a
function so it can be used from tests.
Also update the code to reset the SPI devices and adjust the test code to
call it.
Signed-off-by: Simon Glass
Update the pmic uclass and all pmics to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/power/pmic/act8846.c | 8 +++-
drivers/power/pmic/lp873x.c | 12 +---
drivers/power/pmic/max77686.c| 8 +++-
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mtd/spi/sandbox.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c
index
Show the filename of the test being run. Skip the path and show just the
base name.
Signed-off-by: Simon Glass
---
Changes in v2: None
include/test/test.h | 2 ++
test/dm/test-main.c | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/test/test.h
It is useful to run the driver model tests with both livetree and flat
tree in case something is different between the two. Add this feature to
the test runner.
Signed-off-by: Simon Glass
---
Changes in v2: None
test/dm/test-main.c | 23 ---
1 file
Hi Stefano, Jagan,
On Tue, May 9, 2017 at 5:23 AM, Stefano Babic wrote:
> Hi Jagan, Vanessa,
>
> On 08/05/2017 21:49, Jagan Teki wrote:
> > Though the code look good and similar approach of existing boards, I'm
> > little concern of continue the same legacy and w/o trying new
Apologies, I was using the wrong sender address.
-- Forwarded message --
From: Jeroen Roovers
Date: 10 May 2017 at 12:12
Subject: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu':
(.text.checkcpu+0x0): multiple definition of `checkcpu'
Add a Kconfig option to enable a live device tree, built at run time from
the flat tree. Also add structure definitions and a root node.
Signed-off-by: Simon Glass
---
Changes in v2: None
dts/Kconfig | 11
include/asm-generic/global_data.h | 3
Adjust the order to make it clear that *devp is set to NULL by default.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/lists.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/core/lists.c b/drivers/core/lists.c
index
This function does not change the device tree so adjust it to use const
for this parameter.
Signed-off-by: Simon Glass
---
Changes in v2: None
common/fdt_support.c | 2 +-
include/fdt_support.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
Add functions to add addresses in the device tree using ofnode references.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/ofnode.c | 27 +++
include/dm/ofnode.h | 21 +
2 files changed, 48 insertions(+)
diff
Add a function which looks up a device by its node (either in live tree
or flat tree).
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/uclass.c| 37 +
include/dm/uclass-internal.h | 16
Adjust this function to use an ofnode instead of an offset, so it can be
used with livetree. This involves updating all callers.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/lists.c | 12 ++--
drivers/core/root.c| 2 +-
Update the sandbox flash and hub USB emulators to support a live device
tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/usb/emul/sandbox_flash.c | 4 +---
drivers/usb/emul/sandbox_hub.c | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git
Use the new dev_read...() functions to access the device tree, so that a
live tree can be used.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/gpio/sandbox.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/gpio/sandbox.c
When starting up driver model with a live tree we need to scan the tree
for devices. Add code to handle this.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/root.c | 58 +
include/dm/root.h | 3 ++-
Hi Masahiro,
On 05/09/2017 08:31 PM, Masahiro Yamada wrote:
> Masahiro Yamada (4):
> sandbox_noblk_defconfig: disable CONFIG_GENERIC_MMC
> blanche_defconfig: enable CONFIG_MMC
> mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC
> mmc: descend into drivers/mmc only when CONFIG_MMC is enabled
Am 03.05.2017 um 15:07 schrieb Álvaro Fernández Rojas:
> Broadcom MIPS SoCs have one or two GPIO banks, depending on the number of
> gpios present:
> BCM6345 => 16 GPIOs / 1 bank
> BCM6328 => 32 GPIOs / 1 bank
> BCM6358 => 40 GPIOs / 2 banks
> BCM63268 => 52 GPIOs / 2 banks
>
> typedef struct
Am 03.05.2017 um 15:09 schrieb Álvaro Fernández Rojas:
> BCM6358 supports controlling serial LEDs (74x164) both by using spi-gpio or
> its LEDs controller.
>
> Álvaro Fernández Rojas (3):
> dm: led: add BCM6358 led driver
> mips: bmips: add bcm6358-led driver support for BCM6358
> mips:
Some functions deal with structured data rather than simple data types.
It makes sense to have these in their own file. For now this just has a
function to read a flashmap entry. Move the data types also.
Signed-off-by: Simon Glass
---
Changes in v2: None
Since U-Boot supports both a live tree and a flat tree, we need an easy
way to access the tree without worrying about which is currently active.
To support this, U-Boot has the concept of an ofnode, which can refer
either to a live tree node or a flat tree node.
For the live tree, the reference
Add functions to access addresses in the device tree. These are brought
in from Linux 4.10.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/Makefile | 2 +-
drivers/core/of_addr.c | 359 +
Hi Bin,
On 10.05.2017 02:47, Bin Meng wrote:
On Tue, May 9, 2017 at 7:20 PM, Stefan Roese wrote:
(Added Simon to Cc)
Really added Simon :-)
I did in my mail as well. Sometimes the ML removes recipients from
the list as it seems.
On 09.05.2017 13:14, Jagan Teki wrote:
Am 07.05.2017 um 20:10 schrieb Álvaro Fernández Rojas:
> BCM6328 supports controlling LEDs both by using the GPIO controller and the
> LED controller. However, LED controller allows HW blinking and supports serial
> LEDs.
>
> v2: Introduce changes suggested by Simon Glass
>
> Álvaro Fernández
Am 07.05.2017 um 20:13 schrieb Álvaro Fernández Rojas:
> Broadcom MIPS SoCs have gated clock controllers which only allow enabling and
> disabling each peripheral clock.
> Changing clock rates is not possible on these SoCs.
>
> v2: Introduce changes suggested by Simon Glass
>
> Álvaro
In linux v4.9 this returns a value. This saves checking the warning
condition twice in some code.
Update the U-Boot version to do this also.
Signed-off-by: Simon Glass
---
Changes in v2: None
include/linux/compat.h | 8 ++--
1 file changed, 6 insertions(+), 2
If enabled, build a live device tree after relocation. This can then be
used by driver model.
Signed-off-by: Simon Glass
---
Changes in v2: None
common/board_r.c | 12
1 file changed, 12 insertions(+)
diff --git a/common/board_r.c b/common/board_r.c
index
Add a basic assortment of functions to access the live device tree. These
come from Linux v4.9 and are modified for U-Boot to the minimum extent
possible. While these functions are now very stable in Linux, it will be
possible to merge in fixes if needed.
Signed-off-by: Simon Glass
This is not needed. Drop it.
Signed-off-by: Simon Glass
---
Changes in v2: None
include/asm-generic/gpio.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index b073b39138..d78491dfc2 100644
---
Add a sandbox board to test the non-livetree build (i.e. with
CONFIG_OF_FLAT disabled). This increases our build and test coverage.
Signed-off-by: Simon Glass
---
Changes in v2: None
board/sandbox/MAINTAINERS | 7 ++
configs/sandbox_flattree_defconfig | 179
1 - 100 of 238 matches
Mail list logo