From patchwork Sat Jun 27 12:12:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1318309 X-Patchwork-Delegate: xypron.glpk@gmx.de 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Cm3RjozE; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 49vCLG038Hz9sQt for ; Sat, 27 Jun 2020 22:12:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49340813C4; Sat, 27 Jun 2020 14:12:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="Cm3RjozE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F0E081658; Sat, 27 Jun 2020 14:12:11 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (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 562E481260 for ; Sat, 27 Jun 2020 14:12:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pf1-x443.google.com with SMTP id a127so5820899pfa.12 for ; Sat, 27 Jun 2020 05:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=/H3ZhSrUpKuPzu0Ra7jl/k41SUSPbS/n9WWT1o4aFnk=; b=Cm3RjozEETez8hXyabhNNhH4rxEVHAueSuRy+G5ItFA3je0YeQhkBnfiSvW+o74ei3 9FlaYTEOIcN3AasNxv3sVfZ6Ui9Zp2vRBtcWIbPLmi1TwI2Yfx9gk62RASBXx52o2bIt k7Dqf/dWmP1OiMQqvX2BOCw/EOPQ3JB5vPd6A6U1LwkP8RrAv6mwdVNne2Cl3+QSOHx9 epI4+eokmEi9wx0DqLFjW5DAt68k37Lvj9vD4TP0MsB1kUgA0b3NDJbJ+0ub9yFpNBpq eLRc+8hm0XIN0jP+U2Gr0yQz9xGcTcNJElJkw+s+ckzoaQJu1PkzuerEvwlkUszRcD8f CMHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/H3ZhSrUpKuPzu0Ra7jl/k41SUSPbS/n9WWT1o4aFnk=; b=TKmxQxDZMnlG7uVoAUJpoKbY34adE6fKabudWTPcgrIzyXE/6o/4aMeKXyv6PtAYvv 5g60gFooNqHj+Cin2K/EmHMIlyU9kjxEitSWWyfFfzOshdxs32v7P8hLZODHlLu7na5S +Av2bYFMiSxj8vh3FV2fFX4758JsqxeEL13izS1HuKTFXdNim+6AByLlyyt2W9d/ezUH SzI1HMH053K3ldkOVZARxgqo8G55HMkzHP0cIpgwYNUw05FcVAiDM7PXV2tRtQ+AhQIr zrR9UKwZTYKTNG3l1qoa8V0L+DF5ueYJmgeSEZU5zZD7GMDJi3NxP+Xayb0OlP+GJ4pz YkPQ== X-Gm-Message-State: AOAM532lDUS5LEMfs88DIcWbEPnuDEaO7zeMQEnJQ2VC0AML4MOjeIN3 Flb6rVhkgdyM5Z2EHHDhv1k= X-Google-Smtp-Source: ABdhPJxdv/0YBqQydQ2I5FWDADW3fo07BKgcIugaMgwMMJX3QHk2CA7LK1Hx2dDUlgANsGO6MIiaGQ== X-Received: by 2002:a63:dc13:: with SMTP id s19mr2982192pgg.53.1593259926500; Sat, 27 Jun 2020 05:12:06 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id x7sm6042571pfq.197.2020.06.27.05.12.05 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 27 Jun 2020 05:12:06 -0700 (PDT) From: Bin Meng To: Heinrich Schuchardt , U-Boot Mailing List Cc: Bin Meng Subject: [PATCH] test/py: test_efi_fit: Update #size-cells to 1 Date: Sat, 27 Jun 2020 05:12:00 -0700 Message-Id: <1593259920-32256-1-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.2 at phobos.denx.de X-Virus-Status: Clean From: Bin Meng test_efi_fit tests fail on RISC-V currently. This is due to the RISC-V arch_fixup_fdt() checks the #size-cells of the root node in order to correctly fix up the reserved memory node. Update #size-cells to 1 so tests can pass. Signed-off-by: Bin Meng --- test/py/tests/test_efi_fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_efi_fit.py b/test/py/tests/test_efi_fit.py index beaf4a3..3616e99 100644 --- a/test/py/tests/test_efi_fit.py +++ b/test/py/tests/test_efi_fit.py @@ -106,7 +106,7 @@ FDT_DATA = ''' / { #address-cells = <1>; - #size-cells = <0>; + #size-cells = <1>; model = "%(sys-arch)s %(fdt_type)s EFI FIT Boot Test"; compatible = "%(sys-arch)s";