me and my colleague are trying to enable SPI during the bootloader phases on the HiKey board (LeMaker, 2GB edition). We tried to find some information on the installed SPI controller (ARM Primecell PL022), but unfortunately we weren't able to create a working setup.
During our investigation we came across a topic in the U-Boot bootloader mailing list which was talking about our exact problem, but lacking some final implemenation. We tried to pick it up from there but are struggeling to finalize the setup, since we cannot figure out how to configure the ports properly and which clock we have to use (see http://lists.denx.de/pipermail/u-boot/2016-September/267135.html for our latest, yet incomplete, patch - see here http://lists.denx.de/pipermail/u-boot/2016-September/266146.html for the inital message).
Anyone who can point us in the right direction? Any help is greatly appreciated!