add fpga config mode support

lzz@meteroi.com