projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm: a320evb: define mach-type in board config file
[oweals/u-boot.git]
/
board
/
bf537-stamp
/
bf537-stamp.c
diff --git
a/board/bf537-stamp/bf537-stamp.c
b/board/bf537-stamp/bf537-stamp.c
index 28597c9e69dc9bf0caac14bf20e79f3a762b3139..ec888d44d9a4a80994fbaa0d843abb8d1c582b72 100644
(file)
--- a/
board/bf537-stamp/bf537-stamp.c
+++ b/
board/bf537-stamp/bf537-stamp.c
@@
-43,21
+43,11
@@
int checkboard(void)
return 0;
}
return 0;
}
-phys_size_t initdram(int board_type)
-{
- gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
- gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
- return gd->bd->bi_memsize;
-}
-
void board_reset(void)
{
/* workaround for weak pull ups on ssel */
void board_reset(void)
{
/* workaround for weak pull ups on ssel */
- if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER) {
- bfin_write_PORTF_FER(bfin_read_PORTF_FER() & ~PF10);
- bfin_write_PORTFIO_SET(PF10);
- udelay(1);
- }
+ if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER)
+ bfin_reset_boot_spi_cs(GPIO_PF10);
}
#ifdef CONFIG_BFIN_MAC
}
#ifdef CONFIG_BFIN_MAC