From patchwork Thu Oct 21 14:46:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 1544395 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=ff/Qa7BO; dkim-atps=neutral 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=) 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)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HZr1448WQz9sR4 for ; Fri, 22 Oct 2021 01:47:18 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0092883473; Thu, 21 Oct 2021 16:47:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="ff/Qa7BO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 30CCB833B1; Thu, 21 Oct 2021 16:47:04 +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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (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 EC805833B1 for ; Thu, 21 Oct 2021 16:46:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 27797611CB; Thu, 21 Oct 2021 14:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634827618; bh=ew/WKsRggSmSBV/kTkt8LPDV+/5+P2xxwTNDydpvsQc=; h=From:To:Cc:Subject:Date:From; b=ff/Qa7BOznEsglvmGYWN/RKPf+VMHbxLpcD+iw8H66tmjZXHCLD2t9Zv2KlLv+1Wh rmxo8txdFIG+8zVJ9Z/f8+Z9Y/L8kE8WX5mgbdIcgyDf9NoLWBnMaeyk4lhezdgGcz b5P1qEMLcpPWK4AQ4bCnZjDd6ueEEM3ifJTtB/07Yojxs4Woyb/5cGcb12un9Rf5sf AkaJjNz+LUuzfqSg2ZD0ywwWdAXmL1pB362BCVTz30YPm4SaaZ6P/XYVNMLZP5YEfE h2JZbsdoQjT1W8BTj9hfp8rR4S08R8QsSYHsP6Sj3egsggj/y519HHtpOw9S0iEiy4 SLYi4+0/n2Oqw== Received: by pali.im (Postfix) id 8E1C885E; Thu, 21 Oct 2021 16:46:55 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Stefan Roese Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , u-boot@lists.denx.de Subject: [PATCH 0/4] arm: mvebu: Fix usage of BIN header arguments Date: Thu, 21 Oct 2021 16:46:05 +0200 Message-Id: <20211021144609.9319-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.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.103.2 at phobos.denx.de X-Virus-Status: Clean BIN header arguments are used only for aligning ARM executable code to 128-bit boundary. This patch series document this behavior and fix kwbimage and kwboot code to properly generate BIN headers. Pali Rohár (4): tools: kwboot: Align UART baudrate change code in BIN header to 128-bit boundary tools: kwbimage: Align BIN header executable code to 128-bit boundary arm: mvebu: Add documentation for save_boot_params() function arm: mvebu: Remove dummy BIN header arguments for SPL binary arch/arm/mach-mvebu/kwbimage.cfg.in | 2 +- arch/arm/mach-mvebu/lowlevel_spl.S | 9 +++++ tools/kwbimage.c | 51 +++++++++++++++++++---------- tools/kwboot.c | 22 ++++++++++--- 4 files changed, 61 insertions(+), 23 deletions(-)