From patchwork Thu Oct 19 13:54:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 735588 Delivered-To: patch@linaro.org Received: by 2002:adf:f0cd:0:b0:32d:baff:b0ca with SMTP id x13csp1528184wro; Thu, 19 Oct 2023 06:54:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWiB4ygRPjoAeVvB3BMDKeC8I2s8wODRQyj+pcjaOVAtiZTysX1nqLTZ0c0UMVV3BRW9fm X-Received: by 2002:a05:6000:710:b0:32d:a98c:aa24 with SMTP id bs16-20020a056000071000b0032da98caa24mr2051332wrb.3.1697723670737; Thu, 19 Oct 2023 06:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697723670; cv=none; d=google.com; s=arc-20160816; b=i4+akB5j9ZGiDtcJiqKur+yG10F8X5esMN3wvJOfwcn9UgnFLYWl9A3s0GHzY5WDp6 57pKlN2bNWGq5IUONBOeTZFwf5/cfTtBGPB2b21svwPqT+8lB5uhu0guoY3FSefjLSyc LHY5UBkannqgxwNNSfk/hzgNWEbFjx8cO1OsSMexLKryfavAY5HA9WmxQ1wysT7A4Sq5 pbl1brBahfOF0l05D3I7pNxZi+4D6LqR7YxtMakXXBbRnWxz6sA/ipNXfiVB6UOzTJD6 hchLb7wBRydvylSwenTTxqVdFBb6yXxulVKFNNAS/v7RTECwWjXsLNbsQ7mhpf59L/dG nE7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=MvDcZo6hzT2EoEoXpP9UfYe6J8Fs39SzYPUQIAVRxB0=; fh=FWzQLTaGF59LgWcXkLO82n1+iQMvThhUdce95jm91KA=; b=cZVl26ly15X3sgAQD6a5zi3ClctXwTFURYJtCmT9gK0nxSlHORgckIXUqba1KKrnwu SYJEQN/BPHJh6gEc58oNrZ8me4tZ1S3OJZbalXnzzSU7got44vRirWKQVw4RezBhS0Md 53NXpiQuePLHrCn5yvfZfWAoPwbY1pc+Iz+wtRMEHHpLigEaAaqyphGkRYZ25BXV9U1A o56F9qqfxUNUU0hkW+Whu95Hq68hOSJHZ1Zcrmnlr25lpf47YgSznEGJevkuKLkTG2El 0m3NgD1nft6spHmIVFnkPGGFRWnE8o/VsBIT1Qf19h79CiZNqvFjjKr+FX+W4ceMTuVU IktQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XDoH88qQ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id p16-20020a056000019000b003198c4231d0si2519132wrx.800.2023.10.19.06.54.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:54:30 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XDoH88qQ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7224A8714F; Thu, 19 Oct 2023 15:54:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="XDoH88qQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 26BFD8715A; Thu, 19 Oct 2023 15:54:27 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CEAD987125 for ; Thu, 19 Oct 2023 15:54:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507bd19eac8so4523873e87.0 for ; Thu, 19 Oct 2023 06:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697723664; x=1698328464; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MvDcZo6hzT2EoEoXpP9UfYe6J8Fs39SzYPUQIAVRxB0=; b=XDoH88qQUquwij45UNBLQCxOwsmt9eV36nAwnFiIlMRd2ZvHExq7itS3rS8ksU3fJb vYy77olSSNejps89txbQ/MMtxdnMAQjh8IMUn5+HajWLcVFatLaTlOy7szgKc9RQXQ1k JJ4QRIIAu6pWaienfNsQZR081bi2jfwFcfgNmIgwzjOfnkicPNXm1OR8CjMth+/GpQI2 QgpwImp7zbATTkcnqV7DjBBWe+g2tB+RdDcpe4Etz0L22aruUVMqSdWLp4UHDCdcZ5QP B0ha9ko3q+TNRsKoaH9lJn+bYOCaxk8tdfLM3HD1cVwfWiv2IlY26Je8/aGEn4cl0Ivt 0OXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697723664; x=1698328464; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MvDcZo6hzT2EoEoXpP9UfYe6J8Fs39SzYPUQIAVRxB0=; b=QSAhRZFGARPvut16F35xFLeStDjUn1MHaO3+iKeCDgtrVQblwFIZN94bykQ7EWGERT DqiICJXAHdholCqNcNnjHBh58gr/SJDPBokALaERfgB89Bwn6CWttsV9vTFOUEWFktkG H2mR5LtLXEwoWWp318ncm5KWJp3K7cPK2ltJgCKm5IrvZhKrucBEA9mwGSmTSLOkTgx7 5H9ubPESwXjkOkXR4YiwN+H9Lu4I/4FfV/HxkJAcsKhfi8K1kPob6k8lOkOfQqlaRm2n 697gIdn1GvXlzatBYRJx3HXCp4DOilmiYBkLSWsmU869IOZFBzI0KVO+GohAQpcGsfW/ suCg== X-Gm-Message-State: AOJu0YyUR+P1DICcu9uGMHzdwG6B1gozzrI1UOAafThOkiq97x2M20vX Lw24iQSbUQUBXDT+YBiRwJfjIy6AnulyLNTs5NXeJQ== X-Received: by 2002:ac2:5328:0:b0:500:b74b:e53 with SMTP id f8-20020ac25328000000b00500b74b0e53mr1550207lfh.46.1697723664078; Thu, 19 Oct 2023 06:54:24 -0700 (PDT) Received: from localhost.localdomain (ppp046103219117.access.hol.gr. [46.103.219.117]) by smtp.gmail.com with ESMTPSA id cy23-20020a0564021c9700b00522828d438csm4459981edb.7.2023.10.19.06.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:54:23 -0700 (PDT) From: Ilias Apalodimas To: u-boot@lists.denx.de Cc: masahisa.kojima@linaro.org, ryosuke.saito@linaro.org, Ilias Apalodimas , Jassi Brar Subject: [PATCH] board: synquacer: Update the flash image layout Date: Thu, 19 Oct 2023 16:54:19 +0300 Message-Id: <20231019135419.162726-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean The SynQuacer Developerbox, in EFI mode, supports A/B capsule updates and single image ones. The flash layout in the latter case is outdated, update it with the new offsets and images Signed-off-by: Ilias Apalodimas Tested-By: Masahisa Kojima --- board/socionext/developerbox/developerbox.c | 23 +-------------------- 1 file changed, 1 insertion(+), 22 deletions(-) -- 2.40.1 diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 9585944d80c1..ac4415ff3bbb 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -20,39 +20,18 @@ #if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) struct efi_fw_image fw_images[] = { -#if CONFIG_IS_ENABLED(FWU_MULTI_BANK_UPDATE) { .image_type_id = DEVELOPERBOX_FIP_IMAGE_GUID, .fw_name = u"DEVELOPERBOX-FIP", .image_index = 1, }, -#else - { - .image_type_id = DEVELOPERBOX_UBOOT_IMAGE_GUID, - .fw_name = u"DEVELOPERBOX-UBOOT", - .image_index = 1, - }, - { - .image_type_id = DEVELOPERBOX_FIP_IMAGE_GUID, - .fw_name = u"DEVELOPERBOX-FIP", - .image_index = 2, - }, - { - .image_type_id = DEVELOPERBOX_OPTEE_IMAGE_GUID, - .fw_name = u"DEVELOPERBOX-OPTEE", - .image_index = 3, - }, -#endif }; struct efi_capsule_update_info update_info = { - .dfu_string = "mtd nor1=u-boot.bin raw 200000 100000;" - "fip.bin raw 180000 78000;" - "optee.bin raw 500000 100000", + .dfu_string = "mtd nor1=fip.bin raw 600000 400000", .num_images = ARRAY_SIZE(fw_images), .images = fw_images, }; - #endif /* EFI_HAVE_CAPSULE_SUPPORT */ static struct mm_region sc2a11_mem_map[] = {