>> Do you want to keep it from
>> compiling unnecessary code?
>
> Yes. I've recently played a bit with Secure Boot
> and noticed that every byte in IBB counts, maybe
> I'm too paranoid about that though.

So is it arguable? I don't think this code will ever
be put into a constrained environment (it should
only be used in ramstage, I guess). And removing
the #if's would make the whole thing easier to read,
IMHO.

View Change

1 comment:

To view, visit change 31616. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icd60a16b6b5583a3b981bdc220aac472c2a8f40f
Gerrit-Change-Number: 31616
Gerrit-PatchSet: 3
Gerrit-Owner: Krystian Hebel <krystian.hebel@3mdeb.com>
Gerrit-Reviewer: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel@3mdeb.com>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-Comment-Date: Fri, 01 Mar 2019 12:23:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment