summaryrefslogtreecommitdiff
path: root/board/keymile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-10-24 21:14:42 +0200
committerWolfgang Denk <wd@denx.de>2011-10-24 21:14:42 +0200
commitd47031e6879d6408b08889583600edd6aff378c8 (patch)
tree4e125876e5c34eb9a8ce067474555f89e8e6ea27 /board/keymile
parentbc4e14c43c48b9c8084e177651338e4fa4938881 (diff)
downloadu-boot-imx-d47031e6879d6408b08889583600edd6aff378c8.zip
u-boot-imx-d47031e6879d6408b08889583600edd6aff378c8.tar.gz
u-boot-imx-d47031e6879d6408b08889583600edd6aff378c8.tar.bz2
Revert "km_arm: enable POST for these boards"
This reverts commit a2da616311151ecfab8b8fcc510686fc3c0c9a21. THis was applied by accident - a more recent version of this change was already present, see commit 9400f8f 2011-10-05 22:03:11 +0200 km_arm: enable POST for these boards Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/keymile')
-rw-r--r--board/keymile/km_arm/km_arm.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index f78f754..67f158c 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -481,38 +481,6 @@ int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset)
}
#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)
int eeprom_write_enable(unsigned dev_addr, int state)
{