From patchwork Mon Aug 6 18:20:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Gong X-Patchwork-Id: 10556797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9684213AC for ; Mon, 6 Aug 2018 10:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77F04292A9 for ; Mon, 6 Aug 2018 10:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69D06292B7; Mon, 6 Aug 2018 10:20:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_06_12,DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DF422292A9 for ; Mon, 6 Aug 2018 10:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nm++QwbuKoboV/T+edtaDX0dk8siMd0c1/QVFuD8r6Q=; b=BqePDVJN8aJ2NF HPv/5NNaS4Cc87XfFh1fc0q2tShSrBsgXdKLE/oohn+RI4DUUmpxoUUtdPHgcyrvPUqqbN16RJX3l KNLeP8MnPEnyYnrcsu43d5B+BwpB2T4sFfVM1MLSRL27hkUAO3kyAAJIeAWs6cK73iP2pdSVw4iUQ F1rZbA9zQIlJ9fz1nahn4As38K5dNmcLo3b9WuRsfIQrg78Pa0krcTsSQSunNLE8PvjloSZ37RuEA /Nl0ZHnzFgPWbNCyjpk8UbYhCRfmKETTh88W4uSHkkuuhR5bOlwlSrgCxbXoWkvipvwbIdeudzNgr tEZRiLLIj9KtGOu4V7pw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmccl-0006jm-4w; Mon, 06 Aug 2018 10:20:27 +0000 Received: from mail-eopbgr00069.outbound.protection.outlook.com ([40.107.0.69] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmcch-0006iN-FP for linux-arm-kernel@lists.infradead.org; Mon, 06 Aug 2018 10:20:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Wv29mq7c0ja38BStY4XlSoA6FxwQmKOIvOSjM3ItXGU=; b=SQq/zCEaSsoDa78+rK3krQ/zSkgJDzUze5pO0V0pBqjaJ1UkUIF4Rxf5UG9CxLo3DSSrdDx77hj4yUGB3pslCHt45NviclKqpw/nh3B+vELng5kp7qLrqhKN/FN1nxM6j/yW5RJCGd1lEDgN3Zlj6pXSG2i31nXtgAhwuV/ueX4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yibin.gong@nxp.com; Received: from robin-OptiPlex-790.ap.freescale.net (119.31.174.66) by HE1PR04MB3228.eurprd04.prod.outlook.com (2603:10a6:7:1b::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Mon, 6 Aug 2018 10:20:06 +0000 From: Robin Gong To: shawnguo@kernel.org, s.hauer@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk Subject: [PATCH v1] ARM: arm: configs: imx_v6_v7: add CONFIG_FW_LOADER_USER_HELPER Date: Tue, 7 Aug 2018 02:20:55 +0800 Message-Id: <1533579655-5498-1-git-send-email-yibin.gong@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR03CA0021.apcprd03.prod.outlook.com (2603:1096:203:2e::33) To HE1PR04MB3228.eurprd04.prod.outlook.com (2603:10a6:7:1b::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e45770e7-e0ea-42a7-a22f-08d5fb862fb0 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB3228; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB3228; 3:O3QndewaCg+HHKkGBThxpCvTrfzSnWOJTwOrJorDCx0pcREQnXICUTIszjZszM/f/ou/CNjORp20OWAi/Fh+y14TNfmRP9EZ1i0nL7mHvPHYOTmPwmyI8CkNsMGgzjrvyAOwaMDonkxuenFGeYEcFs3NLnk0zu2BMPkeiD0zgg2FhUziRzynKelQKwZJwYrXA9g2mVokE3nViNKc8EtTaiAqMzizzmWrY4e5dj2SrWfQPNAR8facnFms0JtiJGlU; 25:WNhhbT+2GbCizy5yV0FTXrbpnAQZcxHYffotF/0btWHVcNy89cfMsvrqWcgh+RLMu9Q8PyzvdA9dOyBCm/yV0FaNvzpQqoufzpVhoCjLaSpjGaXpBFPxVdWvP0FXo+Gc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qBPMts6PslEmJisakakxBjrjLuAApK2uYbeKvlVA41qixWOSmHGWmgX4V9qc/F+7LposRfRljklZwME1M0XFjGBEOsqUF3cC06uEKxZvOkZRtAg2izVCMl317w5p7/fLAQKDy/icGa5K4S2vtIzL7uJIX8vq5EpTBrhyh/T9mvspHaivRSHN6e0dIJJ4QIsp3TySUzs7wpoRNlLyLB5IxzQl/vgU15EpihVerm0x3U/ofuc4TBAYpeEez7yJ62j0OyRySHjtBtzC9kC5+t6LOM5diCQiU96OoQI0dtSh8UHu61e1R1aM9HRucvfhThNUiIKfPsq1Uo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(84791874153150); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:HE1PR04MB3228; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB3228; X-Forefront-PRVS: 07562C22DA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(346002)(136003)(366004)(199004)(189003)(26005)(16526019)(2616005)(956004)(476003)(486006)(6506007)(186003)(47776003)(386003)(25786009)(66066001)(4326008)(68736007)(50226002)(53936002)(36756003)(316002)(16586007)(2906002)(50466002)(48376002)(106356001)(105586002)(51416003)(52116002)(6116002)(5660300001)(3846002)(6666003)(86362001)(97736004)(6486002)(8936002)(6512007)(966005)(305945005)(7736002)(8676002)(478600001)(6306002)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB3228; H:robin-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR04MB3228; 23:jv2bhm308ExjkWwIqSeoVXKFw/xMquNVHL1QzL3jH?= HryZHlEMGgAaRwabRl0kx86K53Rc9ZZlMruflTEyTa+vt9r/jLv33qPgJvHauG+UALgWvM8GSSDKxnF7UAn85V6xQG930QQnJpIKKadSVQyYyWfmM33eMEcUMIUWITd723ogS/w7pITsFjTcakMgJY8QQDEza54a6YpLNqeFu3I4rX1OZtVAJl9YJtQPICEKpN9/LzvMzTHNr5VDnzGfaBVJb/PwquhM6Isd5aIr3WVLg+J06ptp0bRdHM5iwrMN4RPFKb45fEwZwBxgSXDOa8O6tYlS+ppOzDcmn5/s7RnnUfTZU1ggSKcHaMZp6sx2fqC2Ey7j8ZO6jdO9u0WmYxLFUn6GsWvRtO095dmcmBxoeb+NLRov18qGKNg1J7TTMUD7/cwbXeu2SjaaWPJZ1OlmaCGP5N7jvRg00HgzshmRsy6G7IKxHWP0U4xQI0XxnAvczCScW7sKdewmaaxKYzIcDANx83zlSmH7tMKodL1pZAYtFGI02OFqSfM2LqVMpra11NGi2r+0zxpff9KkrOnT6T/YGoUMaBamLC/i+P8lrfjpKBbPOPEG/SgDxjN/yLH72hOSO0lqKqLrqYTIEs5akNX0oqCECk4+C+7obkCiCsNAETYUTjvbgAToKc0WenPE9YRoLu0wsxW3oAUjdSmUhCIGhgYTNaiGunh77F1XHXM6WT58UPlFJb/8oO0NonIvj1qg5ZDpkvDJ5vTHHAHzKYFJK6iDPfD7Yf5ukKSnxVXw/bEP/y/P9N9P66jAZoneDFfdBhIgA1mxIPOYiA1VF3rTBE2cJ4S6E4v8/G+AHacwZPSaeNHsWQScYcCIKVzuUs1LOJBymxGG8Dh2OKDpaTVbQ0AUJZ1KUfG261wUE09SHBBkRKPWvGweBfJf4HXtIzTBGvxAxJv0NZMAqPkGRznIFSrmZu7Bhi+PXc2XLwSut7v4TRl1Cc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N3/51OYdZ0F6x8bNoAGdj1/mY8LOeHnRpBns58zk+sUfxQwKnb2L0q4R2p/dbPNytaVE3BOwv3eiB6+48laeliBKo4zE03mm1uK1voFZTx+PKtILU2pt76Wpq7tLEgn9ExIV4=; 7:BLP+854Rj9S9b5RWjjIsC9adIkN0WWsoQw203LPoekbFb9JtAXjiHNZeyUsvSuz0L89zafHxjdkhoi4cPTgI7qB9LS/Q+V9TGB10/dwob7XAhwUhD34oiXOImnQ2Dvl8RvhYj2w4IPn3Nmk63RTp9930ewvyMTBLL1O/fZYk6Qn243mZn+XRjndz9yy/ttgDooBodHckBZ+EVyC1QlefVx1Ea7839JskdW73jNW9jxs1WmYP92KV3UH9OjKpixgP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2018 10:20:06.0038 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e45770e7-e0ea-42a7-a22f-08d5fb862fb0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3228 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180806_032023_670894_1D1E9376 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To support loading sdma firmware automatically from rootfs, enable CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK. Please get sdma firmware from below link and put it into rootfs entry -- /lib/firmware/imx/sdma/: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma Signed-off-by: Robin Gong --- arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index e2c1276..5e35d7e2 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -90,6 +90,8 @@ CONFIG_RFKILL_INPUT=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set +CONFIG_FW_LOADER_USER_HELPER=y +CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y CONFIG_CMA_SIZE_MBYTES=64 CONFIG_IMX_WEIM=y CONFIG_CONNECTOR=y