> -Original Message-
> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
> Sent: Friday, June 17, 2016 9:22 AM
> To: Rajesh Bhagat
> Cc: Rajat Srivastava ; U-Boot Mailing List b...@lists.denx.de>; Lukasz Majewski ; Marek Vašut
> ; Albert ARIBAUD ; Prabhakar
> Kushw
On Sun, Jul 3, 2016 at 8:35 AM, Chen-Yu Tsai wrote:
> Hi,
>
> On Sat, Jul 2, 2016 at 8:00 PM, Hans de Goede wrote:
>> Hi,
>>
>> On 19-06-16 06:38, Chen-Yu Tsai wrote:
>>>
>>> Hi everyone,
>>>
>>> This is ARM PSCI improvements part 2. This series cleans up PSCI stack
>>> allocation and target PC s
Hi Rajesh,
>
>
> > -Original Message-
> > From: Lukasz Majewski [mailto:l.majew...@samsung.com]
> > Sent: Thursday, June 23, 2016 8:27 PM
> > To: Rajat Srivastava
> > Cc: u-boot@lists.denx.de; s...@chromium.org; ma...@denx.de;
> > albert.u.b...@aribaud.net; prabha...@freescale.com; york
I said I would send a new iteration of this series, but there are code
dependencies/conflicts with Chenyu's work, so I'd like to wait for a
few more days to see his v2 sent out or even been merged.
During this stage, any review comments are still appreciated, I am
always looking at this.
Thanks.
O
get_mmc_num can be returned 0. Then if you use the "mmcinfo" command, it
can't print the mmc information.
If get_mmc_num is 0, it means that there is not mmc device.
So it added the get_mmc_curr_num() function for getting current device
number(index). And get_mmc_num() is returned the number of dev
On Sat, Jul 2, 2016 at 5:17 PM, Chen-Yu Tsai wrote:
> On Fri, Jul 1, 2016 at 6:39 PM, Hongbo Zhang wrote:
>> On Sun, Jun 19, 2016 at 12:38 PM, Chen-Yu Tsai wrote:
>>> The original PSCI implementation assumed CONFIG_ARMV7_PSCI_NR_CPUS=4.
>>> Add this as a fallback value in case platforms have not
> -Original Message-
> From: Lukasz Majewski [mailto:l.majew...@samsung.com]
> Sent: Thursday, June 23, 2016 8:27 PM
> To: Rajat Srivastava
> Cc: u-boot@lists.denx.de; s...@chromium.org; ma...@denx.de;
> albert.u.b...@aribaud.net; prabha...@freescale.com; york sun
> ; Mingkai Hu ; Rajesh
From: Hou Zhiqiang
Up to now, the function is_serdes_configed() doesn't check if the map
of serdes protocol is initialized before accessing it. The function
is_serdes_configed() will get wrong result when it was called before
the serdes protocol maps initialized. As the first eliment of the map
i
Hi Joe,
On Mon, 2016-06-27 at 13:17 +0300, Alexey Brodkin wrote:
> Commit 90b7fc924adf "net: designware: support phy reset device-tree
> bindings" made DW GMAC driver dependent on DM_GPIO by unconditional
> usage of purely DM_GPIO stuff like:
> * dm_gpio_XXX()
> * gpio_request_by_name()
>
> But
Hi Tom,
These are 2 very subtle changes from which one accommodates the most recent ARC
tools
where "-marchs" is no longer accepted and the second one is a minor fixup that
might
benefit in the future once "global_data.h" gets included in assembly files
(note that might
easily happen because th
Hi Stefan,
On Sun, Jul 3, 2016 at 4:33 PM, Stefan Agner wrote:
> +#ifdef CONFIG_ARCH_MISC_INIT
> +int arch_misc_init(void)
> +{
> + if (is_mx7d())
> + setenv("soc", "imx7d");
> + else
> + setenv("soc", "imx7s");
> +
> + return 0;
> +}
> +#endif
For
On 07/04/2016 01:11 PM, Sriram Dash wrote:
Commit 9262367 moved USB errata workaround to a C file but
didn't build it for SPL targets. The EHCI errata should be
applied/checked only when EHCI is defined.
Signed-off-by: Rajesh Bhagat
Signed-off-by: Sriram Dash
---
arch/powerpc/include/asm/conf
On 07/04/2016 01:56 AM, Andre Przywara wrote:
As printf calls may be executed quite early, we should avoid using any
BSS stored variables, since some boards put BSS in DRAM, which may not
have been initialised yet.
Explicitly mark those "static global" variables as belonging to the
.data section,
On 07/03/2016 08:22 PM, Hans de Goede wrote:
Iterating over usb-root devs and doing something for all of them is
a bit tricky with dm, factor out the proven usb_show_tree() for this
into a helper function.
Signed-off-by: Hans de Goede
Applied, thanks.
---
cmd/usb.c | 15 ---
1
On 07/03/2016 08:22 PM, Hans de Goede wrote:
The old dm "usb info" implementation has several issues:
1) NULL pointer deref when a bus has no children
2) Not showing usb devices on busses without an emulated root-hub (otg host)
3) Attempting to show devices on inactive busses
4) "usb info" Would
Hi All,
Between my $dayjob, linux-sunxi, other foss projects and last but
not least spending time with my wife and children I'm way too
busy lately.
So I've decided to seriously scale back my involvement in
linux-sunxi, as such I'm going to step down as u-boot sunxi
custodian.
I've asked Ian if
> -Original Message-
> From: Lukasz Majewski [mailto:l.majew...@samsung.com]
> Sent: Thursday, June 23, 2016 8:23 PM
> To: Rajat Srivastava
> Cc: u-boot@lists.denx.de; s...@chromium.org; ma...@denx.de;
> albert.u.b...@aribaud.net; prabha...@freescale.com; york sun
> ; Mingkai Hu ; Rajesh
Hi,
On 04-07-16 09:20, Hongbo Zhang wrote:
I said I would send a new iteration of this series, but there are code
dependencies/conflicts with Chenyu's work, so I'd like to wait for a
few more days to see his v2 sent out or even been merged.
During this stage, any review comments are still apprec
Commit 9262367 moved USB errata workaround to a C file but
didn't build it for SPL targets. The EHCI errata should be
applied/checked only when EHCI is defined.
Signed-off-by: Rajesh Bhagat
Signed-off-by: Sriram Dash
---
arch/powerpc/include/asm/config_mpc85xx.h | 32 +++
Hi Stephen,
On 3 July 2016 at 22:14, Simon Glass wrote:
> Hi Stephen,
>
> I'd like to get access to SPL output from a test. It seems that only
> the output from U-Boot proper is logged, although I cannot see why.
>
> For background, I have a new sandbox_spl target which includes SPL
> code. I wil
On 1 July 2016 at 14:22, Oleksandr Tymoshenko wrote:
> Return value of rtl_send_common propogates unmodified all the way
> up to eth_send and further to API consumer if CONFIG_API is enabled.
> Previously rtl_send_common returned number of bytes sent on success
> which was erroneouly detected as e
> On Jul 4, 2016, at 8:40 AM, Simon Glass wrote:
>
> On 1 July 2016 at 14:22, Oleksandr Tymoshenko wrote:
>> Return value of rtl_send_common propogates unmodified all the way
>> up to eth_send and further to API consumer if CONFIG_API is enabled.
>> Previously rtl_send_common returned number of
On Mon, Jul 04, 2016 at 02:30:20PM +0200, Marek Vasut wrote:
> On 07/04/2016 01:56 AM, Andre Przywara wrote:
> >As printf calls may be executed quite early, we should avoid using any
> >BSS stored variables, since some boards put BSS in DRAM, which may not
> >have been initialised yet.
> >Explicitl
Hi,
On 4 July 2016 at 11:10, Oleksandr Tymoshenko wrote:
>
>> On Jul 4, 2016, at 8:40 AM, Simon Glass wrote:
>>
>> On 1 July 2016 at 14:22, Oleksandr Tymoshenko wrote:
>>> Return value of rtl_send_common propogates unmodified all the way
>>> up to eth_send and further to API consumer if CONFIG_
Sandbox includes this code to provide build coverage. While we retain this
feature we should have sandbox build it. Sandbox does not in fact use the
I2C compatibility mode. Showing a warning for sandbox is just confusing,
since no conversion is expected.
Drop the warning for sandbox.
Signed-off-b
This option is now widely available, so remove the comment that it is only
available on ARM and sandbox.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
README | 3 ---
1 file changed, 3 deletions(-)
diff --git a/README b/README
index 26d5ad2..e906253 100644
--- a/READM
Note: This v3 series adds a test and fixes a few bugs found in generation of
of-platdata.
This series provides a way to compile in the contents of a device tree as C
code into U-Boot, implementing an idea that Tom Rini came up with. It is
intended to deal with extremely tight environments where th
This file does not appear to use I2C, so drop this include.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/spl/spl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 840910a..5fbf101 100644
--- a/common/spl/spl.c
+++ b/
Overriding the final link rule is possible with U-Boot proper. It us used to
create a sandbox image links with host libraries. To build a sandbox SPL
image we need the same feature for SPL.
To support this, update the SPL link rule so sandbox can override it.
Signed-off-by: Simon Glass
---
Chan
SPL is expected to load and run U-Boot. This needs to work with sandbox also.
Provide a function to locate the U-Boot image, and another to start it. This
allows SPL to function on sandbox as it does on other archs.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sa
PCI is not supported in SPL for sandbox, so avoid using it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/cpu.c| 2 +-
arch/sandbox/lib/Makefile | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/cpu.c b/arch/san
The dm/ file should go at the end. Move it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c
index 196f3e1..7a622c8 100644
--- a/arch
When building an SPL image, override the link flags so that it uses the
system libraries. This is similar to the way the non-SPL image is built.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/config.mk | 5 +
1 file changed, 5 insertions(+)
diff --git
SPL does not have a command interface so we should not include the main loop
code.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/start.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index 969
These headers are needed in case they are not transitively included.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c
index 7a622c8..4975eb2 100644
SPL does not support an LCD display so there is no need to sync the video
when there is serial output.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/serial/sandbox.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/serial/sandbox.c b/drivers/serial
Add an sandbox implementation for the generic SPL framework. This supports
locating and running U-Boot proper.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/Makefile | 1 +
arch/sandbox/cpu/spl.c | 51 +
This is a flag. Adjust the name to be consistent with the other flags.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/device-remove.c | 2 +-
drivers/core/device.c| 2 +-
include/dm/device.h | 4 ++--
3 files changed, 4 insertions(+), 4 del
It is useful to be able to build SPL for sandbox. It provides additional
build coverage and allows SPL features to be tested in sandbox. However
it does not need worthwhile to always create an SPL build. It nearly
doubles the build time and the feature is (so far) seldom used.
So for now, create a
These functions are not supported in SPL, so drop them.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/configs/sandbox.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 23a0c40..4de89f8 100644
-
Add a Python version of the libfdt library which contains enough features to
support the dtoc tool. This is only a very bare-bones implementation. It
requires the 'swig' to build.
Signed-off-by: Simon Glass
---
Changes in v3:
- Fix handling of boolean value (no impact, but it is more correct)
-
Start up the test devices. These print out of-platdata contents, providing a
check that the of-platdata feature is working correctly.
The device-tree changes are made to sandbox.dts rather than test.dts. since
the former controls the of-platdata generation.
Signed-off-by: Simon Glass
---
Change
When this feature is enabled, we should not access the device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
common/spl/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 5fbf101..59f41a1 100644
---
Add support for this feature in the core clock code.
Signed-off-by: Simon Glass
---
Changes in v3:
- Update to the new clock API
Changes in v2: None
drivers/clk/clk-uclass.c | 22 --
drivers/clk/clk_fixed_rate.c | 2 ++
include/clk.h| 4
3 files
Since SPL needs the of-platdata structures, build these before starting
to build any SPL components.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index aff78f0..b571f07
This tool can produce C struct definitions and C platform data tables.
This is used to support the of-platdata feature.
Signed-off-by: Simon Glass
---
Changes in v3:
- Process the structs in a first pass, to correct bugs in widening
Changes in v2: None
tools/dtoc/dtoc| 1 +
tools/dtoc/d
This driver should not be used in SPL since we do not have I2C support
enabled in SPL on sandbox.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to avoid bringing in the eeprom emulator in SPL
Changes in v2: None
drivers/misc/Makefile | 2 ++
1 file changed, 2 insertions(+)
di
When CONFIG_SPL_OF_PLATDATA is enabled we should not access the device
tree. Remove all references to this in the core driver-model code.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/device.c | 2 +-
drivers/core/lists.c | 2 +-
drivers/core/root.c | 4
When of-platdata is used in SPL we don't use the device tree. So there is no
point in attaching it. Adjust the Makefile to skip attaching the device tree
when of-platdata is enabled.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
scripts/Makefile.spl | 2 +-
1 file chan
When CONFIG_OF_PLATDATA is enabled, we cannot use the u-boot,dm-pre-reloc
device tree property since the device tree is not available. However,
dt-platdata.c only includes devices which would have been present in the
device tree, and we can assume that all such devices are needed for SPL.
If they w
Add support for of-platdata with rk3288. This requires disabling access to
the device tree and renaming the driver to match the string that of-platdata
will search for.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +++-
This property is not useful for of-platdata, so omit it.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
tools/dtoc/dtoc.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index 24f3858..374ad1c 100755
--- a/tools/dtoc/dtoc.py
Devices which use of-platdata have their own platdata. However, in many
cases the driver will have its own auto-alloced platdata, for use with the
device tree. The ofdata_to_platdata() method converts the device tree
settings to platdata.
With of-platdata we would not normally allocate the platdat
This board can sometimes be used for tests. Handle it the same way as
sandbox.
Note: I plan to drop the sandbox_spl board at some point and merge its
features into sandbox. So this commit may not be necessary.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to handle testing with
When sandbox SPL is enabled we want to start that rather than U-Boot proper,
since some tests may rely on running it first.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to start sandbox SPL when enabled
Changes in v2: None
test/py/u_boot_console_sandbox.py | 6 +-
1 file
It is more correct to avoid touching the device tree in the probe() method.
Update the driver to work this way. Also add an error check on grf since if
that fails then we should not use it.
Signed-off-by: Simon Glass
---
Changes in v3:
- Rebase to master
Changes in v2: None
drivers/clk/clk_rk
Revise the content based on the v2 additions. This is kept as a separate
patch to avoid confusing those who have already reviewed the v1 series.
Signed-off-by: Simon Glass
Suggested-by: Tom Rini
---
Changes in v3:
- Add a test for of-platdata
Changes in v2:
- Add support for rockchip
- Various
Add support for of-platdata with rk3288. This requires decoding the
of-platdata struct and setting up the devices from that. Also the driver
needs to be renamed to match the string that of-platdata will search for.
Signed-off-by: Simon Glass
---
Changes in v3:
- Rebase to master
Changes in v2:
It is more correct to avoid touching the device tree in the probe() method.
Update the driver to work this way. Note that only SPL needs to fiddle with
the SDRAM registers, so decoding the platform data fully is not necessary in
U-Boot proper.
Signed-off-by: Simon Glass
---
Changes in v3: None
C
When the boot ROM sets up MMC we don't need to do it again. Remove the
MMC setup code entirely.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-rockchip/rk3288-board-spl.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff
At present assert() is not supported with tiny-printf, so when DEBUG is
enabled a build error is generated for each assert().
Add an __assert_fail() function to correct this. It prints a message and
then hangs.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
lib/tiny-pr
Add support for of-platdata with rk3288 SDRAM initr. This requires decoding
the of-platdata struct and setting up the device from that. Also the driver
needs to be renamed to match the string that of-platdata will search for.
The platform data is copied from the of-platdata structure to the one us
We plan to add a new way of creating a regmap for of-platdata. Move the
allocation code into a separate function so that it can be shared.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/regmap.c | 34 ++
1 file changed, 22 in
When this feature is enabled, we cannot access the device tree to find out
which serial device to use. Just use the first serial driver we find.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/serial/serial-uclass.c | 8 +++-
1 file changed, 7 insertions(+),
The syscon devices all end up having diffent driver names with of-platdata,
since the driver name comes from the first string in the compatible list.
Add separate device declarations for each one, and add a bind method to set
up driver_data correctly.
Signed-off-by: Simon Glass
---
Changes in v3
This header can be included from anywhere, but will only pull in the
of-platdata struct definitions when this feature is enabled (and only in
SPL).
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/dt-structs.h | 19 +++
1 file changed, 19 insertion
Add a placeholder for now so that this code will compile. It currently does
nothing.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/regmap.c | 9 +
include/regmap.h | 3 +++
2 files changed, 12 insertions(+)
diff --git a/drivers/core/regmap.c
Add support for of-platdata with rk3288. This requires decoding the
of-platdata struct and setting up the device from that. Also the driver
needs to be renamed to match the string that of-platdata will search for.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/m
Update the Makefile to call dtoc to create the C header and source files,
then build these into the image.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
scripts/Makefile.spl | 39 ---
1 file changed, 36 insertions(+), 3 deletions(-)
Some tests want to check the console output from SPL or U-Boot proper.
Provide a means to do this.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to provide a way to get early console output
Changes in v2: None
test/py/u_boot_console_base.py | 10 ++
test/py/u_boot_spaw
Add an extra byte so that this data is not byteswapped. Add a comment to
the code to explain the purpose.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3288-firefly.dts| 3 ++-
arch/arm/include/asm/arch-rockchip/sdram.h | 6 ++
2 files ch
With of-platdata this driver cannot know the format of the of-platdata
struct, so we cannot use generic code for accessing the of-platdata. Each
SoC that uses this driver will need to set up ns16550's platdata for it.
So don't compile in the generic code.
Signed-off-by: Simon Glass
---
Changes i
Add a driver which uses of-platdata to obtain its platform data. This can
be used to test the feature in sandbox. It displays the contents of its
platform data.
Signed-off-by: Simon Glass
---
Changes in v3:
- Print out the of-platdata contents for testing
Changes in v2: None
drivers/misc/Make
Add an implementation of this function which mirrors the functions of the
automatic device-tree implementation. This can be used with of-platdata to
create regmaps.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/regmap.c | 18 --
include/reg
When swig is not available, we can still build correctly. So make this
optional. Add a comment about how to enable this build.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
tools/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/Mak
Add a Kconfig option to enable this feature.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
dts/Kconfig | 21 +
1 file changed, 21 insertions(+)
diff --git a/dts/Kconfig b/dts/Kconfig
index c56c129..4b7d8b1 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
This function cannot look at the device tree when of-platdata is used.
Update the code to handle this.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-rockchip/rk3288-board-spl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-rockchip/r
This Python library provides a way to access the contents of the device
tree. It uses fdtget, so is inefficient for larger device tree files.
Signed-off-by: Simon Glass
---
Changes in v3:
- Update comments a little
- Add GetEmpty() to obtain an empty/zero value of a given type
Changes in v2: No
Add documentation on how this works, including the benefits and drawbacks.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
doc/driver-model/of-plat.txt | 268 +++
1 file changed, 268 insertions(+)
create mode 100644 doc/driver-mod
At present the SPL and U-Boot consoles both present the same error message
when the expected console output does not appear. Add "SPL" to the SPL error
message to resolve this ambiguity.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to note which console produced unexpected outpu
Add a driver that works with of-platdata. It sets up the platform data and
calls the standard ns16550 driver.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/serial/Kconfig | 9 +
drivers/serial/Makefile | 3 +++
drivers/serial/serial
It is more correct to avoid touching the device tree in the probe() method.
Update the driver to work this way.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/mmc/rockchip_dw_mmc.c | 32 +---
1 file changed, 17 insertions(+), 15 delet
We cannot access the device tree in this case, so avoid compiling in the
various device-tree helper functions.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
lib/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/Makefile b/lib/Makefil
As an experiment, move this board over to use of-platdata. This means that
its SPL configuration will come from C structures generated at build-time
from the device tree, instead of coming from the device tree at run-time.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
Enable this feature so that we can use it for testing in sandbox_spl.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
configs/sandbox_spl_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig
index d92
Add a simple test which checks that the of-platdata system is working
correctly. The sequence is as follows:
- SPL starts up and probes all the UCLASS_MISC drivers
- There are 3 of these in sandbox.dts
- Therefore there should be 3 U_BOOT_DEVICE() declarations in dt-platdata.c
- These should produ
Provide a new function which can cope with obtaining information from
of-platdata instead of the device tree.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Add a comment to the effect that 64-bit machines are not supported
drivers/core/syscon-uclass.c | 13 +
This patchset add the fastboot support for rk3288, and I have tested on
firefly-rk3288 board.
Summary of changes in this series:
- Rework the behaviour in otg_phy_init() and otg_phy_off()
- Achieve the regs_phy from DT
- Update comments a little
Xu Ziyuan (3):
usb: rockchip-phy: implement USB2.
From: Xu Ziyuan
So far, Rockchip SoCs have two kinds of USB2.0 phy, like Synopsys and
Innosilicon. This patch applys dwc2 usb driver framework to implement
phy_init and phy_off for Synopsys phy on Rockchip platform.
Signed-off-by: Ziyuan Xu
---
Changes in v2:
- Rename rk3288_usb_phy.c to rock
From: Xu Ziyuan
Enable fastboot feature on rk3288.
This path doesn't support the fastboot flash function command entirely.
We will hit "cannot find partition" assertion without specified
partition environment. Define gpt partition layout in specified board
such as firefly-rk3288, then enjoy it!
From: Xu Ziyuan
The total FIFO size of dwc2 on Rockchip SoCs is shorter than the
existen, so re-define them to fit Rockchip SoCs.
Signed-off-by: Ziyuan Xu
---
Changes in v2:
- Update detailed commit message
- Modify the macro's values
drivers/usb/gadget/dwc2_udc_otg_regs.h | 6 ++
1 fil
On Mon, Jul 4, 2016 at 9:11 PM, Hans de Goede wrote:
> Hi,
>
> On 04-07-16 09:20, Hongbo Zhang wrote:
>>
>> I said I would send a new iteration of this series, but there are code
>> dependencies/conflicts with Chenyu's work, so I'd like to wait for a
>> few more days to see his v2 sent out or even
On Sat, Jul 02, 2016 at 03:42:29AM +0200, Marek Vasut wrote:
> The following changes since commit b66a5c03a0870db3045be2967b85684b1887ca18:
>
> Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2016-06-21
> 20:43:21 -0400)
>
> are available in the git repository at:
>
> git://git.
On Sat, Jul 02, 2016 at 09:51:20PM +0200, Hans de Goede wrote:
> Hi Tom,
>
> Here is hopefully the last sunxi pull-req for v2016.07,
> it contains 2 misc. fixes and 1 new board.
>
> The following changes since commit 0e1e587ff4fc2d81ad4f6313f02c5ca4c8ceea01:
>
> Prepare v2016.07-rc3 (2016-07-
On Sat, Jul 02, 2016 at 03:43:39AM +0200, Marek Vasut wrote:
> The following changes since commit b66a5c03a0870db3045be2967b85684b1887ca18:
>
> Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2016-06-21
> 20:43:21 -0400)
>
> are available in the git repository at:
>
> git://git.
On Mon, Jul 04, 2016 at 08:49:40AM +, Alexey Brodkin wrote:
> Hi Tom,
>
> These are 2 very subtle changes from which one accommodates the most recent
> ARC tools
> where "-marchs" is no longer accepted and the second one is a minor fixup
> that might
> benefit in the future once "global_dat
Hello,
I am using malta board within qemu. I tried recent releases and master of
both.
Two years ago in qemu-1.5 and qemu-1.6 I could use erase and cp.b in order
to erase and write to the flash.
Now when I try to erase flash I get an error suggesting the erase failed,
however, I do see 0xff all ov
Hello,
Recently I started to notice that u-boot.img built for Wandboard
by some toolchains becomes so large that it basically overlaps with
U-Boot environment area on SD-card.
According to
http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout
Wandboard's SD-card layout is as f
>From: Marek Vasut [mailto:ma...@denx.de]
>On 07/04/2016 01:11 PM, Sriram Dash wrote:
>> Commit 9262367 moved USB errata workaround to a C file but didn't
>> build it for SPL targets. The EHCI errata should be applied/checked
>> only when EHCI is defined.
>>
>> Signed-off-by: Rajesh Bhagat
>> Sign
> -Original Message-
> From: Edward L Swarthout
> Sent: Saturday, July 02, 2016 3:14 AM
> To: Prabhakar Kushwaha ; york sun
> ; Qianyu Gong ;
> albert.u.b...@aribaud.net; u-boot@lists.denx.de;
> s.temerkha...@gmail.com; yamada.masah...@socionext.com
> Cc: Mingkai Hu
> Subject: RE: [U-Boot
1 - 100 of 103 matches
Mail list logo