On 05/18/2017 08:26 PM, Rush, Jason A. wrote:
> Add the 'cdns,trigger-address' property to the cadence QSPI device
> node for Altera SoC devices.
>
> Signed-off-by: Jason A. Rush
+CC Dinh, is that address correct ? I think there was some discussion.
Jason, I'd rather prefer if you sent this as
Hi Bin,
On Tue, 16 May 2017 22:39:17 +0800
Bin Meng bmeng...@gmail.com wrote:
> Hi Anatolij,
>
> On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote:
> > From: Markus Valentin
> >
>
> Can you add a simple sentence for this commit?
yes, will do in next version.
...
> > +CONFIG_BAYTRA
Hi Bin,
On Tue, 16 May 2017 22:39:23 +0800
Bin Meng bmeng...@gmail.com wrote:
> Hi Anatolij,
>
> On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote:
> > From: Markus Valentin
> >
> > Introduce a new Kconfig variable for secure boot on baytrail based
> > platforms. If this variable is se
> -Original Message-
> From: york sun
> Sent: Friday, May 19, 2017 12:04 AM
> To: Bogdan Purcareata ; Prabhakar Kushwaha
> ; u-boot@lists.denx.de
> Cc: Heinz Wrobel
> Subject: Re: [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in
> DPL
>
> On 05/18/2017 04:19 AM, Bogdan Purcarea
From: Tien Fong Chee
Move FPGA manager driver which is Gen5 specific code from arch/arm/
into FPGA driver at driver/fpga/. No functional change.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/Makefile | 1 -
arch/arm/mach-socfpga/fpga_manager.c | 78
From: Tien Fong Chee
Add FPGA driver support for Arria 10.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 +
.../include/mach/fpga_manager_arria10.h| 100 +
drivers/fpga/Makefile | 1 +
drivers/fpga/socf
From: Tien Fong Chee
Enable FPGA driver build for SPL. FPGA driver is needed for SPL
to configure and getting DDR up before loading U-boot into DDR and
booting from there.
Signed-off-by: Tien Fong Chee
---
drivers/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/Makefile b/
From: Tien Fong Chee
Move FPGA driver which is Gen5 specific code into Gen5 driver file
and keeping common FPGA driver er intact. All the changes are still keeping
in driver/fpga/ and no functional change. Subsequent patch would move
FPGA manager driver from arch/arm into driver/fpga/ .
Signed-o
From: Tien Fong Chee
Remove parameter from socfpga_bridges_reset(), and keeping this function
for single purpose which is just triggering reset on bridges.
socfpga_reset_deassert_bridges_handoff() can be called for releasing reset
on any bridges based on the bridge setting defined in fdt.
Signed
From: Tien Fong Chee
This is the 4th version of patchset to adds support for Intel Arria 10 SoC FPGA
driver. This version mainly resolved comments from Ley Foon and Dinh in [v3].
This series is working on top of u-boot-socfpga-next branch
http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog
Update this driver and key_matrix to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/input/cros_ec_keyb.c | 24
drivers/input/key_matrix.c | 19 +--
drivers/input/tegra-kbc.c| 3 +--
incl
This PMIC driver (power and GPIO) is used by the sandbox SPMI tests.
Update the drivers to support a live device tree so that the tests pass.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/gpio/pm8916_gpio.c | 8 +++-
drivers/power/pmic/pm8916.c | 2 +-
2 f
Update the clk uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/clk/clk-uclass.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c
index
This is not needed in this driver. Drop it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/rtc/i2c_rtc_emul.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/i2c_rtc_emul.c b/drivers/rtc/i2c_rtc_emul.c
index 20827fdff1..0e06c97367 100644
--- a/dri
Update the fixed-rate clock driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/clk/clk_fixed_rate.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_ra
Update the SPI flash uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mtd/spi/spi_flash.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
ind
Add support for requesting GPIOs with a live device tree.
This involves adjusting the function signature for the legacy function
gpio_request_by_name_nodev(), so fix up all callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
board/qualcomm/dragonboard410c/dragonboa
Update the reset domain uclass to support livetree. Fix the xlate() method
which has no callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/reset/reset-uclass.c | 21 ++---
include/reset-uclass.h | 4 ++--
2 files changed, 12 insertion
Update the sandbox flash and hub USB emulators to support a live device
tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
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
Update the phy uclass to support livetree. Fix the xlate() method
which has no callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/phy/phy-uclass.c | 21 +
include/generic-phy.h| 3 +--
2 files changed, 10 insertions(+), 14 deletions
Update the mmc uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mmc/mmc-uclass.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
index 91f6fc5753..994d2
Update the power domain uclass to support livetree. Fix the xlate() method
which has no callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/domain/power-domain-uclass.c | 19 ---
include/power-domain-uclass.h | 2 +-
2 fil
Update the usb uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
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
in
Some tests require either livetree or flat tree. Add flags to allow the
tests to specify this. Adjust the test runner to run with livetree (if
supported) and then flat tree.
Some video tests are quite slow and running on flat tree adds little extra
test value, so run these on livetree only.
Signe
We cannot run this test with livetree since it uses device tree offsets.
Mark it as flat tree only.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/test-fdt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/dm/test-fdt.c b/test/dm/test-
Update this driver so that it works with livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/misc/i2c_eeprom_emul.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/misc/i2c_eeprom_emul.c b/drivers/misc/i2c_eeprom_emul.c
in
Update the sandbox phy driver to support livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
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 9ad820c24c..867c
This updates sandbox to use a live device tree. This means that after
relocation (from board_init_r() onwards) it no-longer uses flat device
tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Rewrite based on testing and refining the v1 series
- Convert various subsystems
This prints out the wrong pointers. Fix it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/misc/cros_ec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c
index 3d449b2a55..e2027ea5d2 100644
--
Update the SPI uclass to support a live device tree. Also adjust
spi_slave_ofdata_to_platdata() to accept a device instead of a blob and
offset.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/spi/spi-uclass.c | 31 ++-
include/spi.h
The standard sandbox board cannot run the of-platdata test since it needs
SPL. Also, we should test the flat tree version of sandbox.
Add these tests to the default test script.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/run | 8 +++-
1 file changed, 7 ins
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/sysreset/sysreset_sandbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sysreset/sysreset_sandbox.c
b/drivers/sysreset/sysreset_sand
Convert this driver to support the live device tree and remove the old
fdtdec support.
The keyboard is not yet converted.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/misc/cros_ec.c | 33 ++---
drivers/misc/cros_ec_sandbox.
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 v3: None
Changes in v2: None
drivers/core/uclass.c| 37 +
include/dm/uclass-internal.h | 18 ++
include/d
Show the filename of the test being run. Skip the path and show just the
base name.
Signed-off-by: Simon Glass
---
Changes in v3: None
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
Update the PCI uclass to support livetree. This mostly involves fixing
the address decoding from the device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/pci/pci-uclass.c | 26 --
1 file changed, 12 insertions(+), 14 deletions(-)
This is not needed in this driver. Drop it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/i2c/sandbox_i2c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/sandbox_i2c.c b/drivers/i2c/sandbox_i2c.c
index 4696a1ae62..f5978fda29 100644
--- a/driver
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 v3: None
Changes in v2: None
drivers/gpio/sandbox.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/gpio/sandbox.c b/dr
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec
variant. This will allow drivers to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/clk/at91/pmc.c| 2 +-
drivers/clk/at91/pmc.h| 2 +-
drivers/clk/clk-
Add some definitions and helpers for livetree in the main of.h header
file. These include:
- reading multi-cell integers
- default number of address/size cells
- functions for comparing names
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/ofnode.c | 4 ++-
Update the adc uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/adc/adc-uclass.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/adc/adc-uclass.c b/drivers/adc/adc-uclass.c
index 3e28
These two functions have an of_ prefix which conflicts with naming used
in of_addr. Rename them:
fdt_read_number
fdt_support_bus_default_count_cells
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 4 ++--
arch/arm/mach
Update the i2c uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/i2c/i2c-uclass.c | 28 +---
include/i2c.h| 3 +--
2 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/drivers/i2
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
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
b/drivers/power/pmic/i2c_pmi
Hi Kever,
Ahh, yup! You're totally right! I didn't see Heiko's patch earlier.
My mistake.
Cheers,
Alex
On 18 May 2017 12:38 PM, "Kever Yang" wrote:
> Hi Alex,
>
>
> Thanks for your patch, but this patch is just the same with the one from
> Heiko[0], right?
>
>
> Thanks,
>
> - Kever
>
> [0] ht
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 v3: None
Changes in v2: None
board/sandbox/MAINTAINERS | 7 ++
configs/sandbox_flattree_defconfig | 179 +
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 v3: None
Changes in v2: None
drivers/core/root.c | 58 +
include/dm/root.h | 3 ++-
tes
Adjust this function to us 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 v3: None
Changes in v2: None
drivers/clk/at91/pmc.c | 2 +-
drivers/core/lists.c | 15 ++-
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 v3: None
Changes in v2: None
test/dm/test-main.c | 23 ---
1 file chang
Line up this backslash with all the others.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/test/ut.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/test/ut.h b/include/test/ut.h
index 85434d785a..d176df58c7 100644
--- a/include/test/
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/regulator/fixed.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulat
Add an implementation of strcspn() which returns the number of initial
characters that do not match any in a rejection list.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/linux/string.h | 15 +++
lib/string.c | 24
Update the regulator uclass to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/regulator/regulator-uclass.c | 39 --
1 file changed, 16 insertions(+), 23 deletions(-)
diff --git a/drivers/power/regula
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 v3: None
Changes in v2: None
drivers/core/Makef
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
---
Changes in v3: Non
Add functions to access addresses in the device tree. These are brought
in from Linux 4.10.
Also fix up the header guard for fdtaddr.h to avoid confusion.
Signed-off-by: Simon Glass
---
Changes in v3:
- Fix up the fdtaddr.h header guard to avoid conflicts
Changes in v2: None
drivers/core/Mak
Update the pmic uclass and all pmics to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/power/pmic/act8846.c | 8 +++-
drivers/power/pmic/lp873x.c | 12 +---
drivers/power/pmic/max77686.c| 8 +++-
drivers
Modify regmap to support livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
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 7f21de
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
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 a53f4ebc68..1
Use ut_asserteq() to test equality since this gives a better error message
on failure. Also make a few of the tests more specific.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/phy.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --
Update the mailbox uclass to support livetree. Fix the xlate() method
in all callers.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mailbox/mailbox-uclass.c | 20
drivers/mailbox/tegra-hsp.c | 2 +-
include/mailbox-uclass.h |
We cannot access the device tree via an offset when running in livetree
mode. Separate out that part of the bus' children tests and mark it as
for the flat tree only.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/bus.c | 16 +++-
1 file changed, 15
Modify simple-bus to support livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/simple-bus.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index a300217d39..14803e32b1 10064
This functions works like strchr() but returns the end of the string if
the character is not found. Add an implementation of this.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/linux/string.h | 13 +
lib/string.c | 8
2 files cha
We should not be including a PMIC header file in the board config. Move it
to a C file.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to move pmic header out of config file
Changes in v2: None
board/samsung/common/misc.c | 1 +
include/configs/trats2.h| 1 -
2 files change
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 v3: None
Changes in v2: None
drivers/core/lists.c | 12 ++--
drivers/core/root.c| 2 +-
driv
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 v3: None
Changes in v2: None
drivers/core/device.c| 18 --
drivers/core/lists.c
This is not needed. Drop it.
Signed-off-by: Simon Glass
---
Changes in v3: None
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
--- a/include/asm-generi
Add functions to add addresses in the device tree using ofnode references.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/ofnode.c | 27 +++
include/dm/ofnode.h | 23 ++-
2 files changed, 49 insertions(+), 1 del
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 re
Adjust this function to work with livetree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/uclass.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c
index 630b2e7336..21dc696da3 100644
--
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
---
Chang
This function does not change the device tree so adjust it to use const
for this parameter.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/fdt_support.c | 2 +-
include/fdt_support.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/f
When the live tree is supported some functions need to change a little.
Add an implementation which is used when not inlining these functions.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/Makefile | 3 +
drivers/core/read.c | 140 +
We want to run the same test on flat and live trees. In preparation for
this, create a new function which handles running a test.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/test-main.c | 56 ++---
1 file change
If enabled, build a live device tree after relocation. This can then be
used by driver model.
Signed-off-by: Simon Glass
---
Changes in v3: None
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 28f3
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 v3: None
Changes in v2: None
dts/Kconfig | 11
include/asm-generic/global_data.h | 3
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
---
Changes i
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 v3: None
Changes in v2: None
include/of_live.h | 24
lib/Makefile | 1 +
lib/of_live.c | 333
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 v3: None
Changes in v2: None
drivers/core/device.c | 2 +-
drivers/firmware/psci.c | 4 ++--
drivers/mm
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 co
Adjust the order to make it clear that *devp is set to NULL by default.
Signed-off-by: Simon Glass
---
Changes in v3: None
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 23b6ba78
(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 ta
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 v3: None
Changes in v2: None
include/linux/compat.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions
On Thursday 18 May 2017 06:31 PM, Sam Protsenko wrote:
> One can obtain those variables using next commands:
>
> $ fastboot getvar cpu
> $ fastboot getvar secure
> $ fastboot getvar board_rev
> $ fastboot getvar userdata_size
>
> Those variables are needed for fastboot.sh script
On Thursday 18 May 2017 06:31 PM, Sam Protsenko wrote:
> This patch reuses new option, which allows us to expose variables
> from environment to "fastboot getvar" command. Those variables must be
> of "fastboot.%s" format.
>
> Signed-off-by: Sam Protsenko
> ---
> arch/arm/include/asm/omap_comm
On Thursday 18 May 2017 09:04 PM, Manfred Schlaegl wrote:
> On 2017-05-18 16:59, Lothar Waßmann wrote:
>> Manfred Schlaegl wrote:
>>
>>> On 2017-05-17 06:13, Lokesh Vutla wrote:
On Tuesday 16 May 2017 07:59 PM, Manfred Schlaegl wrote:
> On 2017-05-11 08:53, Lokesh Vutla wrote:
Hi Tom,
On 9 May 2017 at 17:59, Tom Rini wrote:
>
> On Tue, May 09, 2017 at 04:53:36PM -0600, Simon Glass wrote:
>
> > Hi Tom,
> >
> > Here's the conversion to use the upstream pylibfdt implementation.
> >
> >
> > The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f:
> >
>
Build the upstream python libfdt module. At present the legacy module is
still built and is the one that it used. Future work will switch this
over.
Signed-off-by: Simon Glass
---
Changes in v2:
- Fix building when srcpath is ".."
tools/Makefile | 23 +++
1 file changed, 23
On Wed, May 17, 2017 at 09:22:55PM +0200, Jean-Jacques Hiblot wrote:
> SDIO is not supported in u-boot, there is no point in enabling mmc3.
> For this purpose, add u-boot specific dtsi that this will be included
> automatically while building the dtb.
>
> Signed-off-by: Jean-Jacques Hiblot
> Rev
On Wed, May 17, 2017 at 02:06:08PM -0400, Tom Rini wrote:
> The intention of having a -u-boot.dtsi file is to be able to make
> changes to the provided upstream dts files as well as to be able to add
> nodes. Change the logic for adding the file from making it the last
> included file at the top
On Thu, May 18, 2017 at 11:42:02AM +0200, Marek Vasut wrote:
> The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4:
>
> Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-socfpg
On Thu, May 18, 2017 at 11:32:47AM +0200, Marek Vasut wrote:
> The following changes since commit fa8967cfbaed5582ba987756fa9f0470a9affbf4:
>
> Merge git://git.denx.de/u-boot-uniphier (2017-05-17 14:13:58 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-usb.gi
On Thu, May 18, 2017 at 03:04:59PM +0300, Sam Protsenko wrote:
> This patch adds support for flashing zImage to the Android boot
> partition on eMMC.
>
> Usage:
>
> $ fastboot flash zImage
>
> It's based on [1].
>
> [1]
> http://omapzoom.org/?p=repo/u-boot.git;a=commit;h=3393b908c1e848bb
It's currently bugged and doesn't work for even cases.
Right shift bits instead of dividing and fix even cases.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/serial/serial_bcm6345.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/serial/serial_bcm6345.c
I missed this when I added support for BMIPS UART driver and it's needed to
achieve a real 115200 8N1 setup.
Signed-off-by: Álvaro Fernández Rojas
---
v3: no changes, added another fix on a separate patch.
v2: fix commit title (missed bcm6345)
drivers/serial/serial_bcm6345.c | 2 ++
1 file ch
On 05/18/2017 04:19 AM, Bogdan Purcareata wrote:
> Previous to MC v10.x, port mac address was specified via DPL. Since
> newer MC versions are compatible with old style DPLs, make the u-boot
> env mac addresses visible there. This applies only to DPLs that have an
> older version.
>
> DPLs use 32 b
The bootelf command could, but does not, pass additional arguments along
on the command line. Make do_bootelf consume bootelf/flags/address as
needed and then pass along anything else to the ELF application we've
launched.
Reported-by: Thomas Doerfler
Signed-off-by: Tom Rini
---
Yes, this bug w
On 05/18/2017 11:49 AM, Vikas Manocha wrote:
Enable support for XIP (execute in place) of U-Boot or kernel image. There is
no need to copy image from flash to ram if flash supports execute in place.
Awesome. I've had to hack u-boot before to achieve exactly this. It's
nice to have a proper imp
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas
---
arch/mips/dts/brcm,bcm3380.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm3380.dtsi b/arch/mips/dts/brcm,bcm3380.dtsi
index e351d58..3c19b90 100644
1 - 100 of 245 matches
Mail list logo