|
@@ -22,11 +22,11 @@
|
|
#include <asm/mach-bcm47xx/bcm47xx.h>
|
|
#include <asm/mach-bcm47xx/bcm47xx.h>
|
|
|
|
|
|
static char nvram_buf[NVRAM_SPACE];
|
|
static char nvram_buf[NVRAM_SPACE];
|
|
|
|
+static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
|
|
|
|
|
|
static u32 find_nvram_size(u32 end)
|
|
static u32 find_nvram_size(u32 end)
|
|
{
|
|
{
|
|
struct nvram_header *header;
|
|
struct nvram_header *header;
|
|
- u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000};
|
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
for (i = 0; i < ARRAY_SIZE(nvram_sizes); i++) {
|
|
for (i = 0; i < ARRAY_SIZE(nvram_sizes); i++) {
|