Message ID | 20240308141051.536599-1-thuth@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | target/arm: Allow compilation without CONFIG_ARM_V7M | expand |
On Fri, 8 Mar 2024 at 14:11, Thomas Huth <thuth@redhat.com> wrote: > > We've got a switch to disable v7m code since a long time - but it > currently cannot be disabled since linking then fails due to missing > functions. But thanks to the clean-ups that have been done during the > past years, it's not that difficult anymore to finally make it possible > to disable CONFIG_ARM_V7M: We just have to move some v7m-related code > out of cpu32.c to a separate file (that we only compile if the switch > CONFIG_ARM_V7M is enabled) and make sure to use the stub functions in > m_helper.c if it is disabled. Then we can finally remove the hard-coded > "select ARM_V7M" from the Kconfig file. I've applied patch 1 to target-arm.next; thanks. -- PMM