From patchwork Thu Nov 5 08:16:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1394802 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; dmarc=pass (p=none dis=none) header.from=gmail.com 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=UyFGKstg; 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 4CRbwR4sJHz9sSs for ; Thu, 5 Nov 2020 19:17:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 76E2382385; Thu, 5 Nov 2020 09:17:03 +0100 (CET) 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="UyFGKstg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 18E478239C; Thu, 5 Nov 2020 09:17:02 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (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 8690082364 for ; Thu, 5 Nov 2020 09:16:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pg1-x543.google.com with SMTP id 62so838079pgg.12 for ; Thu, 05 Nov 2020 00:16:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=fYtSQkRqMHEkP1w5IvW9G4Lf4a0HfF/sepQxSazf/Fc=; b=UyFGKstgLoJxjfb0eiDkzoD3DB8kzIfKtXpdW/n5dv0uvW+WleFAeZtAxpJSyNlOE3 MTT/o/4MRDTww6sev+Mv1l5ny5Q8Z37BX3S0Ns0EzgnplzkFvG0A5myGlEISVwoVwvK3 Tnp0xf/gFU38PlnvHzunc3W29STaT5e0NLtT+QuTREyvq1L2dwhXTu3qHROLd/MUkXF+ UUbEVw7R7osU4hXXBkP5Z9FNMbAc0kGCweuEVtjhGT2UOqyyT5LfKzuhd9gB0LhsaXhR jGDhtnj5WHdArLYQMt5am9vwapHo+plUmW+7aPfq5y2SZzF2liGghmCQQ0bDRPAWx4Bi 5z+A== 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; bh=fYtSQkRqMHEkP1w5IvW9G4Lf4a0HfF/sepQxSazf/Fc=; b=Uu+z10tWw5PGWDm9wmjapw/+qJlko+bPWAyo3jaKYVy4xaR7umYreM1y8cS5gF4Gkb 7NfJG8Tcj9uWQkyTHgTOU/RzrYyIa1LUSI/uBZce1dFt+r/wV4zvGAd7N6wrfqtEI66p Ct5RhhFLnTC2FDmVhCbgTLwOrqxozO6CG19v7d3B8cnlLqpBW1AciuD9SstNHmGOUc0c 7tW4VFhU7o8sv7om9O0+bQHvPK5tOZk7U3nCmULfdr9epH6ql3nAgtvTsk/XYIX6mK6I PNpoAQNVWEmYRR9bGrjRSdXV58nEUn2xdvFU5gSCMBefOCXAF0d4MoIVwisv9BpxdebC tXvQ== X-Gm-Message-State: AOAM5338EXs40PKr68tJNb6CuRL5b2w+/Nf/kI8jj6sNgpcLZeXcw3uu BsQEG4Rqwo3dS5LlgcS2vZo= X-Google-Smtp-Source: ABdhPJx9tRWpPjw3yNIRbAZKk7Wiuzdfa+tOIbacGKgsIMOrNmu+G5ZPJ5zEjtDG58fTZYleqbhGjQ== X-Received: by 2002:a17:90a:de15:: with SMTP id m21mr1347947pjv.180.1604564216826; Thu, 05 Nov 2020 00:16:56 -0800 (PST) Received: from pek-vx-bsp2.wrs.com (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id s19sm1334255pfe.26.2020.11.05.00.16.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Nov 2020 00:16:56 -0800 (PST) From: Bin Meng To: Rick Chen , U-Boot Mailing List Cc: Bin Meng Subject: [PATCH] riscv: Fix ax25-ae350 and qemu-riscv Kconfig dependency Date: Thu, 5 Nov 2020 16:16:41 +0800 Message-Id: <1604564201-50491-1-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.7.4 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.3 at phobos.denx.de X-Virus-Status: Clean From: Bin Meng SPL_RAM_SUPPORT and SPL_RAM_DEVICE are only visible in an SPL config. Reported-by: Heinrich Schuchardt Signed-off-by: Bin Meng --- This patch should be applied after the following one: http://patchwork.ozlabs.org/project/uboot/patch/20201104114901.9420-2-xypron.glpk@gmx.de/ board/AndesTech/ax25-ae350/Kconfig | 4 ++-- board/emulation/qemu-riscv/Kconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/AndesTech/ax25-ae350/Kconfig b/board/AndesTech/ax25-ae350/Kconfig index 321dd0c..2491e26 100644 --- a/board/AndesTech/ax25-ae350/Kconfig +++ b/board/AndesTech/ax25-ae350/Kconfig @@ -32,7 +32,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select RISCV_NDS select SUPPORT_SPL imply SMP - imply SPL_RAM_SUPPORT - imply SPL_RAM_DEVICE + imply SPL_RAM_SUPPORT if SPL + imply SPL_RAM_DEVICE if SPL endif diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 0818048..71ce2e5 100644 --- a/board/emulation/qemu-riscv/Kconfig +++ b/board/emulation/qemu-riscv/Kconfig @@ -33,8 +33,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply SMP imply BOARD_LATE_INIT imply PCI_INIT_R - imply SPL_RAM_SUPPORT - imply SPL_RAM_DEVICE + imply SPL_RAM_SUPPORT if SPL + imply SPL_RAM_DEVICE if SPL imply CMD_PCI imply CMD_POWEROFF imply CMD_SCSI