lopper:assist: Generate xparameters and CMake variables from the misc… - #804
lopper:assist: Generate xparameters and CMake variables from the misc…#804sathishkumar-amd wants to merge 1 commit into
Conversation
|
Hi @onkarharsh, Please review this? |
|
The changes look good to me. |
|
Thanks @sathishkumar-amd — forwarding 1. Identifier sanitization is incomplete (the main one). Both generators build the macro/variable name with: var_name = prop_name.replace('xlnx,', '').replace('-', '_').upper()That only handles the 2. 3. Minor — de-duplicate the name transform. The 4. Tests. Nothing exercises the The red CI is the cpu-cluster-prune bug that was on master (fixed now) — a rebase clears it; onkarharsh's LGTM is informal (it doesn't set a formal review verdict). Otherwise the approach is sound. |
…_props node Update Lopper to consume the misc_props node generated by SDT in pcw.dtsi and automatically propagate its properties into bare-metal xparameters.h macros and CMake metadata. This enables new user-defined properties added under misc_props to flow through to the BSP without requiring additional Lopper assist changes. Signed-off-by: Sathish Kumar Kamishettigari <sathishkumar.kamishettigari@amd.com>
67ea01c to
a8274cd
Compare
|
@zeddii Thanks for the review, all points are addressed in the latest push: 1. Identifier sanitization 2. Safe propval iteration 3. Single source of truth for name transform |
…_props node
Update Lopper to consume the misc_props node generated by SDT in pcw.dtsi and automatically propagate its properties into bare-metal xparameters.h macros and CMake metadata. This enables new user-defined properties added under misc_props to flow through to the BSP without requiring additional Lopper assist changes.