Preventing Linux from changing GPIO output values on startup?

I have a custom application where I am setting GPIO controlling a relay to low at the uboot stage (because the pin reset values are high. I know this is a bad pin selection but bear with me).
I have this GPIO configured as an output in the DeviceTree and when Linux takes its turn to start, it reinitializes the GPIO, clicking the relay on and off.

How would I notify Linux to not reinitialize the GPIO and prevent the extra relay toggle?


There is a patchset called gpio hog that might hit v3.20-rc0 to solve this from the kernel side.