From patchwork Sun Apr 28 09:09:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 314 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 56D0B3F05A for ; Sun, 28 Apr 2019 11:10:05 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id h14sf5303515pgn.23 for ; Sun, 28 Apr 2019 02:10:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556442604; cv=pass; d=google.com; s=arc-20160816; b=aU1rZ0UETmpuEyP2kOMFCca7ZMPOut5fRSSOqOEAY9byJBmo8qhVUO228J0mAJp5r7 hWdT84dZmMEzlXR3iAim9ANLrR4/WDJHVn2AvfHZi0FtdiQ4keBNMXrRaHtk/fzzXCf+ oO6jyxiZ2bqFfO1Cy3Na99vRpxriOmP714WvE9xyT3m8504uffSD0A4BbFjHDT572+mH RrEE0HrriacZ6mducZbEBlo25xMFgQgR5vD9cELl15zPpR+7VuAcOw3C9r9NdVUs4eNX nuH+seNKs3nGga2gyAdkULgDXFdWqmNf5IkLIEy1+HUQdDzJNBKA7fsw8pbi9d7AZzvC BZbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=7LqPRgwYiaPHpCk3Hae7e9q1/no1v0M6qf5/JvMudrk=; b=m2xW07hqYHxV4+dmPPoF2Jy98qHtz0O8uWAxVrdH2CDHCrDbDhpLpFwvFg+3Y2ajKh V1CFwMddmhk2W2a7hLyRUmtIDhXcQuDCwN6X9izqPEVH+XbfgGcbgKWBb0VIs8MD+ZXn 4mUo/ex4OkpZapsGnL+P4IbgcSzCYFKwbkW1yzsXonpBy3ACkd9fXowiptiQEcmRP23H nmAyqeiVSZwpWlKB72b9uSmnBR9xoswjgivzRqhlkTPfwAkBE3UABQftTXZp4S8mZarE +Jd17DLyudWECnhtYQZ4EcGPg2x9Fi7u/SKJLAxHeF1Zt+HwJpLHT0RB+UlewNKRbJP0 rNKw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mQP1jm2k; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=7LqPRgwYiaPHpCk3Hae7e9q1/no1v0M6qf5/JvMudrk=; b=TNmLVtmvhKl7EyDpuZiQ5LE2NDnh4r6NhvXNIdyK9a71+Prp+XIBkVDCF5wFy9z11i ct4gamOEWyA14fPAsQI7nfXrAwUow8w4bQk3WFEQQ/S0xsqDbDSyXcdEj3COQuEuJvzo Oewl3ZowMEv90iCKLnKzy66Ir8nd1/7M4R6Ko= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=7LqPRgwYiaPHpCk3Hae7e9q1/no1v0M6qf5/JvMudrk=; b=ArqeXaifdgE5ay8EPkv9LkKUsvvnMjqQwFQu9SuqbC4SFXEdypkbLJ6IYILP8pm+nu 30lDJS6nOLHRpIUEO8GIYq19W79iWBL3q2ccJCWvVSeXP8mVK6rfLX8zuQQS+E77CLcx bIM2Q9lEK6Knp6oMvX7r3hQCi2SLy9ftCpqGE4Ug8mDsY2LtH6jbQYn93wetTuek8nAM lHEFNlOxo54AaMuAkwQD1Gl0xEGQ0xTcqDHevCcekz2v5OjyP2LRRSQCC/GXHm0rxPWO yv4EUS9oeRtwe8bxbfJN0Q6Uu7iPMbGMY+o/AsUI/RIu44HxqsvOsbpZdEdLz1cm+fGG 0mJw== X-Gm-Message-State: APjAAAVNRx58V7+4qWVxYonyw7CGeZmVCjt8kSSt6DrapNNW/81I9Jfl LM3JEf9LgdfF1gkfaFTGLRoKpiBf X-Google-Smtp-Source: APXvYqzdc9yWx+8Pu9K4z05xWtxvd/aPsASq/MAITqjAmFhAhIJA3s/1+TjbSY1OxVCaZGkGiO4X5Q== X-Received: by 2002:a63:5012:: with SMTP id e18mr52257552pgb.383.1556442604157; Sun, 28 Apr 2019 02:10:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:45d9:: with SMTP id n86ls338724pfi.8.gmail; Sun, 28 Apr 2019 02:10:03 -0700 (PDT) X-Received: by 2002:a65:4343:: with SMTP id k3mr21692018pgq.384.1556442603851; Sun, 28 Apr 2019 02:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556442603; cv=none; d=google.com; s=arc-20160816; b=0iHQVW7v95u4sTAb9ADMpaIb9VW+K45cqwMBX15cxMKdpPSXGLDm/AvJE0t40Lr1dR TkLMnN4lUgLrf8dXbOhouxluIJ0tZkrJLwj/0EWyFA6Ia7+zI1v1PEB52cBNAsigJi30 nl6lbL19yUS0A+NTxFqG8HS768U4f/YXKN5l5FJ0fQouf4cPsaG4rwu8+LDzkhDhnwVw EKRRgqE/9SeGoYQccx+7rSAZr19FZwltYyKDQqNBpk7N25N8urTbbxBOEgVCxvmZqQl4 aCIHxRxolaiSMJ5lWKLUVEfrlh0VRLYRypnRDtU1Gw1zSg3Po9aWn2MHlRV/XsJDaI9l FNdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jbmGXxkwOz7cAfu5fBsEmJSPwRK5yjC7zph2SDNhFiY=; b=K1WaOR1E0dge9ddJNquYLMXqWqb/HD1ibIFszfZZ3BDnwHEtxPT1IDX1mdgHjbGgA7 Pa1a2709AUOihIajyn6pvZdOsKL7Sm8Eh5XX8nylyC51qHjtwLjw+gSfqI+BFCa4AFBK WZQCHtgtGtiTPXPXuFIqJg5HXiRIH3w77nHfgmCSLwF2yRZzbXpwqjg1+dXFHltdFZoH JCo8RjBVqetZo0G3cfusRdgaS7nvGWRRlxgP1/ST5afznh14LsuH+7ik9SK2wZ0TN6vy fett+XYwRKSReI8slgjkwaLYcMZv5jko3T9ih0MyPqjYRL6/CCNm5BPnby7QSb4JMjkE OQYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mQP1jm2k; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f1sor5540803pgn.52.2019.04.28.02.10.03 for (Google Transport Security); Sun, 28 Apr 2019 02:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a65:518d:: with SMTP id h13mr53637108pgq.259.1556442603558; Sun, 28 Apr 2019 02:10:03 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id k7sm3040338pfk.93.2019.04.28.02.09.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Apr 2019 02:10:02 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v2 8/9] dts: Makefile: Build rockchip dtbs based on SoC types Date: Sun, 28 Apr 2019 14:39:12 +0530 Message-Id: <20190428090913.10568-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190428090913.10568-1-jagan@amarulasolutions.com> References: <20190428090913.10568-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mQP1jm2k; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Sometimes u-boot specific dts nodes or properties can use from config macros from respective rockchip family include/configs files, example CONFIG_SPL_PAD_TO. So, it's better to compile the dtbs based on the respective rockchip family types rather than rockchip itself to avoid compilation issues. This patch organize the existing dtb's based on the rockchip family types. Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index a2911fa2fd..0f9d6b7d0d 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -60,11 +60,19 @@ dtb-$(CONFIG_KIRKWOOD) += \ dtb-$(CONFIG_ARCH_OWL) += \ bubblegum_96.dtb -dtb-$(CONFIG_ARCH_ROCKCHIP) += \ - rk3036-sdk.dtb \ - rk3128-evb.dtb \ - rk3188-radxarock.dtb \ - rk3229-evb.dtb \ +dtb-$(CONFIG_ROCKCHIP_RK3036) += \ + rk3036-sdk.dtb + +dtb-$(CONFIG_ROCKCHIP_RK3128) += \ + rk3128-evb.dtb + +dtb-$(CONFIG_ROCKCHIP_RK3188) += \ + rk3188-radxarock.dtb + +dtb-$(CONFIG_ROCKCHIP_RK322X) += \ + rk3229-evb.dtb + +dtb-$(CONFIG_ROCKCHIP_RK3288) += \ rk3288-evb.dtb \ rk3288-fennec.dtb \ rk3288-firefly.dtb \ @@ -77,14 +85,20 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3288-veyron-mickey.dtb \ rk3288-veyron-minnie.dtb \ rk3288-veyron-speedy.dtb \ - rk3288-vyasa.dtb \ - rk3328-evb.dtb \ - rk3399-ficus.dtb \ + rk3288-vyasa.dtb + +dtb-$(CONFIG_ROCKCHIP_RK3328) += \ + rk3328-evb.dtb + +dtb-$(CONFIG_ROCKCHIP_RK3368) += \ rk3368-lion.dtb \ rk3368-sheep.dtb \ rk3368-geekbox.dtb \ rk3368-px5-evb.dtb \ + +dtb-$(CONFIG_ROCKCHIP_RK3399) += \ rk3399-evb.dtb \ + rk3399-ficus.dtb \ rk3399-firefly.dtb \ rk3399-gru-bob.dtb \ rk3399-nanopc-t4.dtb \ @@ -96,9 +110,12 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3399-puma-ddr1866.dtb \ rk3399-rock-pi-4.dtb \ rk3399-rock960.dtb \ - rk3399-rockpro64.dtb \ + rk3399-rockpro64.dtb + +dtb-$(CONFIG_ROCKCHIP_RV1108) += \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb + dtb-$(CONFIG_ARCH_MESON) += \ meson-gxbb-nanopi-k2.dtb \ meson-gxbb-odroidc2.dtb \