]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/bf537-stamp.h
Blackfin: post: generalize led/button tests with GPIOs
[people/ms/u-boot.git] / include / configs / bf537-stamp.h
index 3dee8eefd463b05ed498772c49b3417c8fef06ed..172268bcbbd8071bc2eab73397f5262b07349b3a 100644 (file)
 #undef CONFIG_POST
 #ifdef CONFIG_POST
 #define CONFIG_SYS_POST_HOTKEYS_GPIO   GPIO_PF5
+#define CONFIG_POST_BSPEC1_GPIO_LEDS \
+       GPIO_PF6, GPIO_PF7, GPIO_PF8, GPIO_PF9, GPIO_PF10, GPIO_PF11,
+#define CONFIG_POST_BSPEC2_GPIO_BUTTONS \
+       GPIO_PF5, GPIO_PF4, GPIO_PF3, GPIO_PF2,
+#define CONFIG_POST_BSPEC2_GPIO_NAMES \
+       10, 11, 12, 13,
 #define FLASH_START_POST_BLOCK 11      /* Should > = 11 */
 #define FLASH_END_POST_BLOCK   71      /* Should < = 71 */
 #endif