Adjust bd->bi_flashstart on Yellowstone & Yosemite to correct size

Patch by Stefan Roese, 05 Nov 2005
master
Stefan Roese 19 years ago
parent 4d03a21f23
commit f190c11b1f
  1. 3
      CHANGELOG
  2. 4
      board/amcc/yellowstone/yellowstone.c
  3. 4
      board/amcc/yosemite/yosemite.c

@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4:
======================================================================
* Adjust bd->bi_flashstart on Yellowstone & Yosemite to correct size
Patch by Stefan Roese, 05 Nov 2005
* Additional fix for external IRQ config on Yellowstone & Yosemite
Patch by Stefan Roese, 03 Nov 2005

@ -173,6 +173,10 @@ int misc_init_r (void)
mtdcr(ebccfga, pb0cr);
mtdcr(ebccfgd, pbcr);
/* adjust flash start and offset */
gd->bd->bi_flashstart = 0 - gd->bd->bi_flashsize;
gd->bd->bi_flashoffset = 0;
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
-CFG_MONITOR_LEN,

@ -169,6 +169,10 @@ int misc_init_r (void)
mtdcr(ebccfga, pb0cr);
mtdcr(ebccfgd, pbcr);
/* adjust flash start and offset */
gd->bd->bi_flashstart = 0 - gd->bd->bi_flashsize;
gd->bd->bi_flashoffset = 0;
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
-CFG_MONITOR_LEN,

Loading…
Cancel
Save