summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
diff options
context:
space:
mode:
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk54
1 files changed, 54 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..fae521e
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,54 @@
+#
+# 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 lights HAL
+$(call add_peripheral, intel, light/edison_arduino)
+# Add audio support
+$(call add_peripheral, intel, audio/edison)
+# Add sensor support
+$(call add_peripheral, intel, sensors/edison_arduino)
+
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 134217728
+BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
+BOARD_U_BOOT_ENV_SIZE := 0x10000
+BOARD_GPT_INI := device/intel/edison/gpt.ini
+
+
+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
+
+# Must defined at the end of the file
+$(call add_device_packages)