Message ID | 20201222140914.9933-5-m.szyprowski@samsung.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp5358219jai; Tue, 22 Dec 2020 06:10:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwB4Dp0X8W3uEBDxdVdX/9WFxBLCPYFH4//m1TIy9QBX8yi5Viv6YHNw8m3hxaj3iCLI/Rb X-Received: by 2002:a17:906:eca9:: with SMTP id qh9mr2864459ejb.188.1608646228226; Tue, 22 Dec 2020 06:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608646228; cv=none; d=google.com; s=arc-20160816; b=EiPch15yz/NrgjsvtxfcfBkOaSbF7bkfWuaQdqk+bE7iLFU7MFUaWs4EzrhD07kGrp D9I4gqtLomfsIsYeaaCP2Cb4fqAx4gMZ0thzoxpdI8gXKv/TQp3mzVXlZG//6jjE3UqR Ingjl4bws8B3o8wGlEzQzE/Gaix4nf9fd6oIlKdCOGqmH2P7iOy1jRpBeh0qG8XFNtkN gWPrXgq9utjPZB6CeEyUCRAF8GN0UWmEG6tQW+PPBmos+M0wX9uCg8u9Fp/1UdXPUddo thx9C4GAjJ6ZpYzFLMBNdJNwaom6DOTu5fX+w+Jk5I/XwxxlQQfFunBkG9vlN7Pj4JQ4 BbGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=QVv/OpDO86vbjc8WTV2cueIe9E1CfauEIcaW529qV2w=; b=az3YK9n/5cqi/yf673RWc9SHyloWCyC7ZvpNt541rsjW/KZPw1LI510tEfUAJzrBVE ZQ+Q+KcSbQUTaqfa5EHplzaFZhHrIrC/cFEGaREnwTkygqfGb6liVi38ZO88MtWpeqZ/ RjwhnfpRGhcGfaFMwpG5uHq79Vfuo156RIRg5uuPhxSACgP9VXUbwJMplsPWACWYw+s0 S0pZ1OnTlrOm6559Yh8xpuSHpe4dsDZ/cXdMRZh8SK5o27cntF6WaqbZIWpHZfBwJEaK YXQ4wfOFB4xBa9gOuQtVjS7BHwHC1pLB6bwzL1f/Ww17eRZSaTyn5VabG5Gnx54kelf0 6zaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GOTqC+tU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id by16si10269439ejb.105.2020.12.22.06.10.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 06:10:28 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GOTqC+tU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA22182ACB; Tue, 22 Dec 2020 15:10:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com 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=samsung.com header.i=@samsung.com header.b="GOTqC+tU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 538DD82AD2; Tue, 22 Dec 2020 15:09:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9C51482AC9 for <u-boot@lists.denx.de>; Tue, 22 Dec 2020 15:09:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=m.szyprowski@samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201222140950euoutp01506fa4a0bcc262a171e3fa21eab0fd9b~TDy-hvlWq2281922819euoutp01f for <u-boot@lists.denx.de>; Tue, 22 Dec 2020 14:09:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201222140950euoutp01506fa4a0bcc262a171e3fa21eab0fd9b~TDy-hvlWq2281922819euoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608646190; bh=QVv/OpDO86vbjc8WTV2cueIe9E1CfauEIcaW529qV2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GOTqC+tUGCxu/Ar7mULKrObLtLVJhRBf5ho29v4symXjLdXXUpo/Mz9Wo+H2Gpi0Y avgyJmS3WjycmDql/kMFXCDWUrENtLNxb3Tt5QtkMJZBndgSOa6oWeVmcHE1MZo0dy g7bCN0/g485Oaep29Ut2RoD2GluIP1nGgB03aAGE= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201222140949eucas1p2774ebfdd4be83c0f472b2162734c66ef~TDy-NJ2Sl3183831838eucas1p2q; Tue, 22 Dec 2020 14:09:49 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 5C.8D.45488.D2EF1EF5; Tue, 22 Dec 2020 14:09:49 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201222140949eucas1p2b1c1d67596275f488aad2136478ce677~TDy_pyC4o2496624966eucas1p2m; Tue, 22 Dec 2020 14:09:49 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201222140949eusmtrp1553d57d199eba7f23f4a048841c29c56~TDy_jk7mU0854808548eusmtrp1T; Tue, 22 Dec 2020 14:09:49 +0000 (GMT) X-AuditID: cbfec7f5-c77ff7000000b1b0-f6-5fe1fe2d8f76 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 06.37.16282.D2EF1EF5; Tue, 22 Dec 2020 14:09:49 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201222140948eusmtip116726f63c1e74267010bee5a9b3561de~TDy_HG70O0857608576eusmtip1G; Tue, 22 Dec 2020 14:09:48 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: u-boot@lists.denx.de Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Lukasz Majewski <lukma@denx.de>, Simon Glass <sjg@chromium.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Jaehoon Chung <jh80.chung@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Subject: [PATCH v2 4/6] disk: dos: make some functions static Date: Tue, 22 Dec 2020 15:09:12 +0100 Message-Id: <20201222140914.9933-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201222140914.9933-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsWy7djPc7q6/x7GG7y4qWuxccZ6Vosbv9pY LZ6/u8xksfbIXXaLb1u2MVq83dvJbnF46gdGB3aP2Q0XWTzmzTrB4vHhY5zH2Ts7GD36tqxi DGCN4rJJSc3JLEst0rdL4MrYtvMKe8FU9oqpd++wNjD+Zu1i5OSQEDCR2Pf1OksXIxeHkMAK RolfS+8yQzhfGCWmHt/ACOF8ZpRYOO0ZO0xL+4ResHYhgeWMErvOR8N13Fi7jxkkwSZgKNH1 tosNxBYRkJD41X8VbBKzwD9GiYO/PoJ1CwvYSpx7sxisiEVAVeLE09eMIDavgI3EwwXPmCC2 yUus3nAAbCgnUP2xF3fA7pMQmMoh8enkXhaIIheJufub2SBsYYlXx7dAnSojcXpyDwtEQzOj xMNza9khnB5GictNMxghqqwl7pz7BdTNAXSfpsT6XfoQYUeJHxueMIKEJQT4JG68FQQJMwOZ k7ZNZ4YI80p0tAlBVKtJzDq+Dm7twQuXmCFsD4mGz+vYISE0gVFi550HTBMY5WchLFvAyLiK UTy1tDg3PbXYOC+1XK84Mbe4NC9dLzk/dxMjMFGc/nf86w7GFa8+6h1iZOJgPMQowcGsJMJr JnU/Xog3JbGyKrUoP76oNCe1+BCjNAeLkjjvrq1r4oUE0hNLUrNTUwtSi2CyTBycUg1M/Isl 90hkPZ4cHRoUsawnqPiLUuuXDRu09SXf2H2SLJ626I1Zoob2vMV3K+/Hu948HSAiceK0duPb aq/s+yoO38yf7JmepSElIf/a5kjg/F8hG64oVducOfkzYvvxiXe4TGbcztnzp0jk06tzS/oi paebW0Y9SItKqpxVrN9XnLZLTE7t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oIzt0t6fZyb4vr5k HPDs7bLY1k27n5w4frGavVWza0fF4oQzFQbWWn3vBV4lN39qX9L+ylA/TnzaFT3Dq90t4tPl E3rWS4uYXNhlGHrnkY0SS3FGoqEWc1FxIgBgqREM4gIAAA== X-CMS-MailID: 20201222140949eucas1p2b1c1d67596275f488aad2136478ce677 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20201222140949eucas1p2b1c1d67596275f488aad2136478ce677 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201222140949eucas1p2b1c1d67596275f488aad2136478ce677 References: <20201222140914.9933-1-m.szyprowski@samsung.com> <CGME20201222140949eucas1p2b1c1d67596275f488aad2136478ce677@eucas1p2.samsung.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add MBR partition table creation and verify command
|
expand
|
diff --git a/disk/part_dos.c b/disk/part_dos.c index 3b79b9b1b8..2c4ad0b6ba 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -302,13 +302,13 @@ static int part_get_info_extended(struct blk_desc *dev_desc, return -1; } -void part_print_dos(struct blk_desc *dev_desc) +static void part_print_dos(struct blk_desc *dev_desc) { printf("Part\tStart Sector\tNum Sectors\tUUID\t\tType\n"); print_partition_extended(dev_desc, 0, 0, 1, 0); } -int part_get_info_dos(struct blk_desc *dev_desc, int part, +static int part_get_info_dos(struct blk_desc *dev_desc, int part, struct disk_partition *info) { return part_get_info_extended(dev_desc, 0, 0, 1, part, info, 0);
Make functions not used outside this file static. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- disk/part_dos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1