modularize SoC integration
make build system more generic
make.py: support extra SoC options
memtest: flush caches, display total error count, use ifdef instead of comment