From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BE2CC433F5 for ; Sun, 8 May 2022 15:10:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA4B083F21; Sun, 8 May 2022 17:08:54 +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="QMjOXCUy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4A94D83E42; Sun, 8 May 2022 17:08:43 +0200 (CEST) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 EE68A83E42 for ; Sun, 8 May 2022 17:08:35 +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=jbx6244@gmail.com Received: by mail-ej1-x632.google.com with SMTP id i27so22461129ejd.9 for ; Sun, 08 May 2022 08:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lntH75coLxFdV6hyO6PlvEpsWZ3QS/rhF4Zpe48G+N4=; b=QMjOXCUypDmTl1f+WrCLAFobSRSmt8JxQsaSXWZUwZTPLCnDhRn9KMrUorP8iwTqo2 bp9YryFvt0b4lbzVlwarY1qk+NEbVaUndV4gQqSps4iIOuy4+Nd9WbP0FOlWUek30oDp guWN3ix35t31Sn3kmmq5Z1xIxuOXuLpPHQ9zFYm27YCsyamQmGCaxDeBL8lf8SHkLWCW rRYDIUC+uHkmemlGKwcpmgo8NOQMMtqwtCyrOE+md8/nmWa8xPon+oJtwsRJgr4iVY+Y t+PdUMlw9xWy3OWbbcgqqoJW075rlf7gw40YzaL1bDpIN0e+gGXkWl9t6ux/xZ0+YdQA EFDA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lntH75coLxFdV6hyO6PlvEpsWZ3QS/rhF4Zpe48G+N4=; b=So6zygfinld5w/uT4X60MVgif11rcIpaY+xt/JuhFmkZ/rlDJxHqoPe51UJaSOvsBd poP7eb9zaSgMMrhRY8CDBqu3wHSJ3jIgfB4JZJAHWkGKj/1b+UX4NixpLm0AhuatbUuh NlSVFzw36801dG/C2jSAQ3aLjpwvac6I004ypsArWNE89v+JPosZ79qyMKp537yExzeF 0blcORiQrqJYI6ya/QWS/SAmAWVJ6ZsuIS8aI04LXmup1+7PuSCdbxHGW92oU+Mq+uMd WXcarI9FVXpx5Zi3CunwXawSq/ve/cXSXRR4zy9Svp3V5CbeJ1zFX6XZvcX9JvHmzoUo ecMQ== X-Gm-Message-State: AOAM532n8oH2QqkVm6oDilf7du5nBImqXxwgiOIg6ldfBglhOZHbZI/D BeR4xTSF8+dO2eFlk0RW4ww= X-Google-Smtp-Source: ABdhPJy9zv3hLSvrif99j0nbFJ03snXqY/bx1olpOaCQGKT9y4voeznUeGzp7UUnQ/jqHbs2x3RTEg== X-Received: by 2002:a17:907:1c20:b0:6f4:639e:9400 with SMTP id nc32-20020a1709071c2000b006f4639e9400mr10759934ejc.485.1652022515393; Sun, 08 May 2022 08:08:35 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id yl26-20020a17090693fa00b006f3ef214dc2sm4102721ejb.40.2022.05.08.08.08.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 08:08:35 -0700 (PDT) From: Johan Jonker To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, lukma@denx.de, marex@denx.de, u-boot@lists.denx.de Subject: [PATCH v1 04/17] rockchip: board: allow spl compile for usb init functions Date: Sun, 8 May 2022 17:08:12 +0200 Message-Id: <20220508150825.21711-5-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220508150825.21711-1-jbx6244@gmail.com> References: <20220508150825.21711-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The usb init functions in board.c are needed in SPL during boot, so allow SPL compile for board.c Signed-off-by: Johan Jonker --- arch/arm/mach-rockchip/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile index 6c1c7b8a..ebe0afa2 100644 --- a/arch/arm/mach-rockchip/Makefile +++ b/arch/arm/mach-rockchip/Makefile @@ -22,10 +22,11 @@ ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) # we can have the preprocessor correctly recognise both 0x0 and 0 # meaning "turn it off". obj-y += boot_mode.o -obj-$(CONFIG_ROCKCHIP_COMMON_BOARD) += board.o obj-$(CONFIG_MISC_INIT_R) += misc.o endif +obj-$(CONFIG_ROCKCHIP_COMMON_BOARD) += board.o + ifeq ($(CONFIG_TPL_BUILD),) obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o endif -- 2.20.1