Re: [PATCH] scripts: Provide script that helps using cpp defines in dcd tables

2017-07-18 Thread Sam Ravnborg
On Tue, Jul 18, 2017 at 05:23:20PM +0200, Uwe Kleine-König wrote: > This script was used to help create commit ("ARM: imx: use register > defines in imxcfg files instead of plain numbers"). > > It is documented in Perl Pod, you can pretty-print it using > > $ perldoc scripts/regsubst.pl. C

Re: [PATCH 4/4] ARM: rdu2: include defaultenv from board

2017-07-18 Thread Sam Ravnborg
On Tue, Jul 18, 2017 at 03:18:37PM +0200, Lucas Stach wrote: > Makes it available without the need for a spacial barebox config. ^ special? Sam ___ barebox mailing list barebox@lists.infradead.org ht

[PATCH] scripts: Provide script that helps using cpp defines in dcd tables

2017-07-18 Thread Uwe Kleine-König
This script was used to help create commit ("ARM: imx: use register defines in imxcfg files instead of plain numbers"). It is documented in Perl Pod, you can pretty-print it using $ perldoc scripts/regsubst.pl. Signed-off-by: Uwe Kleine-König --- scripts/regsubst.pl | 123 +

[PATCH 1/4] ARM: rdu2: use the upstream accepted DT

2017-07-18 Thread Lucas Stach
We now only need to carry the Barebox specific parts of the DT. Signed-off-by: Lucas Stach --- arch/arm/dts/imx6qdl-zii-rdu2.dtsi | 518 + 1 file changed, 68 insertions(+), 450 deletions(-) diff --git a/arch/arm/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/dts/imx6q

[PATCH 2/4] ARM: rdu2: remove USB VBUS GPIO init

2017-07-18 Thread Lucas Stach
This is handled by a fixed regulator in the upstream DT. Signed-off-by: Lucas Stach --- arch/arm/boards/zii-imx6q-rdu2/board.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/boards/zii-imx6q-rdu2/board.c b/arch/arm/boards/zii-imx6q-rdu2/board.c index ee04517d2985..4176ca79353d

[PATCH 4/4] ARM: rdu2: include defaultenv from board

2017-07-18 Thread Lucas Stach
Makes it available without the need for a spacial barebox config. Signed-off-by: Lucas Stach --- arch/arm/boards/zii-imx6q-rdu2/Makefile | 1 + arch/arm/boards/zii-imx6q-rdu2/board.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boards/zii-imx6q-rdu2/Makefile b/arch/arm/boar

[PATCH 3/4] ARM: rdu2: remove unecessary includes

2017-07-18 Thread Lucas Stach
The board file has many more includes than what is really needed, clean this up. Signed-off-by: Lucas Stach --- arch/arm/boards/zii-imx6q-rdu2/board.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/arch/arm/boards/zii-imx6q-rdu2/board.c b/arch/arm/boar

[PATCH 1/3] video: tc358767: demote ASSR enable failure to debug level

2017-07-18 Thread Lucas Stach
Same as in the Linux kernel. Failure to enable ASSR isn't a critical failure and can happen in normal use. Signed-off-by: Lucas Stach --- drivers/video/tc358767.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c index ab2e86e

[PATCH 3/3] clk: clk-fixed-factor: remove leftover debugging

2017-07-18 Thread Lucas Stach
Don't spam the output with rate propagation messages. It isn't done for any other clock. Signed-off-by: Lucas Stach --- drivers/clk/clk-fixed-factor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c index 0be48558e680..021c43339f

[PATCH 2/3] video: IPUv3-LDB: fix dual-channel mode

2017-07-18 Thread Lucas Stach
For the dual-channel mode to work correctly, both channels need to be muxed to the same DI and both clock branches need to be configured correctly. Signed-off-by: Lucas Stach --- drivers/video/imx-ipu-v3/imx-ldb.c | 46 +++--- 1 file changed, 33 insertions(+), 13

[PATCH] state: backend_storage: remove unreachable error message

2017-07-18 Thread Philipp Zabel
This looks like a leftover. Signed-off-by: Philipp Zabel --- common/state/backend_storage.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c index 8d24f7053..1abf8c866 100644 --- a/common/state/backend_storage.c +++ b/common/sta

[PATCH] state: backend_bucket_circular: promote old state debug message to info

2017-07-18 Thread Philipp Zabel
A report about the changed on-storage state format might be interesting to the user. Signed-off-by: Philipp Zabel --- common/state/backend_bucket_circular.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_c

[PATCH] state: backend_bucket_circular: fix old state reads

2017-07-18 Thread Philipp Zabel
When the circular bucket meta magic was not found, it is assumed that the whole written state is in the old on-storage format. In that case, the size of the circular bucket meta must not be subtracted from the read length, or the (complete_len > len) check in the raw backend's verify function will