[PATCH 6/6] arm: socfpga: Enhance checking on potential overwrite