[RFC PATCH u-boot 09/12] ARM: make gd a function for LTO