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
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 oth
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 i
ed 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
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/
act on other targets.
Fixes: 29caf9305b6 ("cyclic: Use schedule() instead of WATCHDOG_RESET()")
Signed-off-by: Christophe Leroy
---
lib/lzma/LzmaDec.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/lib/lzma/LzmaDec.c b/lib/lzma/LzmaDec.c
index
el image decompression now takes 85 milliseconds on a powerpc 8xx.
Fixes: 29caf9305b6 ("cyclic: Use schedule() instead of WATCHDOG_RESET()")
Signed-off-by: Christophe Leroy
---
arch/powerpc/lib/Kconfig | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/p
e:
>> On Wed, 5 Jul 2023 at 09:54, Christophe Leroy
>> wrote:
>>>
>>> Uncompressing a 1.7Mbytes FIT image on U-boot 2023.04 takes
>>> approx 7s on a powerpc 8xx.
>>> The same on U-boot 2023.07-rc6 takes approx 28s unless watchdog
>>> is
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
8xx has CONFIG_8xx_GCLK_FREQ which is similar to
CONFIG_SYS_CLK_FREQ, and doesn't set CONFIG_SYS_CLK_FREQ.
Due to that, get_board_sys_clk() returns 0.
Remove CONFIG_8xx_GCLK_FREQ and use CONFIG_SYS_CLK_FREQ instead.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfi
board
This series is based on today's next tree and has passed CI tests at
https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/15928
Christophe Leroy (14):
powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ
watchdog: mpc8xx: Rename it mpc8xxx
watchdog: mpc8xxx: Make it ge
entries to provide initial RAM.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc83xx/start.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S
index 4329b173db..6749263da8 100644
--- a/arch/powerpc/cpu
According to the reference manual, the Reset Configuration
Word Low Register bits 2-3 must be set to 0b10.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/powerpc/cpu/mpc83xx/hrcw/Kconfig
b
SYPCR from Kconfig.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfig| 3 +-
arch/powerpc/cpu/mpc8xx/cpu_init.c | 5 +--
arch/powerpc/dts/cmpc885.dts | 12 ++---
arch/powerpc/dts/mcr3000.dts | 20 -
board/cssi/mcr3000/mcr3000.c | 14 --
co
There are helpers included in soc.h
Declare them static inline so that soc.h can be
included in several places.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/arch-mpc83xx/soc.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc
gd->arch.sdhc_clk only exists when CONFIG_FSL_ESDHC is set,
so enclose it inside ifdefs.
gd->arch.qe_clk and gd->arch.brg_clk must be populated when
CONFIG_QE is set.
Signed-off-by: Christophe Leroy
---
drivers/clk/mpc83xx_clk.c | 7 +++
1 file changed, 7 insertions(+)
dif
Introduce a new compatible "fsl,pq2pro-wdt"
On mpc83xx, the prescaling factor is 0x1.
Don't write the watchdog configuration register in
start.S as it can be written only once.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc83xx/cpu.c | 2 +-
arch/powerpc/cpu/mpc8
mpc8xx, mpc83xx and mpc86xx have similar watchdog with almost same
memory registers.
Rename it mpc8xxx which is the generic name used for drivers supporting
several mpc families.
The driver will be made more generic in following patch.
Signed-off-by: Christophe Leroy
---
arch/powerpc/Kconfig
All the code used to manage the mother boards will be
common to soon to come CPU board.
Move all that code into common.c
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 152 +--
board/cssi/common/common.c | 124
The mpc832x has GPIOs handled by the QUICC Engine.
The registers are different from the one for the
non QE mpc83xx GPIOs.
Implement a GPIO driver for those.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 5 +
drivers/gpio/Kconfig
In preparation of the new cssi board called cmpcpro which
we be introduce in a future patch, move common
functions into a dedicated file in a common directory.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/Makefile | 2 +-
board/cssi/cmpc885/cmpc885.c | 54
CSSI has another CPU board, similar to the CMPC885 board
that get plugged on the two base boards MCR3000_2G and MIAE.
That CPU board is called CMPCPRO because it has a MPC8321E CPU,
also known as Power QUICC II PRO.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc83xx/Kconfig | 5
then
receive the content of the EEPROM so that there don't be
3 dummy bytes at the beginning of the buffer.
And move the function into common.c so that it can be
reused by the board that will be added in a future patch.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c
most significant byte while
received data is located in second byte. So perform the
necessary shifts.
In order to differentiate with other CPUs, a new compatible is
added for mpc832x: fsl,mpc832x-spi
Signed-off-by: Christophe Leroy
Cc: Rasmus Villemoes
---
arch/powerpc/include/asm
st be fine.
Therefore this change should be ok for powerpc.
Acked-by: Christophe Leroy
>
> This has been tested on qemu-ppce500
>
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v3:
> - Mention testing on qemu-ppce500
>
> Changes in v2:
>
; !defined(CONFIG_ARCH_MX6)
>>>> - /*
>>>> - * timer_init() does not exist on PPC systems. The timer is
>>>> initialized
>>>> - * and enabled (decrementer) in interrupt_init() here.
>>>> - */
>>>>timer_in
tead of
leaving a potentially random value. That should just be fine.
Therefore this change should be ok for powerpc.
Acked-by: Christophe Leroy
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v3)
>
> Changes in v3:
> - Mention testing on qemu-ppce500
>
Use a hashed password instead of clear text in order to
improve board security.
Signed-off-by: Christophe Leroy
---
Will be part of soon to come pull request
configs/CMPC885_defconfig | 5 -
configs/MCR3000_defconfig | 5 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a
2:23 +0200)
----
Christophe Leroy (15):
powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ
watchdog: mpc8xx: Rename it mpc8xxx
watchdog: mpc8xxx: Make it generic
watchdog: mpc8xxx: Add support for mpc83xx
powerpc: mpc832x: Fix reset word
powerpc: mpc83xx:
Le 03/05/2023 à 22:02, Tom Rini a écrit :
> On Thu, Jan 26, 2023 at 07:17:48PM +0100, Christophe Leroy wrote:
>
>> When doing a build with C=2, the following failure is encountered on
>> several files:
>>
>>CHECK arch/powerpc/cpu/mpc8xxx/fsl_lbc.c
&g
Three unused macros were left over. Remove them.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpcpro/cmpcpro.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/board/cssi/cmpcpro/cmpcpro.c b/board/cssi/cmpcpro/cmpcpro.c
index 3e9ba6a4cc..8a30c48e35 100644
--- a/board/cssi/cmpcpro
A duplicated FPGA loading sequence appears after FPGA reset.
Remove it.
Fixes: dac3c6f625 ("board: cssi: Add new board MCR3000_2G")
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/board/cssi/cmpc885/c
This series adds misc fixes for cssi boards and activates
CPM relocation in order to enable the use of SCC4 in
QMC (QUICC Multi-Channel) mode.
Christophe Leroy (10):
board: cssi: Remove duplicated FPGA loading sequence on CMPC885
board: cssi: Remove stale macro from cmpcpro.c
board: cssi
unused.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 4
configs/CMPC885_defconfig| 2 ++
2 files changed, 6 insertions(+)
diff --git a/board/cssi/cmpc885/cmpc885.c b/board/cssi/cmpc885/cmpc885.c
index 40128f170a..5e6aa8b8cf 100644
--- a/board/cssi/cmpc885/cmpc885
yet so remove the printfs.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 25 +
configs/CMPC885_defconfig| 1 -
2 files changed, 5 insertions(+), 21 deletions(-)
diff --git a/board/cssi/cmpc885/cmpc885.c b/board/cssi/cmpc885/cmpc885.c
index
will be corrupted.
Add capability to load the related microcode to fix it.
The microcode binary data is copied from Linux kernel.
Other microcode will be added in following patch so make it
a Kconfig choice.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfig
d-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/cpu.c| 2 +-
arch/powerpc/include/asm/cpm_8xx.h | 18 +-
arch/powerpc/include/asm/immap_8xx.h | 8 +---
drivers/serial/serial_mpc8xx.c | 2 +-
drivers/spi/mpc8xx_spi.c | 2 +-
5 files change
to be relocated. In order to do so, a CPM microcode patch
is required.
Binary data for that patch is copied from Linux kernel.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfig | 20 +
arch/powerpc/cpu/mpc8xx/Makefile | 1 +
arch/powerpc/cpu/mpc8xx
Instead of inhibiting parameter RAM relocation, take it into account.
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c
index 734b0751a9..5c8d760935 100644
n CPM dpram")
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/start.S| 9 +
arch/powerpc/include/asm/cpm_8xx.h | 16
include/configs/cmpc885.h | 1 +
include/configs/mcr3000.h | 1 +
4 files changed, 15 insertions(+), 12 deletion
Instead of inhibiting parameter RAM relacation, take
into account the configured one.
It means INIT_TRX command cannot be used and must be done
manually as explained in the microcode patch application note.
Signed-off-by: Christophe Leroy
---
drivers/serial/serial_mpc8xx.c | 22
Le 04/05/2023 à 12:07, Joakim Tjernlund a écrit :
> On Thu, 2023-05-04 at 10:56 +0200, Christophe Leroy wrote:
>> Using SMC relocation microcode patch or USB-SOF microcode patch
>> will disable DPRAM memory from 0x2000 to 0x2400 and from 0x2f00
>> to 0x3000.
>>
>&g
Le 04/05/2023 à 15:54, Tom Rini a écrit :
> On Thu, May 04, 2023 at 06:15:13AM +0000, Christophe Leroy wrote:
>>
>>
>> Le 03/05/2023 à 22:02, Tom Rini a écrit :
>>> On Thu, Jan 26, 2023 at 07:17:48PM +0100, Christophe Leroy wrote:
>>>
>>>> Wh
Le 04/05/2023 à 19:22, Christophe Leroy a écrit :
>
>
> Le 04/05/2023 à 15:54, Tom Rini a écrit :
>> On Thu, May 04, 2023 at 06:15:13AM +0000, Christophe Leroy wrote:
>>>
>>>
>>> Le 03/05/2023 à 22:02, Tom Rini a écrit :
>>>> On Thu, Ja
Le 04/05/2023 à 21:55, Tom Rini a écrit :
> On Thu, May 04, 2023 at 05:32:12PM +0000, Christophe Leroy wrote:
>>
>>
>> Le 04/05/2023 à 19:22, Christophe Leroy a écrit :
>>>
>>>
>>> Le 04/05/2023 à 15:54, Tom Rini a écrit :
>>>> On T
the
error it creates is worse than the warning it is trying to fix.
Signed-off-by: Christophe Leroy
---
Makefile | 6 +-
include/linux/build_bug.h | 40 ---
include/linux/stddef.h| 8 +---
3 files changed, 14 insertions(+), 40 de
warnings
Christophe Leroy (11):
board: cssi: Remove duplicated FPGA loading sequence on CMPC885
board: cssi: Remove stale macro from cmpcpro.c
board: cssi: Load CMPC885's motherboard FPGA earlier
powerpc: mpc8xx: CPM parameter RAM can be anywhere
powerpc: mpc8xx: Reorganise init RAM
po
unused.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 4
configs/CMPC885_defconfig| 2 ++
2 files changed, 6 insertions(+)
diff --git a/board/cssi/cmpc885/cmpc885.c b/board/cssi/cmpc885/cmpc885.c
index 40128f170a..5e6aa8b8cf 100644
--- a/board/cssi/cmpc885/cmpc885
n CPM dpram")
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/start.S| 8 +---
arch/powerpc/include/asm/cpm_8xx.h | 16
include/configs/cmpc885.h | 1 +
include/configs/mcr3000.h | 1 +
4 files changed, 15 insertions(+), 11 deletions(-)
d-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/cpu.c| 2 +-
arch/powerpc/include/asm/cpm_8xx.h | 18 +-
arch/powerpc/include/asm/immap_8xx.h | 8 +---
drivers/serial/serial_mpc8xx.c | 2 +-
drivers/spi/mpc8xx_spi.c | 2 +-
5 files change
pace '' of expression
This is because of (void *) casts for using memcpy() as a substitute.
Do like other architectures, __force the cast to silence the warning
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/io.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-
Instead of inhibiting parameter RAM relacation, take
into account the configured one.
It means INIT_TRX command cannot be used and must be done
manually as explained in the microcode patch application note.
Signed-off-by: Christophe Leroy
---
drivers/serial/serial_mpc8xx.c | 22
A duplicated FPGA loading sequence appears after FPGA reset.
Remove it.
Fixes: dac3c6f625 ("board: cssi: Add new board MCR3000_2G")
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/board/cssi/cmpc885/c
Three unused macros were left over. Remove them.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpcpro/cmpcpro.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/board/cssi/cmpcpro/cmpcpro.c b/board/cssi/cmpcpro/cmpcpro.c
index 3e9ba6a4cc..8a30c48e35 100644
--- a/board/cssi/cmpcpro
Instead of inhibiting parameter RAM relocation, take it into account.
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c
index 734b0751a9..5c8d760935 100644
will be corrupted.
Add capability to load the related microcode to fix it.
The microcode binary data is copied from Linux kernel.
Other microcode will be added in following patch so make it
a Kconfig choice.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfig
yet so remove the printfs.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 25 +
configs/CMPC885_defconfig| 1 -
2 files changed, 5 insertions(+), 21 deletions(-)
diff --git a/board/cssi/cmpc885/cmpc885.c b/board/cssi/cmpc885/cmpc885.c
index
to be relocated. In order to do so, a CPM microcode patch
is required.
Binary data for that patch is copied from Linux kernel.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/Kconfig | 20 +
arch/powerpc/cpu/mpc8xx/Makefile | 1 +
arch/powerpc/cpu/mpc8xx
: Activate SMC relocation on CMPC885 board for MIAE device
(2023-05-05 07:26:53 +0200)
Christophe Leroy (11):
board: cssi: Remove duplicated FPGA loading sequence on CMPC885
board: cssi: Remove stale macro from cmpcpro.c
dians/u-boot-mpc8xx/-/pipelines/16326
That's the only CI test that fails AFAICS.
Could you help with a solution ? This needs to be fixed.
Thanks
Christophe
>8
From: Christophe Leroy
Subject: [RFC PATCH] envtools: Fix default environment
After converting some
Le 11/05/2023 à 14:50, Tom Rini a écrit :
> On Thu, May 11, 2023 at 08:16:49AM +0200, Christophe Leroy wrote:
>
>> After converting my targets from CFG_EXTRA_ENV_SETTINGS to
>> CONFIG_EXTRA_ENV_TEXT as suggested by Tom, I discovered that
>> fw_setenv doesn't set
Le 15/05/2023 à 23:12, Tom Rini a écrit :
> On Fri, May 05, 2023 at 10:39:39AM +0200, Christophe Leroy wrote:
>
>> A lot of errors are encountered when building with sparse checking
>> activated (make C=1 or make C=2).
>>
>> Many of them are fixed in Linux.
&g
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() fun
e passed" 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 c
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 23:57:08
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 25/06/2024 à 17:19, Tom Rini a écrit :
On Tue, Jun 25, 2024 at 03:12:38PM +, LEROY Christophe wrote:
Hi All,
Le 24/06/2024 à 21:30, Tom Rini a écrit :
Hey all,
Well, once again I need to check my calender reminders since, whoops,
I'm a week late. That said, looking at the list of ch
Le 26/06/2024 à 17:01, Tom Rini a écrit :
On Tue, Jun 25, 2024 at 09:20:54PM +0200, Christophe Leroy wrote:
Le 25/06/2024 à 17:19, Tom Rini a écrit :
On Tue, Jun 25, 2024 at 03:12:38PM +, LEROY Christophe wrote:
Hi All,
Le 24/06/2024 à 21:30, Tom Rini a écrit :
Hey all,
Well, once
se of said commit.
Fixes: 340fdf1303dc ("zlib: Port fix for CVE-2016-9841 to U-Boot")
Signed-off-by: Christophe Leroy
---
lib/zlib/inffast.c | 51 --
1 file changed, 40 insertions(+), 11 deletions(-)
diff --git a/lib/zlib/inffast.c b/lib/
63770 instead of 65535. It is not
a big difference in that case, but lets make the code correct and
cast to u32 instead of u16.
Fixes: 26e8ebcd7cb7 ("watchdog: mpc8xxx: Make it generic")
Signed-off-by: Christophe Leroy
---
drivers/watchdog/mpc8xxx_wdt.c | 2 +-
1 file changed, 1 inser
This largely reverts commit 340fdf1303dce7e5f53ddd981471836058ff23ef.
Reported-by: Christophe Leroy
Signed-off-by: Tom Rini
Tested-by: Christophe Leroy
--
Cc: Christophe Leroy
Cc: Michal Simek
---
lib/zlib/inffast.c | 117 +
1 file changed,
Le 27/06/2024 à 21:40, Tom Rini a écrit :
On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote:
On Thu, Jun 27, 2024 at 10:25:21AM +0200, Christophe Leroy wrote:
Commit 340fdf1303dc ("zlib: Port fix for CVE-2016-9841 to U-Boot")
brings a big performance regression in in
Le 30/06/2024 à 16:54, Tom Rini a écrit :
On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote:
Le 27/06/2024 à 21:40, Tom Rini a écrit :
On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote:
On Thu, Jun 27, 2024 at 10:25:21AM +0200, Christophe Leroy wrote:
Commit
Le 30/06/2024 à 20:28, Christophe Leroy a écrit :
Le 30/06/2024 à 16:54, Tom Rini a écrit :
On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote:
Le 27/06/2024 à 21:40, Tom Rini a écrit :
On Thu, Jun 27, 2024 at 01:34:55PM -0600, Tom Rini wrote:
On Thu, Jun 27, 2024 at 10
Le 05/07/2024 à 17:47, Tom Rini a écrit :
On Sun, Jun 30, 2024 at 08:49:08PM +0200, Christophe Leroy wrote:
Le 30/06/2024 à 20:28, Christophe Leroy a écrit :
Le 30/06/2024 à 16:54, Tom Rini a écrit :
On Sun, Jun 30, 2024 at 10:47:06AM +0200, Christophe Leroy wrote:
Le 27/06/2024 à
cd514aeb996e ("zlib: Optimize decompression") by patch 4.
It also adds patch 5 which contains changes split out of patch 4 because
they are unrelated to the description of the patch.
CI passed on
https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/21518
Christophe Leroy (
ned-off-by: Christophe Leroy
---
lib/zlib/inffast.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/zlib/inffast.c b/lib/zlib/inffast.c
index e3c7f3b892..d61cf0e72a 100644
--- a/lib/zlib/inffast.c
+++ b/lib/zlib/inffast.c
@@ -88,7 +88,7 @@ void in
ned-off-by: Christophe Leroy
---
lib/zlib/inffast.c | 20 ++--
lib/zlib/inflate.c | 22 +++---
lib/zlib/inflate.h | 2 +-
3 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/lib/zlib/inffast.c b/lib/zlib/inffast.c
index d61cf0e72a..bdaa6d0dc5 100644
---
_UNALIGNED() macro and fix the above pointer calculation.
Fixes: cd514aeb996e ("zlib: Optimize decompression")
Cc: Michal Simek
Signed-off-by: Christophe Leroy
---
lib/zlib/inffast.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/zlib/inffast.c b/lib/zli
ze decompression") is also kept,
otherwise linux kernel decompression is 40% longer on powerpc 8xx
platform and it leads to watchdog resets.
Signed-off-by: Michal Simek
[chleroy: Restore optimisation from commit cd514aeb996e ("zlib: Optimize
decompression") and fix zlib.h]
Sign
ix for CVE-2016-9841 to U-Boot)]
Signed-off-by: Christophe Leroy
---
lib/zlib/inffast.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/lib/zlib/inffast.c b/lib/zlib/inffast.c
index 19236f1e23..b5a0adcce6 100644
--- a/lib/zlib/inffast.c
+++ b/lib/zlib/inffast.c
@@
"
But U-Boot is not exact version that's why following the same style which
has been used by Linux kernel where ZLIB_VERSION is completely removed.
Signed-off-by: Michal Simek
Signed-off-by: Christophe Leroy
---
include/u-boot/zlib.h | 16 ++--
lib/gzip.c| 2
Remove inclusion of common.h and add relevant
includes when necessary.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 1 -
board/cssi/cmpc885/nand.c| 1 -
board/cssi/cmpc885/sdram.c | 3 ++-
board/cssi/cmpcpro/cmpcpro.c | 1 -
board/cssi/mcr3000/mcr3000.c | 1 -
board
Remove inclusion of common.h and add relevant
includes when necessary.
Signed-off-by: Christophe Leroy
---
arch/powerpc/cpu/mpc8xx/cache.c | 1 -
arch/powerpc/cpu/mpc8xx/cpu.c| 1 -
arch/powerpc/cpu/mpc8xx/cpu_init.c | 1 -
arch/powerpc/cpu/mpc8xx/fdt.c| 1 -
arch/powerpc
: 4e9bce12432 ("Add support for stack-protector")
Signed-off-by: Christophe Leroy
---
Makefile | 1 +
common/stackprot.c | 5 +
2 files changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
index ac65605a26..bddccc94e6 100644
--- a/Makefile
+++ b/Makefile
@@ -741,6 +741,
Le 15/05/2024 à 23:57, Greg Malysa a écrit :
> [Vous ne recevez pas souvent de courriers de greg.mal...@timesys.com.
> Découvrez pourquoi ceci est important à
> https://aka.ms/LearnAboutSenderIdentification ]
>
> From: Nathan Barrett-Morrison
>
> This adds support for the ADI-specific SPI dr
This series contains misc fixes and changes for CSSI boards.
I will send a pull request later before close of the merge window.
Hugo Dubois (2):
board: cssi: Initialise port F on MIAE
board: cssi: Properly initialise MAC address for fibre on CMPC885
board
Jean-Michel CASAUBON (2):
boar
From: Jean-Michel CASAUBON
Remove a stray semicolon in MCR3000 board environment.
Signed-off-by: Jean-Michel CASAUBON
Reviewed-by: DUBOIS Hugo
Signed-off-by: Christophe Leroy
---
board/cssi/mcr3000/mcr3000.env | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/cssi
From: Jean-Michel CASAUBON
HUSH shell is not always wanted/desirable.
Add missing braces in environment in order to allow use without
HUSH shell.
Signed-off-by: Jean-Michel CASAUBON
Cc: DUBOIS Hugo
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.env | 4 ++--
board/cssi
Signed-off-by: Christophe Leroy
---
board/cssi/common/common.c | 36 ++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/board/cssi/common/common.c b/board/cssi/common/common.c
index 7ecf772620..54e8c3cd03 100644
--- a/board/cssi/common/common.c
+++ b
From: Hugo Dubois
CMPC885 board can be pluged on a mother board with fibre interface, so
fibre interface MAC address must be initialised for that case.
Signed-off-by: Hugo Dubois
Reviewed-by: CASAUBON Jean Michel
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 4 +++-
1
temperature and FPGA support and SPI driver optimisation
Christophe Leroy (13):
board: cssi: Fix SPI nodes in DTS
spi: mpc8xx: Add GPIO dependency
spi: mpc8xx: Fix transfert when input or output buffer is NULL
thermal: Add support for TI LM74
board: cssi: Add support for SPI bus on MCR3000
From: Jean-Michel CASAUBON
Remove a stray semicolon in MCR3000 board environment.
Signed-off-by: Jean-Michel CASAUBON
Reviewed-by: DUBOIS Hugo
Signed-off-by: Christophe Leroy
---
board/cssi/mcr3000/mcr3000.env | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/cssi
missing compatible for eeprom node.
Signed-off-by: Christophe Leroy
---
arch/powerpc/dts/cmpc885.dts | 6 +++---
arch/powerpc/dts/cmpcpro.dts | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/powerpc/dts/cmpc885.dts b/arch/powerpc/dts/cmpc885.dts
index 7b9566a0fa
From: Jean-Michel CASAUBON
HUSH shell is not always wanted/desirable.
Add missing braces in environment in order to allow use without
HUSH shell.
Signed-off-by: Jean-Michel CASAUBON
Cc: DUBOIS Hugo
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.env | 4 ++--
board/cssi
Signed-off-by: Christophe Leroy
---
board/cssi/common/common.c | 36 ++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/board/cssi/common/common.c b/board/cssi/common/common.c
index 7ecf772620..6848efd43b 100644
--- a/board/cssi/common/common.c
+++ b
From: Hugo Dubois
CMPC885 board can be pluged on a mother board with fibre interface, so
fibre interface MAC address must be initialised for that case.
Signed-off-by: Hugo Dubois
Reviewed-by: CASAUBON Jean Michel
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 4 +++-
1
Since commit 773ad4ebb1d6 ("spi, mpc8xx: Add support for chipselect via
GPIO and fixups"), DM_GPIO is required for 8xx SPI.
Add the missing dependency to avoid build failures.
Fixes: 773ad4ebb1d6 ("spi, mpc8xx: Add support for chipselect via GPIO and
fixups")
Signed-off-
rrent is pretty
low.
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c
index 5c8d760935..2aa9c7d5df 100644
--- a/drivers/spi/mpc8xx_spi.c
+++ b/driver
LM74 is a SPI temperature sensor.
Implement a driver to read temperature from it.
Signed-off-by: Christophe Leroy
---
drivers/thermal/Kconfig | 6 +
drivers/thermal/Makefile | 1 +
drivers/thermal/ti-lm74.c | 52 +++
3 files changed, 59 insertions
1 - 100 of 352 matches
Mail list logo