<p style="white-space: pre-wrap; word-wrap: break-word;">>> Using #if is a bad habit. Also, what are the outer parentheses for?<br>> <br>> If I'm not wrong, '#if' is used in (romstage) to bypass the code if<br>> the statement is not true.</p><p style="white-space: pre-wrap; word-wrap: break-word;">You can use it like that. But that's not specific to any stage. And<br>it's a bad choice because the guarded code won't be compile tested.</p><p style="white-space: pre-wrap; word-wrap: break-word;">There is no other way to do this in romcc bootblock code, maybe<br>that is what you had in mind?</p><p><a href="https://review.coreboot.org/28878">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://review.coreboot.org/28878">change 28878</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28878"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I1ff87c76b3aef4af93d88dd9c02a743656aacfc0 </div>
<div style="display:none"> Gerrit-Change-Number: 28878 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>
<div style="display:none"> Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Elyes HAOUAS <ehaouas@noos.fr> </div>
<div style="display:none"> Gerrit-Reviewer: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 03 Oct 2018 11:41:56 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>