diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2013-02-24 21:28:43 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-11 11:06:09 -0400 |
commit | c08804853361bb7c6e2f9e0cdcdc0b327f71fe35 (patch) | |
tree | c534705bdd53f50cdf361b5715b93aaa46a055ed /include/env_callback.h | |
parent | 48ec52910047e048a5857fdaf00679b85a952ec5 (diff) | |
download | u-boot-c08804853361bb7c6e2f9e0cdcdc0b327f71fe35.tar.gz |
lcd: implement a callback for splashimage
On some architectures certain values of splashimage will lead to
a data abort exception.
Document the problem, and implement a callback for splashimage to
reject such values.
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'include/env_callback.h')
-rw-r--r-- | include/env_callback.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/env_callback.h b/include/env_callback.h index c583120c1c..62428d1e0c 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -41,6 +41,12 @@ #define SILENT_CALLBACK #endif +#ifdef CONFIG_SPLASHIMAGE_GUARD +#define SPLASHIMAGE_CALLBACK "splashimage:splashimage," +#else +#define SPLASHIMAGE_CALLBACK +#endif + /* * This list of callback bindings is static, but may be overridden by defining * a new association in the ".callbacks" environment variable. @@ -51,6 +57,7 @@ "bootfile:bootfile," \ "loadaddr:loadaddr," \ SILENT_CALLBACK \ + SPLASHIMAGE_CALLBACK \ "stdin:console,stdout:console,stderr:console," \ CONFIG_ENV_CALLBACK_LIST_STATIC |