Updated Legacy code in arm edb7312