All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions
@ 2026-11-28  8:08 Jaeyeong Lee
  2026-11-28 12:40 ` Bradley Morgan
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jaeyeong Lee @ 2026-11-28  8:08 UTC (permalink / raw)
  To: u-boot; +Cc: Bradley Morgan, Tom Rini, Christophe Leroy

CPM_I2C_BASE lost its last user when the MPC8xx I2C driver was removed.

BD_IIC_START has had no users since the MBX boards were removed.

Remove both stale DPRAM definitions.

Suggested-by: Christophe Leroy <chleroy@kernel.org>
Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>
---
 arch/powerpc/include/asm/cpm_8xx.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/powerpc/include/asm/cpm_8xx.h b/arch/powerpc/include/asm/cpm_8xx.h
index 98476cdf..6a7fded0 100644
--- a/arch/powerpc/include/asm/cpm_8xx.h
+++ b/arch/powerpc/include/asm/cpm_8xx.h
@@ -52,7 +52,6 @@
  * DPRAM defines and allocation functions
  */
 #define CPM_SERIAL_BASE		0x0800
-#define CPM_I2C_BASE		0x0820
 #define CPM_SPI_BASE		0x0840
 #define CPM_FEC_BASE		0x0860
 #define CPM_SERIAL2_BASE	0x08E0
@@ -60,8 +59,6 @@
 #define CPM_POST_BASE		0x0980
 #define CPM_WLKBD_BASE		0x0a00
 
-#define BD_IIC_START	((uint) 0x0400) /* <- please use CPM_I2C_BASE !! */
-
 /* Export the base address of the communication processor registers
  * and dual port ram.
  */
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions
  2026-11-28  8:08 [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions Jaeyeong Lee
@ 2026-11-28 12:40 ` Bradley Morgan
  2026-11-30 18:59 ` Christophe Leroy (CS GROUP)
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Bradley Morgan @ 2026-11-28 12:40 UTC (permalink / raw)
  To: Jaeyeong Lee, u-boot; +Cc: Tom Rini, Christophe Leroy

On 28 November 2026 08:08:59 GMT, Jaeyeong Lee <lee@jaeyeong.cc> wrote:
>CPM_I2C_BASE lost its last user when the MPC8xx I2C driver was removed.
>
>BD_IIC_START has had no users since the MBX boards were removed.
>
>Remove both stale DPRAM definitions.

hi, this LGTM, cheers, but I feel this should be a 2 patch series.

>
>Suggested-by: Christophe Leroy <chleroy@kernel.org>
>Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>
>---
> arch/powerpc/include/asm/cpm_8xx.h | 3 ---
> 1 file changed, 3 deletions(-)
>
>diff --git a/arch/powerpc/include/asm/cpm_8xx.h b/arch/powerpc/include/asm/cpm_8xx.h
>index 98476cdf..6a7fded0 100644
>--- a/arch/powerpc/include/asm/cpm_8xx.h
>+++ b/arch/powerpc/include/asm/cpm_8xx.h
>@@ -52,7 +52,6 @@
>  * DPRAM defines and allocation functions
>  */
> #define CPM_SERIAL_BASE		0x0800
>-#define CPM_I2C_BASE		0x0820
> #define CPM_SPI_BASE		0x0840
> #define CPM_FEC_BASE		0x0860
> #define CPM_SERIAL2_BASE	0x08E0
>@@ -60,8 +59,6 @@
> #define CPM_POST_BASE		0x0980
> #define CPM_WLKBD_BASE		0x0a00
> 
>-#define BD_IIC_START	((uint) 0x0400) /* <- please use CPM_I2C_BASE !! */

2 in 1, makes sense, considering they ARE mostly useless.. yeah, ack.

>-
> /* Export the base address of the communication processor registers
>  * and dual port ram.
>  */
>

--- Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions
  2026-11-28  8:08 [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions Jaeyeong Lee
  2026-11-28 12:40 ` Bradley Morgan
@ 2026-11-30 18:59 ` Christophe Leroy (CS GROUP)
  2026-11-30 19:12   ` Bradley Morgan
  2026-11-30 19:32 ` Bradley Morgan
  2026-12-01  4:13 ` Heiko Schocher
  3 siblings, 1 reply; 6+ messages in thread
From: Christophe Leroy (CS GROUP) @ 2026-11-30 18:59 UTC (permalink / raw)
  To: Jaeyeong Lee, u-boot; +Cc: Bradley Morgan, Tom Rini



Le 28/11/2026 à 09:08, Jaeyeong Lee a écrit :
> [Vous ne recevez pas souvent de courriers de lee@jaeyeong.cc. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
> 
> CPM_I2C_BASE lost its last user when the MPC8xx I2C driver was removed.
> 
> BD_IIC_START has had no users since the MBX boards were removed.
> 
> Remove both stale DPRAM definitions.
> 
> Suggested-by: Christophe Leroy <chleroy@kernel.org>
> Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>

I think it would be more usefull if you tell exactly which commits 
removed stuff, in case you respin this patch.

Regardless,

Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>

> ---
>   arch/powerpc/include/asm/cpm_8xx.h | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/arch/powerpc/include/asm/cpm_8xx.h b/arch/powerpc/include/asm/cpm_8xx.h
> index 98476cdf..6a7fded0 100644
> --- a/arch/powerpc/include/asm/cpm_8xx.h
> +++ b/arch/powerpc/include/asm/cpm_8xx.h
> @@ -52,7 +52,6 @@
>    * DPRAM defines and allocation functions
>    */
>   #define CPM_SERIAL_BASE                0x0800
> -#define CPM_I2C_BASE           0x0820
>   #define CPM_SPI_BASE           0x0840
>   #define CPM_FEC_BASE           0x0860
>   #define CPM_SERIAL2_BASE       0x08E0
> @@ -60,8 +59,6 @@
>   #define CPM_POST_BASE          0x0980
>   #define CPM_WLKBD_BASE         0x0a00
> 
> -#define BD_IIC_START   ((uint) 0x0400) /* <- please use CPM_I2C_BASE !! */
> -
>   /* Export the base address of the communication processor registers
>    * and dual port ram.
>    */
> --
> 2.43.0
> 
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions
  2026-11-30 18:59 ` Christophe Leroy (CS GROUP)
@ 2026-11-30 19:12   ` Bradley Morgan
  0 siblings, 0 replies; 6+ messages in thread
From: Bradley Morgan @ 2026-11-30 19:12 UTC (permalink / raw)
  To: Christophe Leroy (CS GROUP), Jaeyeong Lee, u-boot; +Cc: Tom Rini

On 30 November 2026 18:59:21 GMT, "Christophe Leroy (CS GROUP)"
<chleroy@kernel.org> wrote:
>
>
>Le 28/11/2026 à 09:08, Jaeyeong Lee a écrit :
>> [Vous ne recevez pas souvent de courriers de lee@jaeyeong.cc. Découvrez
>pourquoi ceci est important à
>https://aka.ms/LearnAboutSenderIdentification ]
>> 
>> CPM_I2C_BASE lost its last user when the MPC8xx I2C driver was removed.
>> 
>> BD_IIC_START has had no users since the MBX boards were removed.
>> 
>> Remove both stale DPRAM definitions.
>> 
>> Suggested-by: Christophe Leroy <chleroy@kernel.org>
>> Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>
>
>I think it would be more usefull if you tell exactly which commits removed
>stuff, in case you respin this patch.
>
>Regardless,
>
>Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>

Thx, will apply both soon.

>
>> ---
>>   arch/powerpc/include/asm/cpm_8xx.h | 3 ---
>>   1 file changed, 3 deletions(-)
>> 
>> diff --git a/arch/powerpc/include/asm/cpm_8xx.h
>b/arch/powerpc/include/asm/cpm_8xx.h
>> index 98476cdf..6a7fded0 100644
>> --- a/arch/powerpc/include/asm/cpm_8xx.h
>> +++ b/arch/powerpc/include/asm/cpm_8xx.h
>> @@ -52,7 +52,6 @@
>>    * DPRAM defines and allocation functions
>>    */
>>   #define CPM_SERIAL_BASE                0x0800
>> -#define CPM_I2C_BASE           0x0820
>>   #define CPM_SPI_BASE           0x0840
>>   #define CPM_FEC_BASE           0x0860
>>   #define CPM_SERIAL2_BASE       0x08E0
>> @@ -60,8 +59,6 @@
>>   #define CPM_POST_BASE          0x0980
>>   #define CPM_WLKBD_BASE         0x0a00
>> 
>> -#define BD_IIC_START   ((uint) 0x0400) /* <- please use CPM_I2C_BASE !!
>*/
>> -
>>   /* Export the base address of the communication processor registers
>>    * and dual port ram.
>>    */
>> --
>> 2.43.0
>> 
>> 
>
>

--- Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions
  2026-11-28  8:08 [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions Jaeyeong Lee
  2026-11-28 12:40 ` Bradley Morgan
  2026-11-30 18:59 ` Christophe Leroy (CS GROUP)
@ 2026-11-30 19:32 ` Bradley Morgan
  2026-12-01  4:13 ` Heiko Schocher
  3 siblings, 0 replies; 6+ messages in thread
From: Bradley Morgan @ 2026-11-30 19:32 UTC (permalink / raw)
  To: u-boot, Jaeyeong Lee; +Cc: Bradley Morgan, Tom Rini, Christophe Leroy

Applied to next at u-boot-ppc, Thanks!

[1/1] powerpc: mpc8xx: remove unused I2C DPRAM definitions
      https://git.u-boot-project.org/u-boot/custodians/u-boot-ppc/-/commit/e4bb727f3bc6d746b1a3479d94fa05b8255b2331

---
Thanks!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions
  2026-11-28  8:08 [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions Jaeyeong Lee
                   ` (2 preceding siblings ...)
  2026-11-30 19:32 ` Bradley Morgan
@ 2026-12-01  4:13 ` Heiko Schocher
  3 siblings, 0 replies; 6+ messages in thread
From: Heiko Schocher @ 2026-12-01  4:13 UTC (permalink / raw)
  To: Jaeyeong Lee, u-boot; +Cc: Bradley Morgan, Tom Rini, Christophe Leroy

Hello Jaeyeong,

On 28.11.26 09:08, Jaeyeong Lee wrote:
> CPM_I2C_BASE lost its last user when the MPC8xx I2C driver was removed.
> 
> BD_IIC_START has had no users since the MBX boards were removed.
> 
> Remove both stale DPRAM definitions.
> 
> Suggested-by: Christophe Leroy <chleroy@kernel.org>
> Signed-off-by: Jaeyeong Lee <lee@jaeyeong.cc>
> ---
>   arch/powerpc/include/asm/cpm_8xx.h | 3 ---
>   1 file changed, 3 deletions(-)

Reviewed-by: Heiko Schocher <hs@nabladev.com>

bye,
Heiko
-- 
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: office@nabladev.com
Geschäftsführer : Stefano Babic

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-01  4:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28  8:08 [PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions Jaeyeong Lee
2026-11-28 12:40 ` Bradley Morgan
2026-11-30 18:59 ` Christophe Leroy (CS GROUP)
2026-11-30 19:12   ` Bradley Morgan
2026-11-30 19:32 ` Bradley Morgan
2026-12-01  4:13 ` Heiko Schocher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.