util/ifdtool: add generic `PLATFORM_IFD2` for early SoC development
commit3922aa5c2ce56c4cd562ab906093b94c65172bd1
authorWonkyu Kim <wonkyu.kim@intel.com>
Wed, 2 Feb 2022 23:19:05 +0000 (2 15:19 -0800)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 9 Feb 2022 14:19:47 +0000 (9 14:19 +0000)
tree6082b741bea68497b0c50e21b03adbcc89bc7c18
parent80c9289712789c9e08519c06eebfe7527856af04
util/ifdtool: add generic `PLATFORM_IFD2` for early SoC development

`PLATFORM_IFD2` macro is more generic tag that can be associated with
early next SoC platform development which using IFDv2.

The current assumption is that newer SoC platform still uses the same
SPI/eSPI frequency definition being used for latest platform(TGL, ADL)
and if the frequency definition is updated later, `PLATFORM_IFD2' will
use latest frequency definition for early next SoC development.
And once upstream is allowed for new platform, platform name will be
added in tool later.

Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
Change-Id: I14a71a58c7d51b9c8b92e013b5637c6b35005f22
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61576
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
util/ifdtool/ifdtool.c
util/ifdtool/ifdtool.h