From patchwork Fri Jun 4 03:58:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1487563 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=KqXExQSO; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4Fx8FZ5GChz9sRK for ; Fri, 4 Jun 2021 14:01:06 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F36A483024; Fri, 4 Jun 2021 05:59:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="KqXExQSO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E87EE82FF3; Fri, 4 Jun 2021 05:59:14 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 D209C82EB8 for ; Fri, 4 Jun 2021 05:58:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x735.google.com with SMTP id o27so8117625qkj.9 for ; Thu, 03 Jun 2021 20:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kv+3+TRL8can+aN+wfK+fYqfd8/x8RX2vvdpKrTWpr8=; b=KqXExQSOOlUWpgvT2qPONa7B/Eytm8hoCeT8NqZFZ58xF6qR5gK485bCoMT17ZSthD nMBuLa1ZQxg6XDs2WASyaHmgiJYKG9W34LdbCAO33hossKsfJh53Fizr4PCG+jCwhCNl S8SdMAMQMRiHTD7vHQHxFEupfKvWj+X3Zgk/YbOKW4JxIwq6DKNuNtKX55elYA4P2dSD esjui/3gfEukmCXAybHpFOQiJlrlj2fDLk7SGkYg8m94Il7CzUvpfAeSCVNtiMub/ALh lWMu5A86rT/pzX07zi9fjohd8Z2XGeNxVmhKZH6eA36DJ2+eoqMXNkgr/uLX4xhEpveC 0ekA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kv+3+TRL8can+aN+wfK+fYqfd8/x8RX2vvdpKrTWpr8=; b=TPhrPXrwXseonugRDiCWF3xA4cy29U4tEvv0bJC7TbZaFIMpLjEnPid3TOAj98BO5e gLecDrStYfv5NJHSqC1NGpZMZFx1YPVT4o2ytp0DkU2/LaErE8vpmTIlr7hn9iPE8lOl x/4rIYvsxjIctKlwYbdcnEGg3w+k3XVhPFmnQMIAt819N8Mi5oXtdaA0AYkDOE2GDKj7 fyBG/hCWkIDgxAtiNVeZpXsC/qCUrj8H6rXZRIJuqNgiGpuFu8elAsF3EK/VpOqTUB+h v8NP7FHIHEo1v++pxl1XGHFOzGv5ikqwX+IN7EI/P/BQ+xMX/F2vLpB/p/Il0BIrYWeL qZgQ== X-Gm-Message-State: AOAM531K5ZDmysQA9pzIKsoZP6QqpMAgpkgFSohAG1PwmEnqOUngJp5f Kx6S2KCBCewbTqZiMH53IW6mDYDLEFg= X-Google-Smtp-Source: ABdhPJx1W4NEQtiIBSN/6alnWKKqBmY3ifQcy37/WzKwabAJszi0uKG7YHTUqAgSpm8t5BV/PdmKRQ== X-Received: by 2002:ae9:c019:: with SMTP id u25mr2553318qkk.467.1622779126630; Thu, 03 Jun 2021 20:58:46 -0700 (PDT) Received: from godwin.fios-router.home (pool-74-96-87-9.washdc.fios.verizon.net. [74.96.87.9]) by smtp.gmail.com with ESMTPSA id s10sm3120612qkj.77.2021.06.03.20.58.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 20:58:46 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Lukasz Majewski , Leo Liang , Damien Le Moal , Sean Anderson Subject: [PATCH v2 10/11] k210: Don't imply CCF Date: Thu, 3 Jun 2021 23:58:33 -0400 Message-Id: <20210604035834.625772-11-seanga2@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210604035834.625772-1-seanga2@gmail.com> References: <20210604035834.625772-1-seanga2@gmail.com> 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.102.4 at phobos.denx.de X-Virus-Status: Clean Now that the k210 clock driver does not depend on CCF, we should no longer imply it (and probably should not have in the first place). We can also reduce the pre-relocation malloc arena back to something sensible. Signed-off-by: Sean Anderson --- (no changes since v1) board/sipeed/maix/Kconfig | 2 -- configs/sipeed_maix_bitm_defconfig | 1 - 2 files changed, 3 deletions(-) diff --git a/board/sipeed/maix/Kconfig b/board/sipeed/maix/Kconfig index adf6abb572..b1d7a7ad93 100644 --- a/board/sipeed/maix/Kconfig +++ b/board/sipeed/maix/Kconfig @@ -37,8 +37,6 @@ config BOARD_SPECIFIC_OPTIONS imply SIFIVE_CLINT imply POWER_DOMAIN imply SIMPLE_PM_BUS - imply CLK_CCF - imply CLK_COMPOSITE_CCF imply CLK_K210 imply DM_RESET imply RESET_SYSCON diff --git a/configs/sipeed_maix_bitm_defconfig b/configs/sipeed_maix_bitm_defconfig index bd877cd055..4903476961 100644 --- a/configs/sipeed_maix_bitm_defconfig +++ b/configs/sipeed_maix_bitm_defconfig @@ -1,5 +1,4 @@ CONFIG_RISCV=y -CONFIG_SYS_MALLOC_F_LEN=0x10000 CONFIG_ENV_SIZE=0x1000 CONFIG_ENV_OFFSET=0xfff000 CONFIG_ENV_SECT_SIZE=0x1000