[PATCH v2 1/2] arm: socfpga: checks if FPGA is in user mode before enabling FPGA bridge