[1/2] arm64: dts: ti: Enable support for overlays for relevant boards

Message ID 20230920133450.54226-2-rogerq@kernel.org
State New
Headers
Series arm64: dts: ti: Add overlay for AM642-EVM NAND expansion card |

Commit Message

Roger Quadros Sept. 20, 2023, 1:34 p.m. UTC
  Enable __symbols__ in board DT files for which we expect
overlays to be supported.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
 arch/arm64/boot/dts/ti/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Comments

Roger Quadros Sept. 20, 2023, 3:14 p.m. UTC | #1
On 20/09/2023 16:57, Nishanth Menon wrote:
> On 16:34-20230920, Roger Quadros wrote:
>> Enable __symbols__ in board DT files for which we expect
>> overlays to be supported.
>>
>> Signed-off-by: Roger Quadros <rogerq@kernel.org>
>> ---
>>  arch/arm64/boot/dts/ti/Makefile | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
>> index e7b8e2e7f083..06d6f264f292 100644
>> --- a/arch/arm64/boot/dts/ti/Makefile
>> +++ b/arch/arm64/boot/dts/ti/Makefile
>> @@ -72,8 +72,16 @@ dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
>>  dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
>>  
>>  # Enable support for device-tree overlays
>> +DTC_FLAGS_k3-am625-beagleplay += -@
>>  DTC_FLAGS_k3-am625-sk += -@
>>  DTC_FLAGS_k3-am62-lp-sk += -@
>> +DTC_FLAGS_k3-am62a7-sk += -@
>> +DTC_FLAGS_k3-am642-evm += -@
>> +DTC_FLAGS_k3-am654-base-board += -@
>>  DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
>> +DTC_FLAGS_k3-am68-sk-base-board += -@
>> +DTC_FLAGS_k3-am69-sk += -@
>>  DTC_FLAGS_k3-j721e-common-proc-board += -@
>> +DTC_FLAGS_k3-j721e-sk += -@
>>  DTC_FLAGS_k3-j721s2-common-proc-board += -@
>> +DTC_FLAGS_k3-j784s4-evm += -@
> 
> is'nt it better to do it in context of the changes introduced?
> 

Do you mean I should just add for the particular platform when
adding an overlay for that platform?
  

Patch

diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index e7b8e2e7f083..06d6f264f292 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -72,8 +72,16 @@  dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
 
 # Enable support for device-tree overlays
+DTC_FLAGS_k3-am625-beagleplay += -@
 DTC_FLAGS_k3-am625-sk += -@
 DTC_FLAGS_k3-am62-lp-sk += -@
+DTC_FLAGS_k3-am62a7-sk += -@
+DTC_FLAGS_k3-am642-evm += -@
+DTC_FLAGS_k3-am654-base-board += -@
 DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
+DTC_FLAGS_k3-am68-sk-base-board += -@
+DTC_FLAGS_k3-am69-sk += -@
 DTC_FLAGS_k3-j721e-common-proc-board += -@
+DTC_FLAGS_k3-j721e-sk += -@
 DTC_FLAGS_k3-j721s2-common-proc-board += -@
+DTC_FLAGS_k3-j784s4-evm += -@