amd_spi100: Check IllegalAccess before executing command

The SPI controller immediately sets the IllegalAccess flag if we
configured an opcode (and optional address) that is not allowed
in the current configuration.

Change-Id: Icfa5a2823a302857aef0331ce44221747cf5fdd9
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/73678
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
1 file changed