amd: Fall back to reading rom3 range in case of ROM Armor

AMD is pushing ROM Armor forward, which leaves the SPI handling to
the PSP and only a mailbox interface (guarded by SMM) for the main
CPU. With the current ROM Armor 3, there is no opt-out in the BIOS
setup anymore.

Only access left for the main CPU is the read-only memory mapping.
We make this available when active ROM Armor is detected (SPI BAR
register reads all ff). Probing of the flash size is peculiar, we
can only try to guess it when memory contents look repetitive.

To not pollute the `amd_spi100` driver, we start a new one.

Story: https://icon.sourcearcade.org/posts/amd_firmware_reading/
Change-Id: Ib4866084fe80853fd66501176dbc6b766750062f
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/350
diff --git a/Makefile b/Makefile
index 2d94afe..4810c34 100644
--- a/Makefile
+++ b/Makefile
@@ -609,7 +609,7 @@
 FEATURE_FLAGS += -D'CONFIG_INTERNAL=1'
 PROGRAMMER_OBJS += processor_enable.o chipset_enable.o board_enable.o cbtable.o \
 	internal.o it87spi.o sb600spi.o amd_imc.o amd_spi100.o wbsio_spi.o mcp6x_spi.o \
-	ichspi.o dmi.o known_boards.o
+	ichspi.o dmi.o known_boards.o amd_rom3read.o
 endif
 else
 ifeq ($(CONFIG_INTERNAL), yes)