Replace the current awful sed hacking with real patches bound for upstream. The sed hacking was simply not maintainable anymore. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>