Attention is currently required from: Martin Roth, Tim Wawrzynczak, Amanda Hwang, Patrick Rudolph, EricR Lai. Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49338 )
Change subject: spd: Create new folder for SPD files ......................................................................
Patch Set 4:
(1 comment)
File src/mainboard/google/brya/Kconfig:
https://review.coreboot.org/c/coreboot/+/49338/comment/972b816d_90698886 PS4, Line 49: LP4X_SPD_SOURCE_PATH
I think this is work. Let me try with your new tool.
SG. I have a local diff that should make this work:
```
-------dir, err := filepath.Abs(filepath.Dir(GlobalMemPartsFile)) -------if err != nil { ------->-------log.Fatal(err) -------}
-------if err := readMemoryParts(&backupMemParts, GlobalMemPartsFile); err != nil { ------->-------log.Fatal(err) -------}
-------if err := validateMemoryParts(&backupMemParts); err != nil { ------->-------log.Fatal(err) -------}
-------for i := 0; i < PlatformMax; i++ { ------->-------memParts := make([]memPart, len(backupMemParts.MemParts)) ------->-------copy (memParts, backupMemParts.MemParts) ------->-------currPlatform = i ------->-------dirpath := filepath.Join(dir, fmt.Sprintf("set-%d", i)) ------->-------os.MkdirAll(dirpath, os.ModePerm) ------->-------err := genSPDs(memParts, dirpath) ------->-------if err != nil { ------->------->-------log.Fatal(err) ------->-------} -------}
-------for k := range platformMap { ------->-------fmt.Printf("%s set-%d\n", k, platformMap[k]) -------}
```
I can push a proper patch if you need.