mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
48ec529100
commit
c088048533
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user