I'm looking for a minimalist PCIe driver for the LS1012A FRDM board, preferably one that can be configured to operate in Endpoint (EP) mode. I see some candidates in LSDK/flexbuild/packages/firmware/u-boot/drivers/pci, but the Kconfig and Makefile make me wonder whether this driver can be built standalone. (Because I'm creating a "bareboard" project, I'd like to avoid any kernel dependence.) Is the code in pcie_layerscape.c meant to be used standalone (i.e., without a Linux kernel)? If so, is it sufficiently generic that it will work on any of the Layerscape boards?
Thanks!