it s leftover junk  there is generic spi driver infrastructure in coreboot used on x platforms that i had originally tried to use  however it does not seem flexible enough for the arm socs with several spi buses and lots of configurability 