mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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
This commit is contained in:
@@ -257,8 +257,15 @@
|
||||
/* Define if want to do post memory test */
|
||||
#undef CONFIG_POST
|
||||
#ifdef CONFIG_POST
|
||||
#define FLASH_START_POST_BLOCK 11 /* Should > = 11 */
|
||||
#define FLASH_END_POST_BLOCK 71 /* Should < = 71 */
|
||||
#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 CONFIG_SYS_POST_FLASH_START 11
|
||||
#define CONFIG_SYS_POST_FLASH_END 71
|
||||
#endif
|
||||
|
||||
/* These are for board tests */
|
||||
|
||||
@@ -197,8 +197,14 @@
|
||||
/* Define if want to do post memory test */
|
||||
#undef CONFIG_POST
|
||||
#ifdef CONFIG_POST
|
||||
#define FLASH_START_POST_BLOCK 11 /* Should > = 11 */
|
||||
#define FLASH_END_POST_BLOCK 71 /* Should < = 71 */
|
||||
#define CONFIG_POST_BSPEC1_GPIO_LEDS \
|
||||
GPIO_PG6, GPIO_PG7, GPIO_PG8, GPIO_PG9, GPIO_PG10, GPIO_PG11,
|
||||
#define CONFIG_POST_BSPEC2_GPIO_BUTTONS \
|
||||
GPIO_PB8, GPIO_PB9, GPIO_PB10, GPIO_PB11
|
||||
#define CONFIG_POST_BSPEC2_GPIO_NAMES \
|
||||
13, 12, 11, 10,
|
||||
#define CONFIG_SYS_POST_FLASH_START 10
|
||||
#define CONFIG_SYS_POST_FLASH_END 127
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
# endif
|
||||
# ifdef CONFIG_POST
|
||||
# define CONFIG_CMD_DIAG
|
||||
# define CONFIG_POST_ALT_LIST
|
||||
# endif
|
||||
# ifdef CONFIG_RTC_BFIN
|
||||
# define CONFIG_CMD_DATE
|
||||
|
||||
Reference in New Issue
Block a user