Skip to content

Commit 52bdf7e

Browse files
committed
refactor(hw-setup): remove unnecessary includes
Replace these 1 line include files with a TOC tree pointer to the primary file. This can help with switching between distro builds as the path of common files no longer changes. We currently have 2 different mechanisms to complicate things. One is the TOC tree, the other is arbitrary includes. Modifying the TOC tree is a little hard to parse ahead of time, but it results in a lower likelihood of accidentally creating duplicate content. Using includes results in more files and a deeper file chain you need to parse, but it is clearer ahead of time what is occurring. I'm in favor of using the TOC tree since that's where a lot of complexity already resides. Signed-off-by: Randolph Sapp <rs@ti.com>
1 parent 4b648a9 commit 52bdf7e

62 files changed

Lines changed: 47 additions & 66 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

configs/AM335X/AM335X_linux_toc.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ linux/How_to_Guides/Target/How_to_Change_dtb_File
132132
linux/How_to_Guides/Target/How_to_Boot_Beagle_Bone_Black_with_Processor_SDK_Linux
133133
linux/How_to_Guides/Target/How_to_Program_Beaglebone_Black_eMMC_via_SD_Card
134134
linux/How_to_Guides_Hardware_Setup_with_CCS
135-
linux/How_to_Guides/Hardware_Setup_with_CCS/EVMK2H_Hardware_Setup
136-
linux/How_to_Guides/Hardware_Setup_with_CCS/ICE_AM335x_Hardware_Setup
137-
linux/How_to_Guides/Hardware_Setup_with_CCS/ICE_AMIC110_EVM_Hardware_Setup
135+
common/How_to_Guides/EVMK2H_Hardware_Setup
136+
common/How_to_Guides/ICE_AM335x_Hardware_Setup
137+
common/How_to_Guides/ICE_AMIC110_EVM_Hardware_Setup
138138
linux/How_to_Guides_Board_Port
139139
linux/How_to_Guides/Board_Port/U-Boot
140140
linux/How_to_Guides/Board_Port/Linux

configs/AM437X/AM437X_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ linux/How_to_Guides/Target/Update_U-Boot_Environment_Variables_stored_in_SPI_Fla
125125
linux/How_to_Guides/Target/How_to_Change_dtb_File
126126
linux/How_to_Guides/Target/How_to_fix_y2k38
127127
linux/How_to_Guides_Hardware_Setup_with_CCS
128-
linux/How_to_Guides/Hardware_Setup_with_CCS/EVMK2H_Hardware_Setup
128+
common/How_to_Guides/EVMK2H_Hardware_Setup
129129
linux/How_to_Guides_Board_Port
130130
linux/How_to_Guides/Board_Port/U-Boot
131131
common/PRU-ICSS/Getting_Started_with_PSSP

configs/AM57X/AM57X_linux_toc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ linux/How_to_Guides/Target/How_to_Change_dtb_File
145145
linux/How_to_Guides/Target/How_to_fix_y2k38
146146
linux/How_to_Guides/Target/How_to_Set_Display_for_AM572x_GP_EVM
147147
linux/How_to_Guides_Hardware_Setup_with_CCS
148-
linux/How_to_Guides/Hardware_Setup_with_CCS/AM572x_GP_EVM_Hardware_Setup
149-
linux/How_to_Guides/Hardware_Setup_with_CCS/TMDXIDK5728_Hardware_Setup
148+
common/How_to_Guides/AM572x_GP_EVM_Hardware_Setup
149+
common/How_to_Guides/TMDXIDK5728_Hardware_Setup
150150
linux/How_to_Guides_Linux_Porting_Guide_AM571x_AM570x_Speed_Grades
151151
linux/Documentation_Tarball
152152
common/PRU-ICSS/Getting_Started_with_PSSP

configs/AM62DX/AM62DX_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ linux/How_to_Guides/FAQ/How_to_Check_Device_Tree_Info
9595
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software
9696
linux/How_to_Guides/Target/How_To_Carve_Out_CMA
9797
linux/How_to_Guides_Hardware_Setup_with_CCS
98-
linux/How_to_Guides/Hardware_Setup_with_CCS/AM62Dx_EVM_Hardware_Setup
98+
common/How_to_Guides/AM62Dx_EVM_Hardware_Setup
9999

100100
linux/Demo_User_Guides/index_Demos
101101
linux/Demo_User_Guides/AM62D_Dsp_Offload_User_Guide

configs/AM62LX/AM62LX_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ linux/How_to_Guides/Target/How_to_BeagleBadge_getting_started
129129
linux/How_to_Guides/FAQ/How_to_Check_Device_Tree_Info
130130
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software
131131
linux/How_to_Guides_Hardware_Setup_with_CCS
132-
linux/How_to_Guides/Hardware_Setup_with_CCS/AM62Lx_EVM_Hardware_Setup
132+
common/How_to_Guides/AM62Lx_EVM_Hardware_Setup
133133
linux/Demo_User_Guides/index_Demos
134134
linux/Demo_User_Guides/TI_LVGL_Demo_User_Guide
135135
linux/Demo_User_Guides/EV_charging_Demo_User_Guide

configs/AM62PX/AM62PX_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux
173173
linux/How_to_Guides/FAQ/How_to_Check_Device_Tree_Info
174174
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software
175175
linux/How_to_Guides_Hardware_Setup_with_CCS
176-
linux/How_to_Guides/Hardware_Setup_with_CCS/AM62Px_EVM_Hardware_Setup
176+
common/How_to_Guides/AM62Px_EVM_Hardware_Setup
177177
linux/How_to_Guides/Target/How_To_Carve_Out_CMA
178178

179179
linux/Demo_User_Guides/index_Demos

configs/AM62X/AM62X_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux
177177
linux/How_to_Guides/FAQ/How_to_Check_Device_Tree_Info
178178
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software
179179
linux/How_to_Guides_Hardware_Setup_with_CCS
180-
linux/How_to_Guides/Hardware_Setup_with_CCS/AM62x_EVM_Hardware_Setup
180+
common/How_to_Guides/AM62x_EVM_Hardware_Setup
181181

182182
linux/Demo_User_Guides/index_Demos
183183
linux/Demo_User_Guides/TI_Apps_Launcher_User_Guide

configs/AM64X/AM64X_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ linux/How_to_Guides/Host/Program_MMC_boot_media
148148
linux/How_to_Guides/Target/How_to_emmc_boot
149149
linux/How_to_Guides/Target/How_to_mmcsd_boot_emmc_uda
150150
linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux
151-
linux/How_to_Guides/Hardware_Setup_with_CCS/AM64x_EVM_Hardware_Setup
151+
common/How_to_Guides/AM64x_EVM_Hardware_Setup
152152
linux/How_to_Guides/FAQ/How_to_Verify_Ipc_Linux_R5
153153
linux/How_to_Guides/FAQ/How_to_Check_Device_Tree_Info
154154
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software

configs/AM65X/AM65X_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ linux/How_to_Guides/Target/How_to_Use_K3Conf_Tool
127127
linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux
128128
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software
129129
linux/How_to_Guides_Hardware_Setup_with_CCS
130-
linux/How_to_Guides/Hardware_Setup_with_CCS/TMDX654_EVM_Hardware_Setup
130+
common/How_to_Guides/TMDX654_EVM_Hardware_Setup
131131
linux/Documentation_Tarball
132132
common/PRU-ICSS/Getting_Started_with_PSSP
133133
common/PRU-ICSS/Header_Files

configs/AM67/AM67_linux_toc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ linux/How_to_Guides/FAQ/Tda4_Latest_FAQs
127127
linux/How_to_Guides/FAQ/How_to_Integrate_Open_Source_Software
128128
linux/How_to_Guides/Host/How_to_Build_a_Ubuntu_Linux_host_under_VMware
129129
linux/How_to_Guides_Hardware_Setup_with_CCS
130-
linux/How_to_Guides/Hardware_Setup_with_CCS/J722S_EVM_Hardware_Setup
130+
common/How_to_Guides/J722S_EVM_Hardware_Setup
131131
linux/How_to_Guides/Target/How_To_Carve_Out_CMA
132132
linux/Documentation_Tarball
133133

0 commit comments

Comments
 (0)