[U-Boot] [PATCH] Fix console functions for U-Boot API