<blockquote>
<p>I however just realized this is set in sys/riotboot/Makefile.include.<br>
Do you want to keep it here or move it to cpu/cortexm_common/Makefile.include?</p>
</blockquote>
<p>Good question, I was actually wandering the same thing and was going to point it out, I decided against it since for now riotboot is only really supported for cortex-m. I also though that having it here documents for some stuff a developer has to watch out when implementing riotboot. But re-thinking about it now this should be don in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="449343439" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11597" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11597/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11597">#11597</a>.</p>
<p>If we move it I think a small comment should still be present mentioning generic alignment and maybe poiting out to <code>cpu/cortexm_common/Makefile.include</code> as an example.</p>
<blockquote>
<p>Is this supposed to remove the need for the RIOTBOOT_HDR_LEN in kinetis and stm32l4 ? or should we keep them as they are smaller ?</p>
</blockquote>
<p>I think we should keep it, every byte can count and if possible this should be optimized. Maybe we can add a comment that states this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11641?email_source=notifications&email_token=ABE7WYDJXYTIXVQK3R25AYLP3C4SHA5CNFSM4HU7OOV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX57ONA#issuecomment-503052084">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFPE7UHZ3CO2YOOMV3P3C4SHANCNFSM4HU7OOVQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYBXWLXNO7GSFJUW46TP3C4SHA5CNFSM4HU7OOV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX57ONA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11641?email_source=notifications\u0026email_token=ABE7WYDJXYTIXVQK3R25AYLP3C4SHA5CNFSM4HU7OOV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX57ONA#issuecomment-503052084",
"url": "https://github.com/RIOT-OS/RIOT/pull/11641?email_source=notifications\u0026email_token=ABE7WYDJXYTIXVQK3R25AYLP3C4SHA5CNFSM4HU7OOV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX57ONA#issuecomment-503052084",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>