[PATCH v2] powerpc: mpc83xx: Check the size of peripheral structs

Tom Rini trini at konsulko.com
Tue Jan 13 17:13:20 CET 2026


On Thu, 01 Jan 2026 17:41:55 +0100, J. Neuschäfer wrote:

> Peripheral registers on MPC83xx-series chips are declared in
> immap_83xx.h as a set of structs that ultimately fill the entire MMIO
> space of 1 MiB. This patch introduces a compile-time check of the size
> of each peripheral struct. The purpose of these checks is two-fold:
> 
> 1. To quickly tell readers of the code the total size of each struct
> 2. To verify that the size does not change when a struct is edited
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] powerpc: mpc83xx: Check the size of peripheral structs
      commit: 0b97991fa0e706ca4d9ba274ba9d06f43e4ee9ad
-- 
Tom




More information about the U-Boot mailing list