mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Revert "km_arm: enable POST for these boards"
This reverts commita2da616311
. THis was applied by accident - a more recent version of this change was already present, see commit9400f8f
2011-10-05 22:03:11 +0200 km_arm: enable POST for these boards Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -481,38 +481,6 @@ int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_POST)
|
|
||||||
|
|
||||||
#define KM_POST_EN_L 44
|
|
||||||
|
|
||||||
int post_hotkeys_pressed(void)
|
|
||||||
{
|
|
||||||
return !kw_gpio_get_value(KM_POST_EN_L);
|
|
||||||
}
|
|
||||||
|
|
||||||
ulong post_word_load(void)
|
|
||||||
{
|
|
||||||
volatile void* addr = (void *) (gd->ram_size - BOOTCOUNT_ADDR + 4);
|
|
||||||
return in_le32(addr);
|
|
||||||
|
|
||||||
}
|
|
||||||
void post_word_store(ulong value)
|
|
||||||
{
|
|
||||||
volatile void* addr = (void *) (gd->ram_size - BOOTCOUNT_ADDR + 4);
|
|
||||||
out_le32(addr, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset)
|
|
||||||
{
|
|
||||||
*vstart = CONFIG_SYS_SDRAM_BASE;
|
|
||||||
|
|
||||||
/* we go up to relocation plus a 1 MB margin */
|
|
||||||
*size = CONFIG_SYS_TEXT_BASE - (1<<20);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_EEPROM_WREN)
|
#if defined(CONFIG_SYS_EEPROM_WREN)
|
||||||
int eeprom_write_enable(unsigned dev_addr, int state)
|
int eeprom_write_enable(unsigned dev_addr, int state)
|
||||||
{
|
{
|
||||||
|
@@ -277,10 +277,4 @@ int get_scl(void);
|
|||||||
#define CONFIG_POST_EXTERNAL_WORD_FUNCS
|
#define CONFIG_POST_EXTERNAL_WORD_FUNCS
|
||||||
#define CONFIG_CMD_DIAG
|
#define CONFIG_CMD_DIAG
|
||||||
|
|
||||||
/* enable POST tests with log */
|
|
||||||
#define CONFIG_POST (CONFIG_SYS_POST_MEM_REGIONS)
|
|
||||||
#define CONFIG_POST_SKIP_ENV_FLAGS
|
|
||||||
#define CONFIG_POST_EXTERNAL_WORD_FUNCS
|
|
||||||
#define CONFIG_CMD_DIAG
|
|
||||||
|
|
||||||
#endif /* _CONFIG_KM_ARM_H */
|
#endif /* _CONFIG_KM_ARM_H */
|
||||||
|
Reference in New Issue
Block a user