update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom...
[openwrt-10.03/.git] / target / linux / brcm-2.4 / files / drivers / mtd / maps / bcm947xx-flash.c
index 1641784681919bd49591f3c755a09237e4f4ce5b..eea7f137d7a7c926597c66de404e9f7031f34a61 100644 (file)
@@ -56,7 +56,6 @@
 #include <typedefs.h>
 #include <osl.h>
 #include <bcmnvram.h>
-#include <bcmutils.h>
 #include <sbconfig.h>
 #include <sbchipc.h>
 #include <sbutils.h>
@@ -470,7 +469,7 @@ mod_init_t init_bcm947xx_map(void)
 
        /* Check strapping option if chipcommon exists */
        if ((cc = sb_setcore(sbh, SB_CC, 0))) {
-               fltype = readl(&cc->capabilities) & CAP_FLASH_MASK;
+               fltype = readl(&cc->capabilities) & CC_CAP_FLASH_MASK;
                if (fltype == PFLASH) {
                        bcm947xx_map.map_priv_2 = 1;
                        window_addr = 0x1c000000;