|
@@ -118,8 +118,8 @@ static int bcm47xxpart_parse(struct mtd_info *master,
|
|
|
/* Parse block by block looking for magics */
|
|
|
for (offset = 0; offset <= master->size - blocksize;
|
|
|
offset += blocksize) {
|
|
|
- /* Nothing more in higher memory */
|
|
|
- if (offset >= 0x2000000)
|
|
|
+ /* Nothing more in higher memory on BCM47XX (MIPS) */
|
|
|
+ if (config_enabled(CONFIG_BCM47XX) && offset >= 0x2000000)
|
|
|
break;
|
|
|
|
|
|
if (curr_part >= BCM47XXPART_MAX_PARTS) {
|