From patchwork Wed Jun 8 22:48:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 69687 Delivered-To: patches@linaro.org Received: by 10.140.106.246 with SMTP id e109csp40352qgf; Wed, 8 Jun 2016 15:48:23 -0700 (PDT) X-Received: by 10.36.23.129 with SMTP id 123mr16189031ith.26.1465426102081; Wed, 08 Jun 2016 15:48:22 -0700 (PDT) Return-Path: Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com. [2607:f8b0:400e:c03::22e]) by mx.google.com with ESMTPS id i184si3740131pfe.3.2016.06.08.15.48.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2016 15:48:22 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c03::22e as permitted sender) client-ip=2607:f8b0:400e:c03::22e; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c03::22e as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-pa0-x22e.google.com with SMTP id ec8so6492043pac.0 for ; Wed, 08 Jun 2016 15:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nZ3ErDGOkJFRuAqeaDIM6h9Du6DmCuYNqObp4Tjtvn8=; b=Y35uBGmD309V/yu0PPmDUDMS0tURCPpvwcJhrEeFbSViWg/59rlY7uNfUSmP2ePLIW ZXK7BPWAZgI3idUHzeQ2JlioFzEfiamvH8P625d9YiDMazZCetNLpO0Fw3N6gn9l6G6B qgFhbvffJLeymMrnaeP87uO5M4DyINIHY8VgM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nZ3ErDGOkJFRuAqeaDIM6h9Du6DmCuYNqObp4Tjtvn8=; b=meuUfnlYydX6c4kPYSageeaIJon5W/Y5pxNQs7eWTZYpoqksPbDzTmksXJef9e5w5V DpDEHphBXy5nVIihe0DJ3VexXkASkAwpkgmfLItIkm2HHDOihFa+78lCtQBJ/LVSmPBK F+ZMHmxJXZXOTTn40PoADaejhyoHWKJfVCippZYtoZWe3/HWjJw0hTM9ohaHG4IVSzpX yJ3/hkxmwH3u22EE0UpmvtVm2A86MzozhmXA9jIIcDcrYuXbCSFPl5RQ9soUlcf2LsoY axNVB2hdhuwu2d15iqvV9eR393ZhnlVdjnCZP6qRaIeaIAphu5ii3wYvWLrdnYkn5Dj+ F78g== X-Gm-Message-State: ALyK8tIbnp0oI2C+pvUhnFXxa45jGxc1HtX9E/+alLEKnW3/dyB8ilMXaewjb9DP2/UQ5EbDEOI= X-Received: by 10.66.138.69 with SMTP id qo5mr8351468pab.31.1465426101764; Wed, 08 Jun 2016 15:48:21 -0700 (PDT) Return-Path: Received: from localhost.localdomain (c-73-67-244-238.hsd1.or.comcast.net. [73.67.244.238]) by smtp.gmail.com with ESMTPSA id l129sm4839351pfc.5.2016.06.08.15.48.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 15:48:21 -0700 (PDT) From: John Stultz To: Rob Herring , Vishal Bhoj , Amit Kumar , Amit Pundir Cc: John Stultz Subject: [PATCH 2/5] linaro_generic: Use vendor path for binary firmware blobs Date: Wed, 8 Jun 2016 15:48:08 -0700 Message-Id: <1465426091-21102-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465426091-21102-1-git-send-email-john.stultz@linaro.org> References: <1465426091-21102-1-git-send-email-john.stultz@linaro.org> Copying binary blobs to the device directory feels a little gunky and is likely to casue folks to mis-commit stuff. Fetch the binary firmware blobs from the vendor directory. In this case its flo, but for db410 we can add whatever that vendor directory looks like, and it will pick it up from whichever is present. Signed-off-by: John Stultz --- device.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 diff --git a/device.mk b/device.mk index c2b60a0..9f889f1 100644 --- a/device.mk +++ b/device.mk @@ -40,6 +40,6 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ - $(LOCAL_PATH)/a300_pfp.fw:/system/vendor/firmware/a300_pfp.fw \ - $(LOCAL_PATH)/a300_pm4.fw:/system/vendor/firmware/a300_pm4.fw \ + vendor/qcom/flo/proprietary/a300_pfp.fw:/system/vendor/firmware/a300_pfp.fw \ + vendor/qcom/flo/proprietary/a300_pm4.fw:/system/vendor/firmware/a300_pm4.fw \ )