Make ROM_SIZE a configuration option #283

This commit is contained in:
Trammell hudson 2017-12-04 14:52:27 -05:00
parent 63c9e6e51c
commit 27deeba893
Failed to extract signature
4 changed files with 4 additions and 1 deletions

View File

@ -183,7 +183,7 @@ nerf-$(BOARD).rom: \
blobs/$(BOARD)/pei.bin \
cat $^ > $@
@if [ `stat -c'%s' $@` -ne 16777216 ]; then \
@if [ `stat -c'%s' $@` -ne $(ROM_SIZE) ]; then \
echo -n >&2 "$@ SHOULD BE 16MB. size "; \
stat -c'%s' $@ >&2 ; \
mv $@ $@.bad; \

View File

@ -7,6 +7,7 @@ PEI_OFFSET=0xE40000
PEI_SIZE=0x1C0000
ME_OFFSET=0x20000
ME_SIZE=0x2F0000
ROM_SIZE=16777216
CONFIG_EDK2=y

View File

@ -6,6 +6,7 @@ PEI_OFFSET=0x3900000
PEI_SIZE=0x0700000
ME_OFFSET=0x20000
ME_SIZE=0x2BE0000
ROM_SIZE=67108864
CONFIG_EDK2=y

View File

@ -6,6 +6,7 @@ PEI_OFFSET=0xF00000
PEI_SIZE=0x100000
ME_OFFSET=0x30000
ME_SIZE=0x7D0000
ROM_SIZE=16777216
CONFIG_EDK2=y