[U-Boot] policy regarding unused code

Neil Armstrong narmstrong at baylibre.com
Fri Dec 14 15:54:30 UTC 2018


On 11/12/2018 16:46, Jean-Jacques Hiblot wrote:
> 
> On 11/12/2018 16:25, Jean-Jacques Hiblot wrote:
>> Hi Tom,
>>
>> Is there such a policy described somewhere ?
>>
>> There are quite a pieces of code that are not used/compiled because no config enables it.
>>
>> A random pick among many others:
>>
>> - CONFIG_FPGA_LATTICE
>>
>> - CONFIG_MESON_SPIFC
>>
>> - CONFIG_POWER_BATTERY_TRATS2
>>
>> - CONFIG_UPDATE_TFTP
>>
>>
> Here a more complete list of suspects (there may be options that do not even exist)
> 
> Suspect means that the variable is probably referenced in a Makefile but not in configs/ nor in include/configs
> 
> This is not a small list and a lot of them we probably want to keep.
> 
> ['CONFIG_MX8M', 

[...]


CONFIG_MESON_GX_VPU_POWER_DOMAIN

[...]


CONFIG_MESON_SPIFC

[...]

Usage for these incoming !

Neil


'CONFIG_USB_DA8XX', 'CONFIG_SOC_DM644X', 'CONFIG_ALTERA_SPI', 'CONFIG_SYS_FPGA_COMMON', 'CONFIG_TOOLS_DEBUG', 'CONFIG_USB_GADGET_FOTG210', 'CONFIG_RTC_X1205', 'CONFIG_FPGA_SPARTAN2', 'CONFIG_CMD_MFSL', 'CONFIG_RISCV_ISA_C']
> 
>> JJ
>>
>>
>>
>>
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> https://lists.denx.de/listinfo/u-boot
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



More information about the U-Boot mailing list