[U-Boot] [RFC PATCH v2 13/20] sandbox: Add OS dependent layer