diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-16 23:37:15 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-16 23:37:15 +0000 |
commit | 6725070d8dba75fefb9f852c64239a988ef42caa (patch) | |
tree | e336319385e6b144701f1f644aa86fa48f2343ff /hw/ppc405_boards.c | |
parent | 422ebf6979001c2874151509260c73c2bcede5da (diff) |
Allow a custom unlock address in CFI02 flash (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4218 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc405_boards.c')
-rw-r--r-- | hw/ppc405_boards.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/ppc405_boards.c b/hw/ppc405_boards.c index b96a188490..ca986a02c3 100644 --- a/hw/ppc405_boards.c +++ b/hw/ppc405_boards.c @@ -236,7 +236,7 @@ static void ref405ep_init (int ram_size, int vga_ram_size, #endif pflash_cfi02_register((uint32_t)(-bios_size), bios_offset, drives_table[index].bdrv, 65536, fl_sectors, 2, - 0x0001, 0x22DA, 0x0000, 0x0000); + 0x0001, 0x22DA, 0x0000, 0x0000, 0x555, 0x2AA); fl_idx++; } else #endif @@ -553,7 +553,7 @@ static void taihu_405ep_init(int ram_size, int vga_ram_size, #endif pflash_cfi02_register((uint32_t)(-bios_size), bios_offset, drives_table[index].bdrv, 65536, fl_sectors, 4, - 0x0001, 0x22DA, 0x0000, 0x0000); + 0x0001, 0x22DA, 0x0000, 0x0000, 0x555, 0x2AA); fl_idx++; } else #endif @@ -589,7 +589,7 @@ static void taihu_405ep_init(int ram_size, int vga_ram_size, #endif pflash_cfi02_register(0xfc000000, bios_offset, drives_table[index].bdrv, 65536, fl_sectors, 4, - 0x0001, 0x22DA, 0x0000, 0x0000); + 0x0001, 0x22DA, 0x0000, 0x0000, 0x555, 0x2AA); fl_idx++; } /* Register CLPD & LCD display */ |