From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 625A4C433EF for ; Thu, 21 Oct 2021 14:47:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7D5EF600CC for ; Thu, 21 Oct 2021 14:47:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7D5EF600CC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de 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) 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=20Roh=C3=A1r?= To: Stefan Roese Cc: =?UTF-8?q?Marek=20Beh=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) -- 2.20.1