From patchwork Fri Mar 11 19:10:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1604519 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=hGV+nRzU; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4KFbB254Fbz9s3q for ; Sat, 12 Mar 2022 06:10:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D69A581F9A; Fri, 11 Mar 2022 20:10:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="hGV+nRzU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B84AF83093; Fri, 11 Mar 2022 20:10:42 +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=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2246E82D3B for ; Fri, 11 Mar 2022 20:10:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-qv1-xf2a.google.com with SMTP id jq9so7751131qvb.0 for ; Fri, 11 Mar 2022 11:10:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ojYE9H3bsTHNNRJaQ+Xta9kBwVDqlckCoVOyuHpQCNI=; b=hGV+nRzUGAd28ch9LD/T8JoK73mTAu8P27EOGG7CWkA+vBhhxNC5zSESAtp/HAYnb6 rQlFUti4ycvgM9QuNo2OE7BXPnwJP42CEiq4vpkBhIOTv8DPg4PH3R1dh9W/adoX5qc4 SA7SflkRMWz+iDTbF1IaaS8WIegFj2QdTPRQk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ojYE9H3bsTHNNRJaQ+Xta9kBwVDqlckCoVOyuHpQCNI=; b=uqBX1WT3vwh5YR8WnVC+Po9Uz6Jt4pG6fscDTfEmFZW+ajSkNLrN/1MnCjibkQfhhH h+RTvYz1lGqb/3n5cnjzxF2iMvzT988RdExAmuwfNMjRWVTIkZJVBWMpkCRph9X1qozH FXTSooh7reF6jIOAIDZ4Td8KAoX27FdVW9GRQ0Mv3515OQ9GG3lbrTAY+WrUIYpOIcNZ 9Gz1nwbNermpW3mIyA6EejCw8RKJtkoWatQvKbijtt8rcNkLmc0DP/SYlYXE53I4s+LK yRGRq3QaN0Qwi+JyVJD+2oJjs1sj31wX4o4sTR16Kkw1hMTXdjfhpqH8jIxBX17SeQLy nk/A== X-Gm-Message-State: AOAM532OZekJ5s39X2RVu9742aKkWCS6gjVBbrxz5dbLd4Vw6cBiVq6R nDurFvKN6rz3lbopBsts+e7HFAIbrcU6UA== X-Google-Smtp-Source: ABdhPJxk2GmsyHoHXAT7LQCys7lwiBjDL49NAnqvCgwWUSEO910ymUkGXoqVNE1bc8FGTHjMGQlKYA== X-Received: by 2002:a0c:be8f:0:b0:42c:5083:c6d2 with SMTP id n15-20020a0cbe8f000000b0042c5083c6d2mr9190957qvi.86.1647025837524; Fri, 11 Mar 2022 11:10:37 -0800 (PST) Received: from sjg1.unitedwifi.com ([205.220.129.24]) by smtp.gmail.com with ESMTPSA id b21-20020a05620a04f500b0067b4895472esm4335425qkh.5.2022.03.11.11.10.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 11:10:36 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , AKASHI Takahiro , Simon Glass , Heinrich Schuchardt , Nobuhiro Iwamatsu , Patrick Delaunay , Soeren Moch , Wadim Egorov , Wolfgang Denk Subject: [PATCH 0/5] Reduce size of a few boards Date: Fri, 11 Mar 2022 12:10:00 -0700 Message-Id: <20220311191005.364540-1-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.723.g4982287a31-goog MIME-Version: 1.0 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.5 at phobos.denx.de X-Virus-Status: Clean This series is intended to be applied before with EFI clean-up series from Takahiro-san. It reduces the size of a few boards by removing features. It also allows the partition driver to be dropped in SPL, thus eliminating the SPL size gains. The helper-function patch must be applied after the EFI series, but the others can come before. Simon Glass (5): disk: Add an option for partitions in SPL tbs2910: Disable ext4 write rcar3_salvator-x: Drop EFI_LOADER phycore-rk3288: Avoid enabling partition support in SPL disk: Use a helper function to reduce duplication configs/phycore-rk3288_defconfig | 2 +- configs/rcar3_salvator-x_defconfig | 2 +- configs/tbs2910_defconfig | 1 - disk/Kconfig | 24 +++++++++++++--- disk/Makefile | 6 ++-- disk/disk-uclass.c | 46 ++++++++++++++++-------------- drivers/block/blk-uclass.c | 2 +- 7 files changed, 51 insertions(+), 32 deletions(-)