# # Copyright 2015 The Android Open Source Project # # Licensed 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. # # Select the SoC $(call set_soc, intel, edison) # Add wifi controller $(call add_peripheral, intel, wifi/bcm43340) # Add bt controller $(call add_peripheral, intel, bluetooth/bcm43340) # Add audio support $(call add_peripheral, intel, audio/generic/usb) # Add HW Keystore support $(call add_peripheral, intel, keystore/chaabi/src) # Bootctrl HAL $(call add_peripheral, intel, bootctrl) BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912 BOARD_USERDATAIMAGE_PARTITION_SIZE := 536870912 BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 BOARD_U_BOOT_ENV_SIZE := 0x10000 PRODUCT_COPY_FILES += \ device/intel/edison/flash_tools/brillo-flashall-edison.sh:provision-device \ device/intel/edison/fstab.device:root/fstab.${soc_name} WIFI_DRIVER_NVRAM_PATH_PARAM := "/sys/module/bcm4334x/parameters/nvram_path" WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcm4334x/parameters/firmware_path" WIFI_DRIVER_NVRAM_PATH := "/vendor/firmware/bcm43340/bcmdhd.cal" WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/bcm43340/fw_bcmdhd_sta.bin" WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/bcm43340/fw_bcmdhd_apsta.bin" WIFI_DRIVER_FW_PATH_P2P := "/vendor/firmware/bcm43340/fw_bcmdhd_p2p.bin" BOARD_SEPOLICY_DIRS += \ device/intel/edison/sepolicy BOARD_BPT_INPUT_FILES += device/intel/edison/device-partitions.bpt vendor_partition_directory := vendor/bsp/intel/edison BRILLO_VENDOR_PARTITIONS := \ $(vendor_partition_directory)/uboot_firmware:u-boot-edison.bin DEVICE_PACKAGES += peripheral_io.$(TARGET_DEVICE) # Must defined at the end of the file $(call add_device_packages)