Clarify the computation precedence in two ternary operator
constructions.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/serial/ns16550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/ns16550.c b/drivers/ser
Make the fsl_i2c driver compatible with a live device tree.
Reviewed-by: Heiko Schocher
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/i2c/fsl_i2c.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2
Fix some style violations in the board_f file.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
common/board_f.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index e46eceda7d..df589fd570 100644
--
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index e8f1739254..2dc6b09cd9 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flas
Fix a mis-indented function call in clk_fixed_rate.c
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/clk/clk_fixed_rate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c
in
Fix some style violations in the MPC85XX GPIO driver.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/gpio/mpc85xx_gpio.c | 42 ++
1 file changed, 22 insertions(+), 20 deletions(-)
diff --git a/drivers/gpio/mpc85xx_gpio.c b/drivers/g
Fix some style violations in the board_r file.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
common/board_r.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/common/board_r.c b/common/board_r.c
index 09167c1
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 428
1 file changed, 214 insertions(+), 214 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index f096e039cb..0dc7f4a6ba 100644
--- a/driv
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index eebd641e36..6ae1ac871f 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flas
The clk uclass was converted to support a live device tree recently,
hence the global data pointer declarations are no longer needed.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/clk/clk-uclass.c | 2 --
drivers/clk/clk_fixed_rate.c | 2 --
2 fi
Make the tsec ethernet driver compatible with a live device tree.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/net/tsec.c | 41 ++---
1 file changed, 18 insertions(+), 23 deletions(-)
diff --git a/drivers/net/tsec.
In preparation to making the MPC85xx GPIO driver useable for a broader
range of SoCs, rename the driver file.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/gpio/Makefile | 2 +-
drivers/gpio/{mpc85xx_gpio.c => mpc8xxx_gpio.c} | 0
2 files chan
checkpatch.pl complains that the clk_ops structures used in clk-uclass.c
ought to be const, so we mark them as const.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
* Changed commit message and text to used the correct word "const"
instead of "static"
Make the pca953x_gpio driver compatible with a live device tree.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/gpio/pca953x_gpio.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/g
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 7aa379b0d8..d16357343f 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1280,7 +128
This patch fixes a printf specifier style violation, reduces the scope
of a variable, and turns a void pointer that is used with pointer
arithmetic into a u8 pointer.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/spi/spi.c | 7 ---
1 file changed, 4 insertions(+), 3 deleti
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 9cc1b2b16f..e2469055b8 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 4c5e1568e6..5b3c071b30 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flas
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/cfi_flash.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 0a24e9173a..53842443eb 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flas
Fix two indention-related style violations.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/spi/sf_probe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
index e25513b77a..68009a6328 100644
--
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/net/tsec.c | 72 --
1 file changed, 37 insertions(+), 35 deletions(-)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 18e7a83d0f..071595218e 100644
--- a/drivers/net/tse
case.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/net/tsec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 071595218e..44140fb037 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -701,8 +701,10 @@ sta
Commit ba45756 ("dm: x86: spi: Convert ICH SPI driver to driver model")
removed the last usage of the spi_flash_probe_fdt function, rendering it
obsolete.
This patch removes the function.
Reviewed-by: Simon Glass
Reviewed-by: Jagan Teki
Signed-off-by: Mario Six
---
v1 -
Fix some style violations in the pca953x_gpio driver.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/gpio/pca953x_gpio.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c
index 791d1d1
Previous patches removed the last usages of this config variable, so
that it is now obsolete.
This patch removes it from the whitelist.
Reviewed-by: Simon Glass
Reviewed-by: Jagan Teki
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
scripts/config_whitelist.txt | 1 -
1 file changed
spi_flash_probe_tail is now only called from spi_flash_probe, hence we
can merge its body into spi_flash_probe.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/mtd/spi/sf_probe.c | 19 +++
1 file changed, 7 insertions(+), 12 deletions(-)
d
Fix a indention style violation in the freescale MPC8308RDB SDRAM code.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
board/freescale/mpc8308rdb/sdram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/freescale/mpc8308rdb/sdram.c
b/board/freescale/mpc8308
A previous patch removed the spi_flash_probe_fdt function, which
contained the last call of the spi_setup_slave_fdt function, which is
now equally obsolete.
This patch removes the function.
Reviewed-by: Simon Glass
Reviewed-by: Jagan Teki
Signed-off-by: Mario Six
---
v1 -> v2:
N
) removed
the use of this function, hence rendering it obsolete.
Remove this function, as well as the CONFIG_OF_SPI option, which guarded
only this function.
Reviewed-by: Simon Glass
Reviewed-by: Jagan Teki
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/sp
Fix some whitespace-related style violations in fdtdec.c.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
lib/fdtdec.c | 56 ++--
1 file changed, 30 insertions(+), 26 deletions(-)
diff --git a/lib/fdtdec.c b/
Fix whitespace style violations in the MPC83xx SPD-SDRAM code.
Signed-off-by: Mario Six
---
v1 -> v2:
* Fix compilation error (resulting from broken commit split)
---
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 142 +--
1 file changed, 71 insertions(+), 71 deleti
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/core/ofnode.c | 8
drivers/core/read.c | 5 +
include/dm/ofnode.h | 13 +
include/dm/read.h | 17 +
4 files changed, 43 insertions(+)
diff --git a/drivers/c
Judging from its name and parameters, device_is_compatible looks like it
is compatible with a live device tree, but it actually isn't.
Make it compatible with a live device tree.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/core/device.c | 7 ++
Fix some style violations in fdtdec.c, and reduce the scope of some
variables.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
lib/fdtdec.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/lib/fdtdec.c b/lib/fdtde
Fix style violations in the MPC83xx SPD-SDRAM code and make the code
more readable.
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 49
1 file changed, 22 insertions(+), 27 deletions(-)
diff --git a/arch/powerpc/
There are some whitespace-related style violations in read.c; fix those.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/core/read.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/core/read.c b/drivers/core/read.c
in
There are some style violations in ofnode.c; fix those.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v1 -> v2:
None
---
drivers/core/ofnode.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
in
There are some typos in the documentation of some functions in read.h;
fix those.
Signed-off-by: Mario Six
Reviewed-by: Simon Glass
---
v1 -> v2:
None
---
include/dm/read.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/dm/read.h b/include/dm/read.h
in
f69a66acd4156392b6a45cc51042b3 is the first bad commit
>> commit 0c98340717f69a66acd4156392b6a45cc51042b3
>> Author: Mario Six
>> Date: Fri Nov 24 07:51:40 2017 +0100
>>
>> drivers: core: Add translation in live tree case
>> The function dev_read_addr c
the live tree case as
well.
Signed-off-by: Mario Six
---
Changes v1 -> v2:
* Added IS_ENABLED(CONFIG_OF_TRANSLATE) case distinction
---
drivers/core/ofnode.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
in
the live tree case as
well.
Signed-off-by: Mario Six
---
drivers/core/ofnode.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index 9123e88425..d7d8f039b9 100644
--- a/drivers/core/ofnode.c
+++ b/drivers/core/ofnode.c
Hi,
On Mon, Oct 9, 2017 at 4:09 PM, Simon Glass wrote:
> Hi,
>
> On 9 October 2017 at 06:55, Dr. Philipp Tomsich
> wrote:
>>
>>> On 9 Oct 2017, at 14:45, Mario Six wrote:
>>>
>>> (adding Philipp since he converted lots of drivers to livetree rec
(adding Philipp since he converted lots of drivers to livetree recently)
On Mon, Oct 9, 2017 at 6:48 AM, Simon Glass wrote:
> Hi Mario,
>
> On 29 September 2017 at 06:51, Mario Six wrote:
>> The dev_read_addr function does not do any bus translations, and just
>> returns
Hi Simon,
On Mon, Oct 9, 2017 at 6:46 AM, Simon Glass wrote:
> On 29 September 2017 at 06:51, Mario Six wrote:
>> checkpatch.pl complains that the clk_ops structures used in clk-uclass.c
>> ought to be static, so we mark them as static.
>
> Do you mean static, or const?
&
Hi Masahiro,
On Fri, Sep 29, 2017 at 7:10 PM, Masahiro Yamada
wrote:
> 2017-09-29 21:52 GMT+09:00 Mario Six :
>> Signed-off-by: Mario Six
>> ---
>> drivers/mtd/cfi_flash.c | 26 ++
>> 1 file changed, 14 insertions(+), 12 deletions(-)
>
Hi Wolfgang,
On Fri, Sep 29, 2017 at 4:03 PM, Wolfgang Denk wrote:
> Dear Mario,
>
> In message <20170929125238.26226-2-mario@gdsys.cc> you wrote:
>> Fix whitespace style violations in the MPC83xx SPD-SDRAM code.
> ...
>
>> - ddr->csbnds[1].csbnds = ( (banksize(spd.row_dens) >> 8)
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 40a3544e5b..e640a70d0f 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index bc7bd3036e..2ff1a97658 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -490,7 +490,7
Make the MPC8xxx GPIO driver compatible with a live device tree.
Signed-off-by: Mario Six
---
drivers/gpio/mpc8xxx_gpio.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/gpio/mpc8xxx_gpio.c b/drivers/gpio/mpc8xxx_gpio.c
index 0aa72ecd9f..326fd1672d
n, so that the
short-circuit evaluation prevents out-of-bounds array accesses.
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 93bf9ed539..40a3544e5b 100644
checkpatch.pl complains about the spelling of ERR_TIMOUT. Since the
error is only used in a handful of files, we rename the error to
ERR_TIMEOUT.
Signed-off-by: Mario Six
---
board/cobra5272/flash.c | 2 +-
common/flash.c| 4 ++--
drivers/mtd/cfi_flash.c | 4 ++--
drivers/mtd
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 238
1 file changed, 118 insertions(+), 120 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index e640a70d0f..7795d25825 100644
--- a/drivers/mtd/cfi_flash.c
+++ b
Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions are
retained within #ifdefs.
No board uses the new DM driver yet; this patch only lays the foundation for
future support.
Signed-off-by: Mario Six
---
drivers/i2c/ihs_i2c.c | 201
From: Dirk Eibach
The initialization sequence described in the latest Release Notes
MV-S302033-00 for the Marvell 88E1518 phy omits two register writes.
Use this new sequence for the setup of this phy.
Signed-off-by: Dirk Eibach
Signed-off-by: Mario Six
---
board/gdsys/common/phy.c | 2
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 200
1 file changed, 100 insertions(+), 100 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 8c62648642..a766facb2a 100644
--- a/drivers/mtd/cfi_flash.c
+++ b
on is widely used, we refrain from
modifying it, and instead read the raw address from the device tree, and
apply the bus translations using the recently introduced
dev_translate_address function.
Signed-off-by: Mario Six
---
drivers/serial/ns16550.c | 5 +++--
1 file changed, 3 insertions(+), 2 dele
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 03bfb634cc..8c62648642 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -234,10 +234,10
Rename the Kconfig option, structures (and their members), as well as
functions of the mpc85xx driver to include mpc8xxx to reflect the more
generic usage.
Signed-off-by: Mario Six
---
arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 +-
drivers/gpio/Kconfig | 9
Fix some style violations (mostly wrong indentions) in the Marvell PHY
driver.
Signed-off-by: Mario Six
---
drivers/net/phy/marvell.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy
Fix some style violations in the MPC85XX GPIO driver.
Signed-off-by: Mario Six
---
drivers/gpio/mpc85xx_gpio.c | 42 ++
1 file changed, 22 insertions(+), 20 deletions(-)
diff --git a/drivers/gpio/mpc85xx_gpio.c b/drivers/gpio/mpc85xx_gpio.c
index
Make the cfi_flash driver compatible with a live device tree.
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 4415bcca24..accbd432e7 100644
) removed
the use of this function, hence rendering it obsolete.
Remove this function, as well as the CONFIG_OF_SPI option, which guarded
only this function.
Signed-off-by: Mario Six
---
drivers/spi/spi.c| 20
include/spi.h| 14 ---
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index a82f5272c1..cd89c666d6 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1919,8 +1919,7
h bits set.
Hence, this patch changes the behavior in the PHY_INTERFACE_MODE_RGMII
case so that both bits are set.
Signed-off-by: Mario Six
---
drivers/net/phy/marvell.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 428
1 file changed, 214 insertions(+), 214 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 8a5babea7b..b3dda8bd4a 100644
--- a/drivers/mtd/cfi_flash.c
+++ b
The MPC85xx GPIO driver was converted to handle a broader range of SoCs.
Prepare the MPC83xx code for usage of this driver.
Signed-off-by: Mario Six
---
arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8
1 file changed, 8 insertions(+)
diff --git a/arch/powerpc/include/asm/arch
From: Dirk Eibach
The phy on the CON2 module needs a defined reset pulse of at least 10 ms
to work reliably.
Signed-off-by: Dirk Eibach
Signed-off-by: Mario Six
---
board/gdsys/mpc8308/hrcon.c | 30 ++
board/gdsys/mpc8308/strider.c | 24
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 0d015a3863..a82f5272c1 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1820,9 +1820,9
case.
Signed-off-by: Mario Six
---
drivers/net/tsec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index aa261845f3..44140fb037 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -702,7 +702,9 @@ static int tsec_initialize(bd_t *bis, struct
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index b73b72bcee..2ec8f5a27b 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -555,7 +555,7 @@ static
s from
the whitelist).
Signed-off-by: Mario Six
---
board/gdsys/common/Makefile | 4 --
board/gdsys/common/miiphybb.c | 128 --
include/gdsys_fpga.h | 96 ---
scripts/config_whitelist.txt | 10
4 files ch
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index c597c621ca..bc7bd3036e 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
Fix some style violations in the generic PHY management code.
Signed-off-by: Mario Six
---
drivers/net/phy/phy.c | 82 ++-
1 file changed, 49 insertions(+), 33 deletions(-)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index cd89c666d6..c47ba416b9 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1280,7 +1280,6 @@ void flash_print_info
Make the tsec ethernet driver compatible with a live device tree.
Signed-off-by: Mario Six
---
drivers/net/tsec.c | 41 ++---
1 file changed, 18 insertions(+), 23 deletions(-)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 44140fb037..3eb09e93b2
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 1b0eb3398c..03bfb634cc 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
Signed-off-by: Mario Six
---
drivers/core/ofnode.c | 8
drivers/core/read.c | 5 +
include/dm/ofnode.h | 13 +
include/dm/read.h | 17 +
4 files changed, 43 insertions(+)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index
Simplify the driver logic by extracting a common send_buffer method.
Signed-off-by: Mario Six
---
drivers/i2c/ihs_i2c.c | 50 ++
1 file changed, 26 insertions(+), 24 deletions(-)
diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c
index
Judging from its name and parameters, device_is_compatible looks like it
is compatible with a live device tree, but it actually isn't.
Make is compatible with a live device tree.
Signed-off-by: Mario Six
---
drivers/core/device.c | 7 ++-
1 file changed, 6 insertions(+), 1 del
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index a28f5eaea9..1ccb05091d 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -269,6 +269,7
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index a766facb2a..a28f5eaea9 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -231,7
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 26 ++
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index c47ba416b9..c597c621ca 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
In preparation to making the MPC85xx GPIO driver useable for a broader
range of SoCs, rename the driver file.
Signed-off-by: Mario Six
---
drivers/gpio/Makefile | 2 +-
drivers/gpio/{mpc85xx_gpio.c => mpc8xxx_gpio.c} | 0
2 files changed, 1 insertion(+), 1 delet
Finally, make the mpc8xxx driver capable of handling more GPIO devices;
this entails adding a special case for the MPC5121 SoC, and adding a set
of new compatible strings.
Signed-off-by: Mario Six
---
drivers/gpio/mpc8xxx_gpio.c | 23 +--
1 file changed, 21 insertions(+), 2
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index b2857f372d..dff8b73055 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1686,8
Prepare the function interface of the ihs_i2c driver for DM conversion
in a future patch.
While we're at it, fix some style violations, and make the code more readable.
Signed-off-by: Mario Six
---
drivers/i2c/ihs_i2c.c | 69 +--
1 file ch
Fix some style violations in the board_r file.
Signed-off-by: Mario Six
---
common/board_r.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/common/board_r.c b/common/board_r.c
index 94697e7bc1..a81addc005 100644
--- a/common/board_r.c
+++ b
by always defining the cfi_flash_num_flash_banks variable.
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 7795d25825..4415bcca24 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers
Fix some style violations in the MDIO command.
Signed-off-by: Mario Six
---
cmd/mdio.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/cmd/mdio.c b/cmd/mdio.c
index 21dc103736..3f11963006 100644
--- a/cmd/mdio.c
+++ b/cmd/mdio.c
@@ -14,7 +14,6 @@
#include
#include
Fix some style violations in the board_f file.
Signed-off-by: Mario Six
---
common/board_f.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 9220815441..953b8fb3e7 100644
--- a/common/board_f.c
+++ b/common/board_f.c
The Makefile entries in the clk driver directory were not alphabetically
sorted. Correct this.
Signed-off-by: Mario Six
---
drivers/clk/Makefile | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index
Since gpio output status on MPC8xxx cannot be read back, it has to be
buffered locally.
Signed-off-by: Dirk Eibach
Signed-off-by: Mario Six
---
board/gdsys/mpc8308/hrcon.c | 4 ++--
board/gdsys/mpc8308/mpc8308.c | 19 +++
board/gdsys/mpc8308/mpc8308.h | 3 +++
board/gdsys
Previous patches removed the last usages of this config variable, so
that it is now obsolete.
This patch removes it from the whitelist.
Signed-off-by: Mario Six
---
scripts/config_whitelist.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/config_whitelist.txt b/scripts
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 229e0a8177..2a165cb328 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1154,10 +1154,12
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 2ff1a97658..b2857f372d 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1254,10
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 48
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 5576092d8f..229e0a8177 100644
--- a/drivers/mtd/cfi_flash.c
+++ b
There are some style violations in ofnode.c; fix those.
Signed-off-by: Mario Six
---
drivers/core/ofnode.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index c6ca13fabf..a59e40aa97 100644
--- a/drivers/core
Fix whitespace style violations in the MPC83xx SPD-SDRAM code.
Signed-off-by: Mario Six
---
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 134 +--
1 file changed, 67 insertions(+), 67 deletions(-)
diff --git a/arch/powerpc/cpu/mpc83xx/spd_sdram.c
b/arch/powerpc/cpu
Signed-off-by: Mario Six
---
drivers/mtd/cfi_flash.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 2ec8f5a27b..5576092d8f 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -946,7 +946,8
Fix some style violations in the gdsys MPC8308 board files, and make the
code more readable.
Signed-off-by: Mario Six
---
board/gdsys/mpc8308/hrcon.c | 55 ++-
board/gdsys/mpc8308/mpc8308.c | 12 +-
board/gdsys/mpc8308/strider.c | 49
801 - 900 of 1189 matches
Mail list logo