summaryrefslogtreecommitdiff
path: root/util/amdfwtool/Makefile.inc
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2020-09-28 10:36:29 +0800
committerFelix Held <felix-coreboot@felixheld.de>2020-10-05 08:37:46 +0000
commit9c8ce3e42324af8992b6e3e52cd7b67dafd763cc (patch)
tree29aa9813bcf44ff6a255c994e74966dc44608913 /util/amdfwtool/Makefile.inc
parent473969163d312ab02b58a8779174056dfa1b044f (diff)
amdfwtool: Remove the assumption of ROM_SIZE
Every platform passes (and need to) the --flashsize to the command parameter, so we remove the macro definition about a built-time romsize defined in Makefile. Change-Id: I894e833ed23a7da38b36986b624e7dcdf1f4090c Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45780 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/amdfwtool/Makefile.inc')
-rw-r--r--util/amdfwtool/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/amdfwtool/Makefile.inc b/util/amdfwtool/Makefile.inc
index 2180fac361..b1a21308fd 100644
--- a/util/amdfwtool/Makefile.inc
+++ b/util/amdfwtool/Makefile.inc
@@ -5,7 +5,7 @@ amdfwtoolobj = amdfwtool.o
AMDFWTOOLCFLAGS=-O2 -Wall -Wextra -Wshadow
$(objutil)/amdfwtool/%.o: $(top)/util/amdfwtool/%.c # $(HEADER)
- $(HOSTCC) $(AMDFWTOOLCFLAGS) $(HOSTCFLAGS) -DCONFIG_ROM_SIZE=$(CONFIG_ROM_SIZE) -c -o $@ $<
+ $(HOSTCC) $(AMDFWTOOLCFLAGS) $(HOSTCFLAGS) -c -o $@ $<
$(objutil)/amdfwtool/amdfwtool: $(addprefix $(objutil)/amdfwtool/,$(amdfwtoolobj))
printf " AMDFWTOOL\n"