to KBUILD_LDFLAGS in order to suppress this warning.
Reported-by: Stephane Franjou
Signed-off-by: Christophe Leroy
---
arch/powerpc/config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index 725a4f48aa..53124f4e80 100644
--- a/arch
9c5df7a2a9 ("mpc83xx: Migrate LBLAW_* to Kconfig")
Signed-off-by: Christophe Leroy
Fixes: 9fd9abedcc ("TQM834x: remove defines causing gcc4.4 warnings")
---
arch/powerpc/cpu/mpc83xx/cpu_init.c | 16
1 file changed, 16 deletions(-)
diff --git a/arch/powerpc/
moved from whitelist by
commit 8cca60a2cb ("Kconfig: Remove some symbols from the whitelist")
Signed-off-by: Christophe Leroy
Fixes: fae2ea5951 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support")
---
arch/powerpc/cpu/mpc83xx/cpu_init.c | 8
1 file changed, 8 del
Le 14/03/2023 à 18:55, Tom Rini a écrit :
> On Tue, Mar 14, 2023 at 05:27:34AM +0000, Christophe Leroy wrote:
>> Hi Tom,
>>
>> Le 14/03/2023 à 01:53, Tom Rini a écrit :
>>> Hey all,
>>>
>>> It's the scheduled day for -rc4, and once again it
Hi Tom,
Le 14/03/2023 à 01:53, Tom Rini a écrit :
> Hey all,
>
> It's the scheduled day for -rc4, and once again it's the end of my day.
> The delta between -rc3 and -rc4 is about what I would hope for. I still
> hope to see a PR to fix m68k, and to address some mpc8xx problems as
> well, but
d it so that you now just have to provide the raw
value of each register in Kconfig. However, all fine-grained
Kconfig items remained allthough they are not used anymore.
Remove them all.
Fixes: c7fad78ec0 ("Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig")
Signed-off-by: Christophe Leroy
08:47:58 +0100)
--------
Christophe Leroy (9):
powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f()
board: MCR3000: Use lowercase filenames
board: MCR3000: Migrate to using CONFIG_EXTRA_ENV_TEXT
board: MCR3000: Modernis
was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
arch/powerpc/cpu/mpc8xx/Kconfig | 4 +
arch/powerpc/dts/Makefile | 1 +
arch/powerpc/dts/cmpc885.dts| 94
board
eliminates unrelated nodes based on
detected hardware.
This patch was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
board/cssi/cmpc885/cmpc885.c | 286
Ports A, C and D are 16 bits ports.
Ports B and E are 32 bits ports.
The "compatible" is used to determine each port type.
This patch was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-b
We can move all of the environment changes to come
from CONFIG_EXTRA_ENV_TEXT.
Suggested-by: Tom Rini
Signed-off-by: Christophe Leroy
---
board/cssi/mcr3000/mcr3000.env | 14 +++
include/configs/mcr3000.h | 43 --
2 files changed, 14 insertions
increase CFG_SYS_BOOTMAPSZ to 32Mbytes and define
CONFIG_SYS_BOOTM_LEN with the same value, otherwise it defaults
to 8M which is not sufficient anymore with nowadays Linux kernels.
And set the netmask to 255.255.255.0 as a class C address is used.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU
Rename MCR3000.* to mcr3000.* to be more in line with
other boards.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfig | 2 +-
board/cssi/MAINTAINERS | 2 +-
board/cssi/{MCR3000 => mcr3000}/Kconfig | 4 ++--
bo
/-/pipelines/15137
Christophe Leroy (8):
board: MCR3000: Use lowercase filenames
board: MCR3000: Migrate to using CONFIG_EXTRA_ENV_TEXT
board: MCR3000: Modernise the settings to properly work on lastest
u-boot version
board: MCR3000: Remove update of non-existing e1-wan DT node
driver
by board_early_init_r().
This patch was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
drivers/spi/mpc8xx_spi.c | 96
1 file changed, 59 insertions
-wan:channel-phase,
err=FDT_ERR_NOTFOUND
Unable to update property /localbus/e1-wan:rising-edge-sync-pulse,
err=FDT_ERR_NOTFOUND
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
board/cssi/mcr3000/mcr3000.c | 12
1 file changed, 12 deletions(-)
diff --git
was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
arch/powerpc/cpu/mpc8xx/Kconfig | 4 +
arch/powerpc/dts/Makefile | 1 +
arch/powerpc/dts/cmpc885.dts| 94
board
by board_early_init_r().
This patch was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
drivers/spi/mpc8xx_spi.c | 96
1 file changed, 59 insertions
Ports A, C and D are 16 bits ports.
Ports B and E are 32 bits ports.
The "compatible" is used to determine each port type.
This patch was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-b
eliminates unrelated nodes based on
detected hardware.
This patch was originally written by Charles Frey who's
email address is not valid anymore as he left the company.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
board/cssi/CMPC885/cmpc885.c | 286
increase CONFIG_SYS_BOOTMAPSZ to 32Mbytes and define
CONFIG_SYS_BOOTM_LEN with the same value, otherwise it defaults
to 8M which is not sufficient anymore with nowadays Linux kernels.
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
configs/MCR3000_defconfig | 8 ++--
include
-wan:channel-phase,
err=FDT_ERR_NOTFOUND
Unable to update property /localbus/e1-wan:rising-edge-sync-pulse,
err=FDT_ERR_NOTFOUND
Signed-off-by: Christophe Leroy
Reviewed-by: FRANJOU Stephane
---
board/cssi/MCR3000/mcr3000.c | 12
1 file changed, 12 deletions(-)
diff --git
included MCR3000 board in order to get more similarities.
Christophe Leroy (7):
board: MCR3000: Use lowercase filename
board: MCR3000: Modernise the settings to properly work on lastest
u-boot version
board: MCR3000: Remove update of non-existing e1-wan DT node
driver, gpio: Add support
Rename MCR3000.c to mcr3000.c to be more in line with
other boards.
Signed-off-by: Christophe Leroy
---
board/cssi/MCR3000/Makefile | 2 +-
board/cssi/MCR3000/{MCR3000.c => mcr3000.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename board/cssi/MCR3000/{MCR300
This patch sets the r3 register that is used to pass the boot_flags
argument from the start.S board_init_f() call to 0 prior to the function
call to avoid unknown content to end up in gd->flags.
Signed-off-by: Christophe Leroy
Fixes: 09f3ca3dd53 ("arm, powerpc: select SYS_GENERIC_BOARD"
Le 28/01/2023 à 11:08, Christophe Leroy a écrit :
> Hi,
>
> I'm trying to boot MCR3000 board with U-boot 2023.01 and it crashes in
> the weed in fdtdec_setup().
>
> I bisected the issue to commit 50128aeb0f8 ("cyclic: get rid of
> cyclic_init()")
>
>
Hi,
I'm trying to boot MCR3000 board with U-boot 2023.01 and it crashes in
the weed in fdtdec_setup().
I bisected the issue to commit 50128aeb0f8 ("cyclic: get rid of
cyclic_init()")
At the time being I don't understand what happens.
The problem is here below, idx is in the weed, I don't
nce Manual" says the
same: "Neither the W or G bits of the IBAT registers should be set.
Attempting to write to these bits causes boundedly-undefined results."
Remove the possibility to set those bytes.
Fixes: 30915ab95d9 ("mpc83xx: Migrate BATS config to Kconfig")
Signed-
Le 27/01/2023 à 08:43, Rasmus Villemoes a écrit :
> [Vous ne recevez pas souvent de courriers de rasmus.villem...@prevas.dk.
> Découvrez pourquoi ceci est important à
> https://aka.ms/LearnAboutSenderIdentification ]
>
> On 26/01/2023 19.17, Christophe Leroy wrote:
>&g
volatile [noderef] *addr
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c:155:33:got unsigned int
[usertype] *mxmr
Signed-off-by: Christophe Leroy
---
CC: Masahiro Yamada
---
include/linux/build_bug.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/build_bug.h b/include/linux
Le 18/12/2022 à 11:59, Pali Rohár a écrit :
> On Sunday 18 December 2022 09:29:23 Christophe Leroy wrote:
>>>>>>>> - binman {
>>>>>>>> - filename = "u-boot-with-dtb.bin";
>>>>>
Le 17/12/2022 à 23:15, Pali Rohár a écrit :
> + Christophe and Mario: Could you please take this u-boot ppc patch?
>
> On Friday 16 December 2022 19:16:38 Pali Rohár wrote:
>> PING?
>>
>> On Monday 21 November 2022 18:40:41 Pali Rohár wrote:
>>> + Tom
>>>
>>> On Tuesday 01 November 2022
This patch updates my email address and company name.
Signed-off-by: Christophe Leroy
---
board/cssi/MAINTAINERS | 4 ++--
doc/git-mailrc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/cssi/MAINTAINERS b/board/cssi/MAINTAINERS
index cbf1406a54..7d237b0b20
Migrate mpc8xx_fec driver to DM_ETH.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/cpu.c | 12 ---
arch/powerpc/dts/mcr3000.dts | 4 +
configs/MCR3000_defconfig | 1 +
drivers/net/Kconfig | 1 +
drivers/net/mpc8xx_fec.c | 189
Le 31/01/2022 à 08:20, Ovidiu Panait a écrit :
> There are no boards that define CONFIG_SYS_RESET_ADDRESS, so drop the
> associated mpc8xx code that checks for it.
>
> Signed-off-by: Ovidiu Panait
Acked-by: Christophe Leroy
> ---
>
> arch/powerpc/
Hi Tom,
Le 15/09/2021 à 01:01, Tom Rini a écrit :
Hey all,
Alright, I'm a day late, but, here's v2021.10-rc4. We've had a few
regressions pop up of late, unfortunately. I've pushed the fix for
(what I believe are) existing FIT images showing a problem where we
calculated the crc32 wrong.
Le 08/08/2021 à 13:20, Pali Rohár a écrit :
It is unknown why version string is placed at specific position on these
powerpc mpc platforms. But there is no need to overload version_string
symbol. Just use common definition of version_string and modify linker
script to put it at "correct
Forgot to CC the list
Le 24/08/2021 à 07:17, Christophe Leroy a écrit :
Jway, Alex,
Your commit 047e31ed4b4d ("led: led_cortina: Add CAxxx LED support") changed the email address of
POWERPC MPC8XX maintainer. What's the reason ?
Can you please revert that change ?
Thanks
Christo
Le 08/08/2021 à 13:36, Pali Rohár a écrit :
Christophe, could you please review this change? According to your commit
https://source.denx.de/u-boot/u-boot/-/commit/907208c452999427cb2f43450308045bf8b42958
mpc8xx code will have to be maintained until at least 2027.
On Sunday 08 August 2021
uot; check just needs to be tweaked a little to allow
the now==next_reset case as well.
Suggested-by: Christophe Leroy
Signed-off-by: Rasmus Villemoes
---
It's the option I dislike the most (because of the DT abuse), but I
also do accept that it's the one with the minimal code impact, and
Le 09/04/2021 à 16:12, Rasmus Villemoes a écrit :
On powerpc, time as measured by get_timer() ceases to pass when
interrupts are disabled (since on powerpc get_timer() returns the
value of a volatile variable that gets updated via a timer
interrupt). That in turn means the watchdog_reset()
Our email addresses have changed from @c-s.fr to @csgroup.eu
Update entry in MAINTAINERS
Signed-off-by: Christophe Leroy
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ec59ce8b8802..d67112479700 100644
--- a/MAINTAINERS
+++ b
Le 30/04/2020 à 21:06, Rasmus Villemoes a écrit :
On 30/04/2020 17.03, Christophe Leroy wrote:
Le 30/04/2020 à 16:44, Rasmus Villemoes a écrit :
Hi,
I'm wondering why the sysreset_mpc83xx driver (as well as the similar
code in arch/powerpc/cpu/mpc83xx/cpu.c) removes the MSR_IR and MSR_DR
Le 30/04/2020 à 16:44, Rasmus Villemoes a écrit :
Hi,
I'm wondering why the sysreset_mpc83xx driver (as well as the similar
code in arch/powerpc/cpu/mpc83xx/cpu.c) removes the MSR_IR and MSR_DR
bits from MSR.
On my mpc8309, that seems to simply make the board hang right after
writing the
Le 17/03/2020 à 14:07, Rasmus Villemoes a écrit :
In any case it seems to me a board specific redefinition of the
WATCHDOG_RESET macro would be less intrusive and risky than changing
code that has been there since the beginning of time (well, at least
more than 18 years).
The point is,
Le 09/08/2019 à 08:30, Heinrich Schuchardt a écrit :
Currently dozens of boards still do not use the driver model for the
network devices. This makes integration between devices in the UEFI
sub-system with the U-Boot devices complicated.
See:
Le 25/02/2020 à 17:40, Tom Rini a écrit :
On Thu, Feb 20, 2020 at 07:39:51AM +, Christophe Leroy wrote:
Commit f3729ba6e7b2 ("watchdog: mpc8xx_wdt: Watchdog driver and macros
cleanup") switched the watchdog to CONFIG_WATCHDOG. But this is not
compatible with the 8xx because
ive.
Make CONFIG_WATCHDOG dependent on !CONFIG_HW_WATCHDOG
Fixes: 06985289d452 ("watchdog: Implement generic watchdog_reset() version")
Cc: Stefan Roese
Signed-off-by: Christophe Leroy
---
drivers/watchdog/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchd
29ba6e7b2 ("watchdog: mpc8xx_wdt: Watchdog driver and macros cleanup")
Fixes: b3134ffbd944 ("watchdog: Kconfig: Sort entry alphabetically")
Signed-off-by: Christophe Leroy
Cc: Stefan Roese
Cc: Patrice Chotard
---
arch/powerpc/cpu/mpc8xx/Kconfig | 4
drivers/watchdog
On 02/20/2020 05:37 AM, Stefan Roese wrote:
Hi Christophe,
On 19.02.20 20:15, Christophe Leroy wrote:
Hi Stefan,
On 04/25/2019 07:17 AM, Stefan Roese wrote:
With the generic watchdog driver now implemented, this patch removes
some legacy stuff from the MPC8xx watchdog driver and its
On 02/20/2020 05:43 AM, Stefan Roese wrote:
Hi Christophe
On 19.02.20 20:21, Christophe Leroy wrote:
Le 25/04/2019 à 09:17, Stefan Roese a écrit :
This patch tries to implement a generic watchdog_reset() function that
can be used by all boards that want to service the watchdog device
Schwierzeck
Cc: Maxim Sloyko
Cc: Erik van Luijk
Cc: Ryder Lee
Cc: Weijie Gao
Cc: Simon Glass
Cc: "Álvaro Fernández Rojas"
Cc: Philippe Reynes
Cc: Christophe Leroy
Cc: Chris Packham
Reviewed-by: Michal Simek
Tested-by: Michal Simek (on zcu100)
---
[...]
diff --git a/drivers/
, as the watchdog will now get
serviced via the DM infrastructure if enabled via CONFIG_WATCHDOG.
Signed-off-by: Stefan Roese
Cc: Christophe Leroy
---
v5:
- No change
v4:
- New patch
arch/powerpc/Kconfig| 2 +-
arch/powerpc/cpu/mpc8xx/Kconfig | 6 +++---
drivers/watchdog/Kconfig| 1
Hello Patrice,
In commit b3134ffbd9 ("watchdog: Kconfig: Sort entry alphabetically")
you bring back the line "select CONFIG_MPC8xx_WATCHDOG" removed by
Stefan in commit f3729ba6e7 ("watchdog: mpc8xx_wdt: Watchdog driver and
macros cleanup") three weeks before.
Was that wanted ?
Thanks
variable 'watchdog_mode'.
If it is 'off', the watchdog is not started. If it is 'nmi',
the watchdog is started in NMI mode. Otherwise, it is started
in reset mode which is the default mode.
Signed-off-by: Charles Frey
Signed-off-by: Christophe Leroy
---
drivers/watchdog/mpc8xx_wdt.c | 10
Le 29/01/2020 à 17:07, Tom Rini a écrit :
To match the other PowerPC platforms the function show_regs() must not
be marked static but instead be an exposed global function.
Cc: Christophe Leroy
Cc: Wolfgang Denk
Signed-off-by: Tom Rini
Acked-by: Christophe Leroy
---
I stumbled
Le 21/11/2018 à 10:09, Jagan Teki a écrit :
On Wed, Nov 21, 2018 at 2:21 PM Christophe Leroy
wrote:
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 179 ---
Update Kconfig to move the config definition in DM_SPI area.
You did
Le 21/11/2018 à 11:18, Jagan Teki a écrit :
On Wed, Nov 21, 2018 at 2:39 PM Jagan Teki wrote:
On Wed, Nov 21, 2018 at 2:21 PM Christophe Leroy
wrote:
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 179 ---
How did you handle
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/mcr3000.dts | 7 +++
configs/MCR3000_defconfig| 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/powerpc/dts/mcr3000.dts b/arch/powerpc/dts/mcr3000.dts
index ef423d73c20..5abf111dc5f 100644
--- a/arch/powerpc/dts/mcr3000.dts
CC common/board_r.o
common/board_r.c:747:2: error: ‘initr_spi’ undeclared here (not in a function)
initr_spi,
^
make[1]: *** [common/board_r.o] Error 1
Fixes: ebe76a2df9f6 ("dm: Remove spi_init() from board_r.c when using driver
model")
Signed-off-by: Christophe Leroy
-
Signed-off-by: Christophe Leroy
---
drivers/serial/serial_mpc8xx.c | 77 --
1 file changed, 74 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/serial_mpc8xx.c b/drivers/serial/serial_mpc8xx.c
index 292912b7ee2..f2d241417a4 100644
--- a/drivers
Signed-off-by: Christophe Leroy
---
drivers/serial/serial.c| 2 -
drivers/serial/serial_mpc8xx.c | 97 ++
include/serial.h | 1 -
3 files changed, 14 insertions(+), 86 deletions(-)
diff --git a/drivers/serial/serial.c b/drivers
This patch switches MCR3000 board to the new DM watchdog.
The change in u-boot.lds is because MCR3000.o grows a bit
with this patch and doesn't fit anymore below env_offset on
some versions of GCC.
Signed-off-by: Christophe Leroy
---
v2: fixed build failure for lack of space before env_offset
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 179 ---
1 file changed, 30 insertions(+), 149 deletions(-)
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c
index 285fd4d2cc0..b020ce2b9d7 100644
--- a/drivers/spi
wdt_start() to stop the
watchdog, but cannot be called if wdt_start() has been called.
Signed-off-by: Christophe Leroy
---
drivers/watchdog/Kconfig | 7 ++
drivers/watchdog/mpc8xx_wdt.c | 51 +++
2 files changed, 58 insertions(+)
diff --git
Add mcr3000 device tree and activate CONFIG_DM and CONFIG_OF_CONTROL
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/Makefile | 1 +
arch/powerpc/dts/mcr3000.dts | 12
board/cssi/MCR3000/u-boot.lds | 6 ++
configs/MCR3000_defconfig | 3 +++
4 files changed, 22
Reported-by: Joakim Tjernlund
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/start.S | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/cpu/mpc8xx/start.S b/arch/powerpc/cpu/mpc8xx/start.S
index 8dde4beeea1..b8bdaaec2fa 100644
--- a/arch/powerpc/cpu
Le 20/11/2018 à 15:56, Tom Rini a écrit :
On Tue, Nov 06, 2018 at 11:25:41AM +, Christophe Leroy wrote:
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/mcr3000.dts | 3 +++
board/cssi/MCR3000/MCR3000.c | 16
configs/MCR3000_defconfig| 3 +++
3 files
Le 05/11/2018 à 11:11, Jagan Teki a écrit :
On Fri, Mar 2, 2018 at 3:17 PM Christophe LEROY wrote:
Le 26/02/2018 à 15:43, Jagan Teki a écrit :
- Driver not used by any boards
This driver should be used by MCR3000 board. For the time
being SPI is not activated on that board because we
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 179 ---
1 file changed, 30 insertions(+), 149 deletions(-)
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c
index 285fd4d2cc0..b020ce2b9d7 100644
--- a/drivers/spi
Signed-off-by: Christophe Leroy
---
drivers/serial/serial_mpc8xx.c | 77 --
1 file changed, 74 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/serial_mpc8xx.c b/drivers/serial/serial_mpc8xx.c
index 292912b7ee2..f2d241417a4 100644
--- a/drivers
Signed-off-by: Christophe Leroy
---
drivers/serial/serial.c| 2 -
drivers/serial/serial_mpc8xx.c | 97 ++
include/serial.h | 1 -
3 files changed, 14 insertions(+), 86 deletions(-)
diff --git a/drivers/serial/serial.c b/drivers
CC common/board_r.o
common/board_r.c:747:2: error: ‘initr_spi’ undeclared here (not in a function)
initr_spi,
^
make[1]: *** [common/board_r.o] Error 1
Fixes: ebe76a2df9f6 ("dm: Remove spi_init() from board_r.c when using driver
model")
Signed-off-by: Christophe Leroy
-
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/mcr3000.dts | 7 +++
configs/MCR3000_defconfig| 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/powerpc/dts/mcr3000.dts b/arch/powerpc/dts/mcr3000.dts
index ef423d73c20..5abf111dc5f 100644
--- a/arch/powerpc/dts/mcr3000.dts
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/mcr3000.dts | 3 +++
board/cssi/MCR3000/MCR3000.c | 16
configs/MCR3000_defconfig| 3 +++
3 files changed, 22 insertions(+)
diff --git a/arch/powerpc/dts/mcr3000.dts b/arch/powerpc/dts/mcr3000.dts
index e4b222857b5
wdt_start() to stop the
watchdog, but cannot be called if wdt_start() has been called.
Signed-off-by: Christophe Leroy
---
drivers/watchdog/Kconfig | 7 ++
drivers/watchdog/mpc8xx_wdt.c | 51 +++
2 files changed, 58 insertions(+)
diff --git
Reported-by: Joakim Tjernlund
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/start.S | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/cpu/mpc8xx/start.S b/arch/powerpc/cpu/mpc8xx/start.S
index 8dde4beeea1..b8bdaaec2fa 100644
--- a/arch/powerpc/cpu
Add mcr3000 device tree and activate CONFIG_DM and CONFIG_OF_CONTROL
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/Makefile | 1 +
arch/powerpc/dts/mcr3000.dts | 12
board/cssi/MCR3000/u-boot.lds | 6 ++
configs/MCR3000_defconfig | 3 +++
4 files changed, 22
Hi Mario,
Le 10/08/2018 à 09:57, Mario Six a écrit :
Hi Christophe,
On Fri, Aug 10, 2018 at 9:35 AM Christophe LEROY
wrote:
Hello Mario,
Le 26/04/2018 à 10:36, Mario Six a écrit :
Hi Joakim,
On Thu, Apr 26, 2018 at 10:23 AM, Joakim Tjernlund
wrote:
On Thu, 2018-04-26 at 11:35 +0530
Hello Mario,
Le 26/04/2018 à 10:36, Mario Six a écrit :
Hi Joakim,
On Thu, Apr 26, 2018 at 10:23 AM, Joakim Tjernlund
wrote:
On Thu, 2018-04-26 at 11:35 +0530, Jagan Teki wrote:
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless
Le 26/05/2018 à 11:33, Chris Packham a écrit :
Now that there are more boards defining this it can be removed from the
whitelist.
You mean 'no more' boards ?
Christophe
Signed-off-by: Chris Packham
---
scripts/config_whitelist.txt | 1 -
1 file changed, 1
Hi Mario,
Le 04/05/2018 à 11:56, Mario Six a écrit :
Hi Christophe,
On Fri, May 4, 2018 at 7:20 AM, Christophe LEROY
<christophe.le...@c-s.fr> wrote:
Hello,
Le 16/03/2018 à 17:32, Christophe Leroy a écrit :
This serie is the beginning of MPC8xx migration to DM model.
I didn't g
Hello,
Le 16/03/2018 à 17:32, Christophe Leroy a écrit :
This serie is the beginning of MPC8xx migration to DM model.
I didn't get any feedback on this serie. I don't feel totally
confortable as it is my first implementation of DM and also the first
time powerpc uses DT for U-boot.
I'd
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
drivers/serial/serial_mpc8xx.c | 77 --
1 file changed, 74 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/serial_mpc8xx.c b/drivers/serial/serial_mpc8xx.c
index 7a590
wdt_start() to stop the
watchdog, but cannot be called if wdt_start() has been called.
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
drivers/watchdog/Kconfig | 7 ++
drivers/watchdog/mpc8xx_wdt.c | 51 +++
2 files chang
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
drivers/serial/serial.c| 2 -
drivers/serial/serial_mpc8xx.c | 97 ++
include/serial.h | 1 -
3 files changed, 14 insertions(+), 86 deletions(-)
diff --git a/d
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/powerpc/dts/mcr3000.dts | 7 +++
configs/MCR3000_defconfig| 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/powerpc/dts/mcr3000.dts b/arch/powerpc/dts/mcr3000.dts
index ef423d73c20..5abf111dc5f 100644
---
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/powerpc/dts/mcr3000.dts | 3 +++
board/cssi/MCR3000/MCR3000.c | 16
configs/MCR3000_defconfig| 2 ++
include/configs/MCR3000.h| 1 +
4 files changed, 22 insertions(+)
diff --git a/arch/power
Add mcr3000 device tree and activate CONFIG_DM and CONFIG_OF_CONTROL
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/powerpc/dts/Makefile | 16
arch/powerpc/dts/mcr3000.dts | 12
board/cssi/MCR3000/u-boot.lds | 6 ++
c
This serie is the beginning of MPC8xx migration to DM model.
It applies on top of the serie "[v4] Powerpc: mpc8xx: cleanup before migration
to DM model"
Christophe Leroy (6):
board: MCR3000: Activate CONFIG_DM and CONFIG_OF_CONTROL
drivers: watchdog: add a DM driver for the MPC8x
as bootargs is set by the different boot commands
Fix CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE to be in
line with CPM DPRAM organisation
Remove CONFIG_SYS_GBL_DATA_SIZE, CONFIG_SYS_GBL_DATA_OFFSET and
CONFIG_SYS_INIT_SP_OFFSET which are unused
Signed-off-by: Christophe Leroy
reginfo is redundant with some of the commands in immap.c, so
move reginfo into that file and remove duplicated info.
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/powerpc/cpu/mpc8xx/Makefile | 1 -
arch/powerpc/cpu/mpc8xx/immap.c | 20 +++
arch/power
Since commit 17cb4b8f327eb ("mtd: nand: Add+use mtd_to/from_nand and
nand_get/set_controller_data"), mtd_to_nand() has to be used instead
of mtd->priv
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
board/cssi/MCR3000/nand.c | 2 +-
1 file changed, 1 inser
if needed one day.
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/powerpc/include/asm/cpm_8xx.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/include/asm/cpm_8xx.h
b/arch/powerpc/include/asm/cpm_8xx.h
index bd8ad
nt)
Fixes: 7653942b10e9e ("common/env_embedded.c: drop support for
CONFIG_SYS_USE_PPCENV")
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
env/embedded.c| 8
include/env_default.h | 2 +-
2 f
is a single piece occupying the 256 first
kbytes, then the environment is stored in the following 64kb block
The environment being quite tiny, we save one 64kb block by embedding
the environment in the first 8kb block, hence allowing to increase
the monitor size to 320kb.
Signed-off-by: Christophe
In preparation of DM watchdog, move basic actions into drivers/watchdog
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/powerpc/Kconfig| 2 +-
arch/powerpc/cpu/mpc8xx/Kconfig | 4
arch/powerpc/cpu/mpc8xx/cpu.c | 12
drivers/watchdog/Ma
In preparation of migration to DM watchdog, clean up a bit.
The 8xx watchdog really is a HW watchdog, so declare it as is
then it goes through Kconfig
And the watchdog reset doesn't mind getting interrupted, so
no need to disable interrupts
Signed-off-by: Christophe Leroy <christophe.le..
u-boot requires some RAM at startup, to store global data structure.
RAM is also needed when we migrate to DM for some initial malloc
This patch implements the proper init of that RAM by calling
board_init_f_alloc_reserve() and board_init_f_init_reserve()
Signed-off-by: Christophe Leroy
SPRN_IMMR is defined regardless of the CPU. Therefore, there
is no point in enclosing get_immr() inside a #ifdef CONFIG_8xx
As it a static inline function, it will in any case only be
compiled in functons using it.
Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>
---
arch/p
101 - 200 of 351 matches
Mail list logo