From patchwork Tue Aug 18 07:33:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joyce Ooi X-Patchwork-Id: 1346682 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BW2jL1GLxz9sPC for ; Tue, 18 Aug 2020 17:34:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 720C7821F8; Tue, 18 Aug 2020 09:33:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 9595F821FC; Tue, 18 Aug 2020 09:33:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B000F821DE for ; Tue, 18 Aug 2020 09:33:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=joyce.ooi@intel.com IronPort-SDR: lIV2pphowSXjtDFwlbyHCV4uu4GqseyMAmwvtWulyGEh71EQYd4cyaJoIt66ocyPcfPvOhyC47 zJYAzVv7pofA== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="155939720" X-IronPort-AV: E=Sophos;i="5.76,326,1592895600"; d="scan'208";a="155939720" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 00:33:51 -0700 IronPort-SDR: 0bjEIs6iQ1+s3C7674b6CB4hZX6IA6P3Yj9TfospJ9CNw9S7l7CowbZTJb/SZ+G+92E6DdnArX 2sezP14WVcSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,326,1592895600"; d="scan'208";a="326653527" Received: from pg-nxl3.altera.com ([10.142.129.93]) by orsmga008.jf.intel.com with ESMTP; 18 Aug 2020 00:33:44 -0700 From: "Ooi, Joyce" To: Simon Goldschmidt , Marek Vasut , Tan Ley Foon , See Chin Liang , Dinh Nguyen Cc: u-boot@lists.denx.de, Joyce Ooi , Rebecca Chang , Elly Lim Siew Chin Subject: [PATCH v2 0/2] arm: socfpga: enable CONFIG_BOOTCOMMAND for cyclone5 Date: Tue, 18 Aug 2020 15:33:28 +0800 Message-Id: <20200818073330.157654-1-joyce.ooi@intel.com> X-Mailer: git-send-email 2.13.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Joyce Ooi This patch series enables CONFIG_BOOTCOMMAND in cyclone5 defconfig to execute Intel FPGA u-boot script if it's available and enable FPGA bridge when FPGA is in user mode. v2: add u-boot script and add checking if FPGA is in user mode Joyce Ooi (2): arm: socfpga: checks if FPGA is in user mode before enabling FPGA bridge configs: socfpga: add CONFIG_BOOTCOMMAND for cyclone5 arch/arm/mach-socfpga/misc_gen5.c | 43 +++++++++++++++++++++----------------- configs/socfpga_cyclone5_defconfig | 3 ++- include/configs/socfpga_common.h | 3 +++ 3 files changed, 29 insertions(+), 20 deletions(-)