From patchwork Mon Apr 12 03:58:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1464984 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=u6ZToHtk; 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 4FJZlG0D6jz9sVt for ; Mon, 12 Apr 2021 14:00:25 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D676681CAF; Mon, 12 Apr 2021 05:58:49 +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="u6ZToHtk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7864080C6D; Mon, 12 Apr 2021 05:58:32 +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=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 2998080EFE for ; Mon, 12 Apr 2021 05:58:20 +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-qt1-x834.google.com with SMTP id y2so8945359qtw.13 for ; Sun, 11 Apr 2021 20:58:20 -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=p2ztkWza1Z+PlFdlVpjKAzzqkXYXvCKiidUMabDTEaI=; b=u6ZToHtkTINZI87lTQP4ogBL2UFrp3lB3XmYuqU2LBm+GosRXVz1xTF0ginCSBeI0z hNcCwq5CXbCo4RNLAvPfFgevecpQVm2z33BIOWDsAlx4xxA/mnxcSnbbCBrJ4R3skJEU Us4tEAHFoo5OdYNErQJH2TWrWsyJjzwn6WmEvK/31oSGUlHUQ8aDtCeIKN1Ynp1WkXbT KOSnm2OA8pmbur54qpXOeWf7WdRtKM/V9RhBYphFv+sOpJ8OCboswp1Oo82ZDWKgZIPa xTh5HD2hVi5SatCKxgbdax0lgAtyb0fddbHoilqG3rqJ34n6NiKEi3fiwM9YBmrRGkXU dLcQ== 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=p2ztkWza1Z+PlFdlVpjKAzzqkXYXvCKiidUMabDTEaI=; b=iyFatArWr+19PC6icaLVKf5N3UmPy39Ms8ti34PnQVYnWS0KbPwyrmVi2Om4k31hlZ OfdgMoHxXzVgUu6MVwJRwdBLvRqaeCCGQslIe68Quc6RhozVtPAyoC8fFQynQlkcZq7v auy51SVWiBwvdUZq5fCgI4/DHR17R0ajo9BTu3dBFVvLeYVT85QeugbqQFvf2lx9V5wf 7ZIBSRsBrVD672/O6nAjTNCcuALknIHwTzub+NaONUY8AJXd7E6PArPudG2+Ng7RY6hj IlddXyOleQOY9NBDh7zh4EvJmNogVTiBe7hRreQ/BU4/M91z5L1ACBFX1Hpu1qQwNbUB LdvQ== X-Gm-Message-State: AOAM5320WioXAGoGcHLyTqkrd+WU1HMX/vRgfj+2L5YaoGYs/YBOuqIL 5X2Q7LKto6JCkFJvGvVSMKMP8RkBNzc= X-Google-Smtp-Source: ABdhPJw7/oW5e/c3e9aRRA5HE5kFzrdL3IxxADQq+DI9dli+1zwVKsTYip0aUiUdwR3KeT49AjgoNg== X-Received: by 2002:ac8:59c9:: with SMTP id f9mr23476486qtf.234.1618199898975; Sun, 11 Apr 2021 20:58:18 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id 14sm7117402qkf.119.2021.04.11.20.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Apr 2021 20:58:18 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de, Lukasz Majewski Cc: Damien Le Moal , Sean Anderson Subject: [PATCH 10/11] k210: Don't imply CCF Date: Sun, 11 Apr 2021 23:58:06 -0400 Message-Id: <20210412035807.708621-11-seanga2@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210412035807.708621-1-seanga2@gmail.com> References: <20210412035807.708621-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 --- 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