Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72C9BC433F5 for ; Mon, 10 Oct 2022 18:30:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9929084EE8; Mon, 10 Oct 2022 20:30:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.b="HYf4B0NG"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="9zt0AF7r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1A1C484EF4; Mon, 10 Oct 2022 20:30:08 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C401784E34 for ; Mon, 10 Oct 2022 20:30:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=msuchanek@suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 8510621899; Mon, 10 Oct 2022 18:30:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1665426604; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=07tbnZO3AJfmXPpKANJgI5NLG5n9YXrn82Kq3s63C4E=; b=HYf4B0NGYRLT2O+Vg9aF2hhbdil6an5y0lqQ7d7QUAzM2YzikiyqCMruY+xikbfrKhoJQe Ea4ezGZRsnNhtm2RoPcdvpp3hfvKIlndt6Wyyg3j5L4XLWlxs0Wcj/4IwStBxm+p1VVrFB ow4fXD2auFuUMoImyv+aR/Ua8t17TBc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1665426604; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=07tbnZO3AJfmXPpKANJgI5NLG5n9YXrn82Kq3s63C4E=; b=9zt0AF7r4kMxiol052NHiQVBT6OSZgFlVv9zmgwYHSBw8t3JF7ya/0SQkHLGMY2XLIFwCe zHt3g8rKtahWkJDw== Received: from naga.suse.cz (unknown [10.100.224.114]) by relay2.suse.de (Postfix) with ESMTP id 81BB42C141; Mon, 10 Oct 2022 18:30:03 +0000 (UTC) From: Michal Suchanek To: u-boot@lists.denx.de Cc: Michal Suchanek , Andrew Scull , Etienne Carriere , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Patrick Delaunay , Paul Doelle , Philippe Reynes , Ramon Fried , Sean Anderson , Simon Glass Subject: [PATCH v2 1/2] sandbox: Initialize sysreset before relocation Date: Mon, 10 Oct 2022 20:29:39 +0200 Message-Id: <20221010182940.20641-1-msuchanek@suse.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Without this the early sysreset code cannot be tested. Signed-off-by: Michal Suchanek --- v2: use u-boot,dm-pre-proper rather than u-boot,dm-pre-reloc - sandbox SPL cannot build otherwise --- arch/sandbox/dts/sandbox.dtsi | 1 + arch/sandbox/dts/test.dts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index de7a218f45..14c3f54563 100644 --- a/arch/sandbox/dts/sandbox.dtsi +++ b/arch/sandbox/dts/sandbox.dtsi @@ -239,6 +239,7 @@ reset@1 { compatible = "sandbox,reset"; + u-boot,dm-pre-proper; }; rng { diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 4ee471238e..88ddc7c4da 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -1121,10 +1121,12 @@ reset@0 { compatible = "sandbox,warm-reset"; + u-boot,dm-pre-proper; }; reset@1 { compatible = "sandbox,reset"; + u-boot,dm-pre-proper; }; resetc: reset-ctl { -- 2.37.3