/**************************************************************************** * drivers/wireless/ieee80211/bcm43xxx/bcmf_chip_43455.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. * ****************************************************************************/ /**************************************************************************** * Included Files ****************************************************************************/ #include #include #include "bcmf_sdio.h" /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ #define WRAPPER_REGISTER_OFFSET 0x100000 /**************************************************************************** * Public Data ****************************************************************************/ extern const char bcm43455_nvram_image[]; extern const unsigned int bcm43455_nvram_image_len; #ifndef CONFIG_IEEE80211_BROADCOM_FWFILES extern const uint8_t bcm43455_firmware_image[]; extern const unsigned int bcm43455_firmware_len; extern const uint8_t bcm43455_clm_blob[]; extern const unsigned int bcm43455_clm_blob_len; #endif const struct bcmf_sdio_chip bcmf_43455_config_sdio = { /* General chip stats */ .ram_base = 0x198000, .ram_size = 800 * 1024, /* Backplane architecture */ .core_base = { [CHIPCOMMON_CORE_ID] = 0x18000000, /* Chipcommon core register base */ [DOT11MAC_CORE_ID] = 0x18001000, /* dot11mac core register base */ [WLAN_ARMCR4_CORE_ID] = 0x18002000 /* ARMCR4 core register base */ + WRAPPER_REGISTER_OFFSET, [SDIOD_CORE_ID] = 0x18004000 /* SDIOD Device core register base */ }, /* Firmware images */ /* TODO find something smarter than using image_len references */ .nvram_image = (FAR uint8_t *)bcm43455_nvram_image, .nvram_image_size = (FAR unsigned int *)&bcm43455_nvram_image_len, #ifndef CONFIG_IEEE80211_BROADCOM_FWFILES .firmware_image = (FAR uint8_t *)bcm43455_firmware_image, .firmware_image_size = (FAR unsigned int *)&bcm43455_firmware_len, .clm_blob_image = (FAR uint8_t *)bcm43455_clm_blob, .clm_blob_image_size = (FAR unsigned int *)&bcm43455_clm_blob_len, #endif }; /**************************************************************************** * Public Functions ****************************************************************************/