Once Papyrix has decided whether it actually wants to boot... It inits SD card access & an SPI bus for it to use, from which it can read (amongst other things) the ebooks you want it to reader.
For my feature-phone at the very least I'll want to store contacts & texting-history on an SD card, though there's other media I'd enjoy storing there too! So I'd likely reuse this code.
On both microcontrollers of interest to me Arduino implements SPI as 2 layers around the hardware's magic pointers.
1/