diff options
author | Wolfgang Denk <wd@denx.de> | 2011-10-01 21:42:21 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-01 21:42:21 +0200 |
commit | 97d7ab8a8eb6dbf7c9e8096f31031dfed81db8f8 (patch) | |
tree | ee8afc46f2b1db1d875951f5641e4b917c85fe39 /arch/blackfin/include/asm/config.h | |
parent | af708cbaae3c7254a50aee333b860dffc78db45d (diff) | |
parent | 90a75b050b8a23a6e8f558cc9a76658d8443509d (diff) | |
download | u-boot-imx-97d7ab8a8eb6dbf7c9e8096f31031dfed81db8f8.zip u-boot-imx-97d7ab8a8eb6dbf7c9e8096f31031dfed81db8f8.tar.gz u-boot-imx-97d7ab8a8eb6dbf7c9e8096f31031dfed81db8f8.tar.bz2 |
Merge branch 'post' of git://git.denx.de/u-boot-blackfin
* 'post' of git://git.denx.de/u-boot-blackfin:
Blackfin: uart: implement loop callback for post
Blackfin: bf537-stamp/bf548-ezkit: update POST flash block range
Blackfin: post: generalize led/button tests with GPIOs
Blackfin: bf537-stamp: drop uart/flash post tests
Blackfin: post: drop custom test list
Blackfin: bf537-stamp: convert to gpio post hotkey
Diffstat (limited to 'arch/blackfin/include/asm/config.h')
-rw-r--r-- | arch/blackfin/include/asm/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h index bc3c252..53af310 100644 --- a/arch/blackfin/include/asm/config.h +++ b/arch/blackfin/include/asm/config.h @@ -169,4 +169,22 @@ # define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } #endif +/* Blackfin POST tests */ +#ifdef CONFIG_POST_BSPEC1_GPIO_LEDS +# define CONFIG_POST_BSPEC1 \ + { \ + "LED test", "led", "This test verifies LEDs on the board.", \ + POST_MEM | POST_ALWAYS, &led_post_test, NULL, NULL, \ + CONFIG_SYS_POST_BSPEC1, \ + } +#endif +#ifdef CONFIG_POST_BSPEC2_GPIO_BUTTONS +# define CONFIG_POST_BSPEC2 \ + { \ + "Button test", "button", "This test verifies buttons on the board.", \ + POST_MEM | POST_ALWAYS, &button_post_test, NULL, NULL, \ + CONFIG_SYS_POST_BSPEC2, \ + } +#endif + #endif |