From: Wolfgang Denk Date: Sun, 04 Nov 2012 01:28:56 +0100 Subject: [U-Boot] [PATCH] TPM: remove dead code In-Reply-To: References: <1351960246-31771-1-git-send-email-wd@denx.de> Message-ID: <20121104002856.9DEFA200056@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon, In message you wrote: > > On Sat, Nov 3, 2012 at 9:30 AM, Wolfgang Denk wrote: > > The TPM code was added more than a year or 4 releases ago. This was > > done under the proposition that board support that would actually use > > such code would be added soon. However, nothing happened since. The > > code has no users in mainline, and does not even get build for any > > configuration, so we cannot even tell if it compiles at all. > > > > Remove the unused code. In in some far future actual users show up, > > it can be re-added easily. > > I think you may have missed the pending patches which make use of > this. it is important functionality for the Chromebooks (secure boot). No, I have not missed these. But all the patch does is set CONFIG_GENERIC_LPC_TPM - there is still not a single user defining CONFIG_CMD_TPM, so what does this help? We still have tons of dead code around. Dump it! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Unix: Some say the learning curve is steep, but you only have to climb it once. - Karl Lehenbauer