Dear Sergey,
In message you wrote:
> OK, it is broken in last commit. Totally broken.
So what? Shit happens. Calm down, it's only ones and zeroes.
> I do NOT have time chasing this -- I'm in firefighting mode now with 14
> hours workdays because of this Tuesday deadline -- but guys, WTF!?
No
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 v2: None
tools/dtoc/dtoc| 1 +
tools/dtoc/dtoc.py | 365 +
2 files changed
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 v2: None
scripts/Makefile.spl | 2 +-
1 file changed, 1 insertion(+),
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 v2:
- Add support for rockchip
- Various minor enhancements to the v1 implementation
Hi Simon,
On Fri, Jun 10, 2016 at 2:35 AM, Simon Glass wrote:
> Hi Mario,
>
> On 2 June 2016 at 07:07, Mario Six wrote:
>> This patch implements the reading functionality for the generic I2C
>> EEPROM driver, which was just a non-functional stub until now.
>>
>> Since the page size will be of im
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 v2: None
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 v2: None
drivers/mmc/rockchip_dw_mmc.c | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff --gi
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
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
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 v2: None
tools/dtoc/.gitignore | 1 +
tools/dtoc/fdt_fallback.py | 207
Add a Kconfig option to enable this feature.
Signed-off-by: Simon Glass
---
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
@@ -85,4 +85,25 @@
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 v2:
- Add a comment to the effect that 64-bit machines are not supported
drivers/core/syscon-uclass.c | 13 +
include/syscon.h
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 v2: None
arch/arm/mach-rockchip/rk3288-board-spl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c
b
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 v2: None
drivers/clk/clk_rk3288.c | 1
This is a flag. Adjust the name to be consistent with the other flags.
Signed-off-by: Simon Glass
---
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 deletions(-)
diff --gi
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
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 v2: None
scripts/Makefile.spl | 39 ---
1 file changed, 36 insertions(+), 3 deletions(-)
diff --git a/script
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 v2: None
drivers/mmc/rockchip_dw_mmc.c
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 v2: None
drivers/core/regmap.c | 34 ++
1 file changed, 22 insertions(+), 12 dele
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 v2: None
tools/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefi
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 v2: None
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +++-
1 file changed, 7
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 v2
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 v2: None
drivers/serial/serial-uclass.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff
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 v2: None
drivers/clk/clk_rk3288.c | 20 +++-
1
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 v2: None
lib/tiny-printf.c | 9 +
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
This is needed to support driver-model conversion of USB and block devices.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv8/zynqmp/Kconfig | 4
arch/arm/mach-zynq/Kconfig| 3 +++
2 files changed, 7 insertions(+)
diff --git a/arch/arm/cpu/armv8/zynqmp/Kconfig
b/arch/arm/cpu/armv
Add support for using driver model for block devices and MMC operations in
this driver.
Signed-off-by: Simon Glass
---
drivers/mmc/msm_sdhci.c | 51 +++--
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/msm_sdhci.c b/drivers
Move zynq to the latest driver model support by enabling CONFIG_DM_MMC,
CONFIG_DM_MMC_OPS and CONFIG_BLK.
Signed-off-by: Simon Glass
---
arch/arm/Kconfig | 5 +
drivers/mmc/zynq_sdhci.c | 39 ++-
2 files changed, 39 insertions(+), 5 deletions(-)
Convert zynq USB to driver model. It does not actually work, but the error
is similar.
Before:
Zynq> dm tree
Class Probed Name
root[ + ]root_driver
rsa_mod_exp [ ]|-- mod_exp_sw
simple_bus [ + ]`-- amba
gpio[ ]
This corrects a build error on zynqmp.
Signed-off-by: Simon Glass
Signed-off-by: Simon Glass
---
drivers/net/phy/marvell.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index d2e68d4..8de0574 100644
--- a/drivers/net/phy/marvell.c
+++
Update the method of accessing the block device so that it works with
CONFIG_BLK enabled.
Signed-off-by: Simon Glass
---
drivers/dfu/dfu_mmc.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
index 78724e4..926ccbd 100
Update this board to use driver model for block devices and MMC operations.
Signed-off-by: Simon Glass
---
configs/dragonboard410c_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/dragonboard410c_defconfig
b/configs/dragonboard410c_defconfig
index 37c5ea77..ad2e8b8 10064
Hello Hans,
Am 11.06.2016 um 13:36 schrieb Hans de Goede:
Hi,
On 10-06-16 21:43, Tom Rini wrote:
A number of config files were not correctly migrated for BOOTDELAY moving
over to Kconfig. Update these configs which were not done correctly.
Signed-off-by: Tom Rini
---
Changes in v2:
- I rege
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 v2: None
include/dt-structs.h | 19 +++
1 file changed, 19 insertions(+)
create mode 10
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 v2: None
configs/firefly-rk32
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 v2: None
drivers/core/regmap.c | 18 --
include/regmap.h | 15
Add documentation on how this works, including the benefits and drawbacks.
Signed-off-by: Simon Glass
---
Changes in v2: None
doc/driver-model/of-plat.txt | 268 +++
1 file changed, 268 insertions(+)
create mode 100644 doc/driver-model/of-plat.txt
diff
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 v2: None
arch/arm/mach-rockchip/rk3288-board-spl.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/arch/arm/ma
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 v2: None
arch/arm/dts/rk3288-firefly.dts| 3 ++-
arch/arm/include/asm/arch-rockchip/sdram.h | 6 ++
2 files changed, 8 insertions(
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 v2: None
lib/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/Makefile b/lib/Makefile
index f77befe..2fc
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 v2: None
lib/libfdt/libfdt.swig| 81 +
lib/libf
This property is not useful for of-platdata, so omit it.
Signed-off-by: Simon Glass
---
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 6a2f6ef..9f14e3f 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools/dtoc/dto
Add a placeholder for now so that this code will compile. It currently does
nothing.
Signed-off-by: Simon Glass
---
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 b/drivers/core/regma
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 v2: None
drivers/serial/Kconfig | 9 +
drivers/serial/Makefile | 3 +++
drivers/serial/serial_rockchip.c | 43 +++
Add a driver which uses of-platdata to obtain its platform data. This can
be used to test the feature in sandbox.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/misc/Makefile | 5 +
drivers/misc/spltest_sandbox.c | 28
2 files changed, 33
When this feature is enabled, we should not access the device tree.
Signed-off-by: Simon Glass
---
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
--- a/common/spl/spl.c
+
Since SPL needs the of-platdata structures, build these before starting
to build any SPL components.
Signed-off-by: Simon Glass
---
Changes in v2: None
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5b03095..edefc0b 100644
--- a/Makefil
Add support for this feature in the core clock code.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/clk/clk-uclass.c | 20
drivers/clk/clk_fixed_rate.c | 2 ++
include/clk.h| 4
3 files changed, 26 insertions(+)
diff --git a/drivers/
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
Add a simple test device that provides a check that the of-platdata
feature is working correctly.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/sandbox/cpu/spl.c| 9 +
arch/sandbox/dts/sandbox.dts | 13 +
include/configs/sandbox_spl.h | 2 ++
3 files ch
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 v2: None
drivers/core/device.c | 2 +-
drivers/core/lists.c | 2 +-
drivers/core/root.c | 4 ++--
3 files chang
These functions are not supported in SPL, so drop them.
Signed-off-by: Simon Glass
---
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
--- a/include/configs
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 v2: None
drivers/serial/sandbox.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c
index 58f
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 v2: None
arch/sandbox/config.mk | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/sandbox/confi
These headers are needed in case they are not transitively included.
Signed-off-by: Simon Glass
---
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
--- a/arch/sandbox/
The dm/ file should go at the end. Move it.
Signed-off-by: Simon Glass
---
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/sandbox/cpu/cpu.c
+
PCI is not supported in SPL for sandbox, so avoid using it.
Signed-off-by: Simon Glass
---
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/sandbox/cpu/cpu.c
index
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 v2: None
README | 3 ---
1 file changed, 3 deletions(-)
diff --git a/README b/README
index 1d0b946..c3dcfbd 100644
--- a/README
+++ b/README
@@ -3
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 v2: None
arch/sandbox/cpu/os.c | 51
Add an sandbox implementation for the generic SPL framework. This supports
locating and running U-Boot proper.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/sandbox/cpu/Makefile | 1 +
arch/sandbox/cpu/spl.c | 51 ++
arch/sandbox/
This file does not appear to use I2C, so drop this include.
Signed-off-by: Simon Glass
---
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/common/spl/spl.c
@@
Note: This v2 series has some minor updates and improvements, mostly as new
patches in the series.
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
SPL does not have a command interface so we should not include the main loop
code.
Signed-off-by: Simon Glass
---
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 969618e..6e4ec01 100644
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
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
To speed up conversion to CONFIG_BLK, enable it by default when DM_MMC is
enabled.
Signed-off-by: Simon Glass
---
drivers/block/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 80eea84..fe5aa07 100644
--- a/drivers/block/Kconfig
+++
These two options go together and it is best to do the conversion in one
step. So enable DM_MMC_OPS by default if DM_MMC is enabled.
Signed-off-by: Simon Glass
---
drivers/mmc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 79cf18f..b1
Now that we have fully moved to driver model, drop the old code.
Signed-off-by: Simon Glass
---
drivers/mmc/Kconfig | 2 +-
drivers/mmc/msm_sdhci.c | 15 ---
2 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index b9662f9..
These boards should have maintainer entries. Add them.
Signed-off-by: Simon Glass
---
board/evb_rk3036/evb_rk3036/MAINTAINERS | 6 ++
board/kylin/kylin_rk3036/MAINTAINERS| 6 ++
2 files changed, 12 insertions(+)
diff --git a/board/evb_rk3036/evb_rk3036/MAINTAINERS
b/board/evb_rk30
Update the method of accessing the block device so that it works with
CONFIG_BLK enabled.
Signed-off-by: Simon Glass
---
common/spl/spl_mmc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index ef8583a..4c60bf6 100644
--- a
Move the configuration setting into a separate function which can be used by
the driver-model code.
Signed-off-by: Simon Glass
---
drivers/mmc/sdhci.c | 107 +---
1 file changed, 59 insertions(+), 48 deletions(-)
diff --git a/drivers/mmc/sdhci.c
Update the sandbox MMC emulation to use driver model for MMC operations.
Signed-off-by: Simon Glass
---
arch/Kconfig | 1 +
configs/sandbox_defconfig | 4 ++--
drivers/mmc/sandbox_mmc.c | 17 ++---
3 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/arch/K
Add support for using driver model for block devices and MMC operations in
this driver.
Signed-off-by: Simon Glass
---
drivers/mmc/sdhci.c | 40 ++-
include/sdhci.h | 80 +
2 files changed, 119 insertions(+), 1 dele
This option is not actually needed for rockchip boards. Drop it, since it
will not support driver-model MMC operation support.
Signed-off-by: Simon Glass
---
include/configs/rk3036_common.h | 1 -
include/configs/rk3288_common.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/confi
Add support to dwmmc for using driver model for MMC operations.
Signed-off-by: Simon Glass
---
drivers/mmc/dw_mmc.c | 33 +
include/dwmmc.h | 9 +
2 files changed, 42 insertions(+)
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 74a2
Enable this option to move rockchip over to use driver model for MMC
operations.
Signed-off-by: Simon Glass
---
arch/arm/Kconfig | 1 +
drivers/mmc/rockchip_dw_mmc.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 85b
Move this code into separate functions so that it can be used from the uclass
also. Add static inline versions for when the option is disabled.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc.c | 41 ++---
drivers/mmc/mmc_private.h | 19 +++
Rather than having #ifdef in mmc.c, move this code into the legacy file.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc.c| 95
drivers/mmc/mmc_legacy.c | 91 ++
2 files changed, 91 insertions(+)
Rather than having an #ifdef in the main mmc.c file, control this feature
from the Makefile by moving the code into its own file.
Signed-off-by: Simon Glass
---
drivers/mmc/Makefile | 3 ++
drivers/mmc/mmc.c | 126 +---
drivers/mmc/mmc_boot
The driver model conversion for MMC has moved in small steps. The first step
was to have an MMC device (CONFIG_DM_MMC). The second was to use a child
block device (CONFIG_BLK). The final one is to use driver model for MMC
operations (CONFIG_DM_MMC_OP). Add support for this.
The immediate priority
These private functions are used both in the driver-model implementation and
in the legacy code. Add them to the header.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc.c | 9 -
drivers/mmc/mmc_private.h | 17 +
2 files changed, 21 insertions(+), 5 deletions(-)
Since all Rockchip boards use CONFIG_BLK, we can remove this old code.
Signed-off-by: Simon Glass
---
drivers/mmc/rockchip_dw_mmc.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c
index 750ab9f..d928b0b 100644
--- a/d
Rockchip uses driver model for all subsystems. Specify this in the arm
Kconfig rather than as defaults in the Rockchip Kconfig. This means that
boards cannot turn these options off, which seems correct.
Signed-off-by: Simon Glass
---
arch/arm/Kconfig | 10 ++
arch/arm/mach
These comments were missed when the original code was written. Add them to
help people port their drivers over.
Signed-off-by: Simon Glass
---
include/dwmmc.h | 64 +
1 file changed, 64 insertions(+)
diff --git a/include/dwmmc.h b/include
Rather than having #ifdef in mmc.c, move this code into the uclass file.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc-uclass.c | 80 +
drivers/mmc/mmc.c| 85 ++--
2 files changed, 83 insertions(+),
Hello Masahiro,
Am 10.06.2016 um 17:20 schrieb Masahiro Yamada:
The sed script, tools/scripts/define2mk.sed, converts config defines
from C headers into include/autoconf.mk for the use in Makefiles.
I found the tool adds quotes around negative integer values.
For example, at the point of the v
Hello Masahiro,
Am 10.06.2016 um 17:20 schrieb Masahiro Yamada:
Tidy up garbage left by commit bb597c0eeb7e ("common: bootdelay: move
CONFIG_BOOTDELAY into a Kconfig option").
Signed-off-by: Masahiro Yamada
---
include/configs/bfin_adi_common.h | 5 -
include/configs/mx6_common.h
Performs code cleanup for device tree fixup for fsl usb controllers by
making functions to handle these similar errata checking code.
Signed-off-by: Rajesh Bhagat
Signed-off-by: Sriram Dash
---
Changes in v4:
- Removed parenthesis around has_erratum().
- Made USB controllers macros local to
This patch is doing the following:
1. Implementing the errata for LS2080.
2. Adding fixup for fdt for LS2080.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
---
Changes in v4:
- Reworked for changes done in errata checking code.
Changes in v3:
- Reworked for changes done in errata
This patch does the following things:
1. Makes the errata checking code common for PPC and ARM
2. Moves all these static inline functions into a dedicated C file
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
---
Changes in v4:
- Rework done according to previous patches.
Changes in
This errata a008751 is applied on Soc specific file currently.This will be
moved to a file where all the errata implementation will take place for usb
for fsl. This patch removes the errata workaround from soc specific file
for LS2080.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
---
Adds get_svr and IS_SVR_REV helpers for ARMv8 platforms,
similar to PPC and ARMv7.
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
---
Changes in v4:
- Parenthesis around all the macro args.
Changes in v3:
- Added commit message
Changes in v2:
- No update
arch/arm/cpu/armv8
The patch-set does the following :
1. Adds support for ARM for USB Erratum Checking code for implementing the
USB Erratum for fsl.
2. Performs code cleanup to reduce redundancy when adding fsl device
tree fixup.
3. Implements Erratum A008751 for LS2 platform.
Sriram Dash (5):
arm64: fsl-layersc
Now I2C is initialized early enough to access FPGA so it supports to
show board info as early as other boot methods.
Signed-off-by: Gong Qianyu
---
include/configs/ls1043aqds.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
inde
From: Rajesh Bhagat
Implements the logic to calculate the optimal usb maximum trasfer blocks
instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case
of EHCI and other USB protocols respectively.
It defines USB_MIN_XFER_BLK/USB_MAX_XFER_BLK trasfer blocks that should
be checked f
Performs code cleanup by making common function for usb_stor_read/
usb_stor_write. Currently only difference in these fucntions is call
to usb_read_10/usb_write_10 scsi commands.
Signed-off-by: Rajesh Bhagat
---
Changes in v5:
- Converts USB_STOR_OPERATION_FUNC macro to a function
- Corrects th
Performs code cleanup by making common function for usb_stor_read/write
and implements the logic to calculate the optimal usb maximum trasfer blocks
instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case
of EHCI and other USB protocols respectively.
Rajesh Bhagat (2):
common: u
Hi Joe,
On 06/11/2016 03:56 AM, Joe Hershberger wrote:
> On Thu, Jun 9, 2016 at 8:40 PM, Matthew Bright
> wrote:
>> The patch fd3056337e6fcc introduces env callbacks to several of the net
>> related env variables. These callbacks are responsible for updating the
>> corresponding global variables
Hi Tom,
2016-06-13 1:50 GMT+09:00 Tom Rini :
> On Sat, Jun 11, 2016 at 06:44:07PM +0900, Masahiro Yamada wrote:
>
>>
>> Masahiro Yamada (5):
>> ARM: stm32: remove unused CONFIG_AUTOBOOT
>> autoboot: follow-up cleanup after CONFIG_BOOTDELAY moves
>> tools: fix define2mk.sed to not add quotes
1 - 100 of 186 matches
Mail list logo