summaryrefslogtreecommitdiffstats
path: root/m29f400bt.c
diff options
context:
space:
mode:
Diffstat (limited to 'm29f400bt.c')
-rw-r--r--m29f400bt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/m29f400bt.c b/m29f400bt.c
index 28e5da4..5c36db9 100644
--- a/m29f400bt.c
+++ b/m29f400bt.c
@@ -20,15 +20,6 @@
#include "flash.h"
-void protect_m29f400bt(chipaddr bios)
-{
- chip_writeb(0xAA, bios + 0xAAA);
- chip_writeb(0x55, bios + 0x555);
- chip_writeb(0xA0, bios + 0xAAA);
-
- programmer_delay(200);
-}
-
void write_page_m29f400bt(chipaddr bios, uint8_t *src,
chipaddr dst, int page_size)
{
@@ -194,7 +185,6 @@ int write_m29f400bt(struct flashchip *flash, uint8_t *buf)
write_page_m29f400bt(bios, buf + 0x7c000, bios + 0x7c000, 16 * 1024);
printf("\n");
- //protect_m29f400bt (bios);
return 0;
}
@@ -248,7 +238,6 @@ int write_coreboot_m29f400bt(struct flashchip *flash, uint8_t *buf)
write_page_m29f400bt(bios, buf + 0x30000, bios + 0x30000, 64 * 1024);
printf("\n");
- //protect_m29f400bt (bios);
return 0;
}
OpenPOWER on IntegriCloud