From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 13 Dec 2024 22:01:54 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tMCnJ-007jN2-1m for lore@lore.pengutronix.de; Fri, 13 Dec 2024 22:01:54 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tMCnJ-0001Rr-91 for lore@pengutronix.de; Fri, 13 Dec 2024 22:01:53 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OyZ+yRWmAxPZk+l86jAcFOZfPCm7mg5pKGzosJJKmmQ=; b=jOX0yteoiN2sbIHA5nZMFRn0hE z+j5oy7fT6tRoTjMTl6GGrKRKaaZofddh1K6og+7G5gYCyz8SiI6IdW+oiB5TQpNwf+l+nWHTNvvD m38nc0U24BFuEY6TcbrAjr5M8Dy5WAsaZbZQ2uQXy28dw3vdh9r5a/nUTwFePbwLeLCAEFYldWjg6 KTi+1bv6ebOji1TP4cgwcswqVUB2dEFQUozP3+pSy3ZN5/K7c6OW/QCKZicthsaunrv2bbwqzNkTt qnY5mfRF+ZBvr8yP/wIo+EiSQLFXVyeMraQm1psGN2nWOTysyTCmiM//d+L5F+DLdiOEgVooazf58 /Ulwsg3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tMCmu-000000051tL-0mAE; Fri, 13 Dec 2024 21:01:28 +0000 Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tMCmo-000000051oW-3cZm for barebox@lists.infradead.org; Fri, 13 Dec 2024 21:01:25 +0000 Received: by lynxeye.de (Postfix, from userid 501) id 0E006E74081; Fri, 13 Dec 2024 22:00:24 +0100 (CET) Received: from astat.fritz.box (a89-182-99-197.net-htp.de [89.182.99.197]) by lynxeye.de (Postfix) with ESMTPA id 2E2D7E74073 for ; Fri, 13 Dec 2024 22:00:20 +0100 (CET) From: Lucas Stach To: barebox@lists.infradead.org Date: Fri, 13 Dec 2024 22:00:11 +0100 Message-ID: <20241213210015.357249-5-dev@lynxeye.de> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241213210015.357249-1-dev@lynxeye.de> References: <20241213210015.357249-1-dev@lynxeye.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241213_130123_041543_EF9052BA X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH 5/9] ARM: zynq: zed: add Barebox update handler X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) Add a BBU handler for easy updating. Signed-off-by: Lucas Stach --- arch/arm/boards/avnet-zedboard/board.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boards/avnet-zedboard/board.c b/arch/arm/boards/avnet-zedboard/board.c index faa0bacf0ce1..b19b26bfb307 100644 --- a/arch/arm/boards/avnet-zedboard/board.c +++ b/arch/arm/boards/avnet-zedboard/board.c @@ -2,6 +2,7 @@ // SPDX-FileCopyrightText: 2013 Steffen Trumtrar #include +#include #include #include #include @@ -17,6 +18,9 @@ static int zedboard_console_init(void) barebox_set_hostname("zedboard"); + bbu_register_std_file_update("SD", BBU_HANDLER_FLAG_DEFAULT, + "/boot/BOOT.bin", filetype_zynq_image); + return 0; } console_initcall(zedboard_console_init); -- 2.47.1