From: Neil Armstrong Date: Fri, 14 Dec 2018 16:54:30 +0100 Subject: [U-Boot] policy regarding unused code In-Reply-To: <5f248a38-a5bc-cbb0-28f5-5a595c49a64b@ti.com> References: <7c188c93-4713-7ebd-be7d-d87955f4e756@ti.com> <5f248a38-a5bc-cbb0-28f5-5a595c49a64b@ti.com> Message-ID: <940c5ac8-0fe0-731b-b8aa-bdd6ed7f56d1@baylibre.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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