[PATCH 0/2] PowerPC MPC8xxx compile-time checks

J. Neuschäfer via B4 Relay devnull+j.ne.posteo.net at kernel.org
Mon Feb 17 16:48:46 CET 2025


This series happens entirely in the C preprocessor, catching some kinds
of bugs a bit earlier than they otherwise would. Everything has been
compile-tested, and there should be no change to runtime behavior.

Signed-off-by: J. Neuschäfer <j.ne at posteo.net>
---
J. Neuschäfer (2):
      powerpc: mpc83xx: Check the size of peripheral structs
      powerpc: mpc8xxx_spi: Catch bad chip variants earlier

 arch/powerpc/include/asm/fsl_i2c.h     |  2 ++
 arch/powerpc/include/asm/fsl_lbc.h     |  1 +
 arch/powerpc/include/asm/immap_83xx.h  | 37 ++++++++++++++++++++++++++++++++++
 arch/powerpc/include/asm/mpc8xxx_spi.h |  3 +++
 4 files changed, 43 insertions(+)
---
base-commit: 52ae6d8588ac8d96b7866ecb29029eff375c7171
change-id: 20250217-immap-size-cf9f6f06139e

Best regards,
-- 
J. Neuschäfer <j.ne at posteo.net>




More information about the U-Boot mailing list