[Chameleon] SPI master module

SPI master module for controlling Cyclone V HPS peripherals.

Before using, it is necessary to update the fpga_tio image to enable the
correspondent SPIM pins of desired peripheral in SocKit IO pinmux
setting.

In current implementation, HPS LCM module is connected to SPIM1 as
TX-only SPI.

BUG=chromium:569733
TEST=manual test

Change-Id: Ic25519d09e016e4b734c2ee033979f793482e596
Reviewed-on: https://chromium-review.googlesource.com/327364
Commit-Ready: Pin-chih Lin <johnylin@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
2 files changed