commit | 21adb08298ec638f7950f0abe3de5d7921bbe2d0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 08 16:55:18 2016 -0600 |
committer | Tom Warren <twarren@nvidia.com> | Tue Jul 05 13:19:08 2016 -0700 |
tree | 30096704913ded1105c10284aa441a937ab0c5e6 | |
parent | 7d0f1a29ffb07bd66175a3313fd2d9b233b5ec40 [diff] |
errno: Allow errno_str() to be used without CONFIG_ERRNO_STR The pmic framework uses errno_str() and this requires board that use it to enable CONFIG_ERRNO_STR to avoid a build error. Update the header to provide a NULL error message when CONFIG_ERRNO_STR is not defined, and fix the build error. This will show as "(null)" when U-Boot prints it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>