From patchwork Mon Dec 10 01:44:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1010209 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="POI6NkPl"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43Cm92607vz9s4s for ; Mon, 10 Dec 2018 12:44:54 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 24F73C21E3B; Mon, 10 Dec 2018 01:44:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C43B7C21E1E; Mon, 10 Dec 2018 01:44:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 142D5C21E1E; Mon, 10 Dec 2018 01:44:46 +0000 (UTC) Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lists.denx.de (Postfix) with ESMTPS id 7BB01C21D56 for ; Mon, 10 Dec 2018 01:44:45 +0000 (UTC) Received: by mail-io1-f72.google.com with SMTP id u2so9831426iob.7 for ; Sun, 09 Dec 2018 17:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:message-id:mime-version:subject:from:to:cc; bh=2o+mkXW6eMEePNOXVVbEz09Ui0dpivHS6VR5MWxDENk=; b=POI6NkPlA0BBbkgGp4JeFudjhbKR6ywduZv5QvvMKueiFxVEw5DUNXrPJjEz+K4P8c owOAkuO7dDG0XrnugestI0IAOwYgmneTuvrGMJjTTrcsFTJmoP9SOBUpeN5OHk/7k2u1 JjZrQJufa8nyBopEQnrVKCDSGpKoBbazj4+xI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=2o+mkXW6eMEePNOXVVbEz09Ui0dpivHS6VR5MWxDENk=; b=UZBDtFh/ImOxFdtmA6btDkLoqe2G4rYmGCrcUrlUhBtbhgZ8hOhHgLLn/MFMkaDxv/ F/C7J40/TvfkTBf3a7nrgSggSs0TpoLbmCN0gMKm599F3SG6rgsE9i8BDPVSGj5PtTu7 +VROlttpGndP87pwNlSgkSo0fHXgjg2fJnUqgyBihuIsDB7cBr4YBGMwXanzGkeCYHa3 7wHyDigL/JpCw2ymLrTd187DEVFg+v1f5EzuleWwiG5QFDwjEcxMN4RYidw0knCHS4DX dOa+w2BulsigevGSlXjpqPRWoklNuApExk8zo50/jyWwy7HiWYXmpIEvL/M0RYh7VB1Z RAWQ== X-Gm-Message-State: AA+aEWZZtofkfqvpdDs99HPLvln22rHlm2AyaZNxypMh5dA00pb71/jz 29/aZ0uyMg+UI7Z0liv3Tq3Y8iDgT6SFNpJY X-Google-Smtp-Source: AFSGD/XvK1MI6TuepDfN/Grejz9Lxi7/7cAmbosaShLX9NE2gzBUSBnhLFohrZXIjEK8l8FQEGLQiJiMu+L1XuQI X-Received: by 2002:a24:4c42:: with SMTP id a63mr9161488itb.40.1544406284220; Sun, 09 Dec 2018 17:44:44 -0800 (PST) Date: Sun, 9 Dec 2018 18:44:37 -0700 Message-Id: <20181210014440.150839-1-sjg@chromium.org> Mime-Version: 1.0 X-Mailer: git-send-email 2.20.0.rc2.403.gdbc3b29805-goog From: Simon Glass To: U-Boot Mailing List Subject: [U-Boot] [PATCH 1/4] snow: Expand U-Boot size X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Now that we have EFI, etc. enabled, U-Boot is larger than it was. Expand the region allocated for it. Signed-off-by: Simon Glass --- arch/arm/dts/exynos5250-snow.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/exynos5250-snow.dts b/arch/arm/dts/exynos5250-snow.dts index 29c13c1257e..e99f6e72bf6 100644 --- a/arch/arm/dts/exynos5250-snow.dts +++ b/arch/arm/dts/exynos5250-snow.dts @@ -88,7 +88,7 @@ ro-boot { label = "u-boot"; - reg = <0x6000 0x9a000>; + reg = <0x6000 0xb0000>; read-only; type = "blob boot,dtb"; required; From patchwork Mon Dec 10 01:44:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1010212 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ohJSS6n7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43Cm9n25lCz9s4s for ; Mon, 10 Dec 2018 12:45:33 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id EF3ECC223A6; Mon, 10 Dec 2018 01:45:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 837A8C223EC; Mon, 10 Dec 2018 01:44:55 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 96A40C223F5; Mon, 10 Dec 2018 01:44:52 +0000 (UTC) Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by lists.denx.de (Postfix) with ESMTPS id 6D77DC2233D for ; Mon, 10 Dec 2018 01:44:48 +0000 (UTC) Received: by mail-ot1-f69.google.com with SMTP id o8so4111715otp.16 for ; Sun, 09 Dec 2018 17:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=F7R1KduH5u3fYZeXYBADOal9//VI3Rx3MPl+TN5A9yQ=; b=ohJSS6n7uR0hYuSrNmLyZVikox11t+xxWeNfyE5f3caOXr98F77tisLk16UvGbhqsU 6JxDplcsJuXgCmiFIY37Tj9iKx1Kvkgv+XAZc5KiMkptp3E+tDBH9scmS6AwCW30fPym MwQOpdDfEpXzOjL1MMS6udIO7dEaM9tf/yQvo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=F7R1KduH5u3fYZeXYBADOal9//VI3Rx3MPl+TN5A9yQ=; b=mMKQkOL0a8FU0T7NGTyiUemGi7EFCBojUeBc9seLSuJgYlRBFHoKNZMhifng+ULa2I gisHeAB2BIa8ncfxF8x2xrPx/F0wy9vjo6tEc+E3ItUpW5gzP/JwqKY6z8yS+WOBlxiz uAqNJbfOsjz1uPTOPk68tFgU0Gyg/6ogVmD6PeyzViB7hBmydEodAJ75M4ZEReSCrO+u wZQ5Pq3OqmzRvkZUz+gJV6EJb+mMD050zqeUE0r7QkGs7YySUkVsUnu8oWHm80uwx3/K TAEmg7rh76uctkV5zd3LeTjVzbRVt8W12tDjEKXFzmtAg9oSXGusfhqBDRnx5yAv2q7G Ua1w== X-Gm-Message-State: AA+aEWYiLTi87+7Mbuc13WtYEi+bY3xldTGAkm0b7G0taSwOBqWgYNoP 3K9rbiveWlXF5V5DJVZwtiVnZV+Z+vFPluu1 X-Google-Smtp-Source: AFSGD/V6gbVlDoLbvwRlQ+JvWLompEioKa3yHcV1l/GXDaoXvGldH9/LY2hwokmrgwOXPsDzP1j/I5tiZWYBPhbo X-Received: by 2002:a05:6830:15c4:: with SMTP id j4mr8183484otr.27.1544406287116; Sun, 09 Dec 2018 17:44:47 -0800 (PST) Date: Sun, 9 Dec 2018 18:44:38 -0700 In-Reply-To: <20181210014440.150839-1-sjg@chromium.org> Message-Id: <20181210014440.150839-2-sjg@chromium.org> Mime-Version: 1.0 References: <20181210014440.150839-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.0.rc2.403.gdbc3b29805-goog From: Simon Glass To: U-Boot Mailing List Cc: Stephen Warren , Joe Hershberger , Alexey Brodkin , Eugeniy Paltsev , Marek Vasut Subject: [U-Boot] [PATCH 2/4] Convert CONFIG_BOARD_TYPES to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" This converts the following to Kconfig: CONFIG_BOARD_TYPES Signed-off-by: Simon Glass --- arch/arm/mach-exynos/Kconfig | 8 ++++++++ configs/odroid-xu3_defconfig | 2 +- configs/odroid_defconfig | 2 +- include/configs/axs10x.h | 1 - include/configs/hsdk.h | 1 - include/configs/odroid.h | 1 - include/configs/odroid_xu3.h | 1 - scripts/config_whitelist.txt | 1 - 8 files changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index ed04369cfae..33323d17f4b 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -166,4 +166,12 @@ source "board/samsung/espresso7420/Kconfig" config SPL_LDSCRIPT default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4 +config BOARD_TYPES + bool "Call get_board_type() to get and display the board type" + help + If this option is enabled, checkboard() will call get_board_type() + to get a string containing the board type and this will be + displayed immediately after the model is shown on the console + early in boot. + endif diff --git a/configs/odroid-xu3_defconfig b/configs/odroid-xu3_defconfig index d5c7cc7129d..f6f05b29483 100644 --- a/configs/odroid-xu3_defconfig +++ b/configs/odroid-xu3_defconfig @@ -2,6 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_EXYNOS=y CONFIG_SYS_TEXT_BASE=0x43E00000 CONFIG_ARCH_EXYNOS5=y +CONFIG_BOARD_TYPES=y CONFIG_IDENT_STRING=" for ODROID-XU3/XU4/HC1/HC2" CONFIG_DISTRO_DEFAULTS=y CONFIG_NR_DRAM_BANKS=8 @@ -47,7 +48,6 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GADGET=y CONFIG_USB_DWC3_PHY_SAMSUNG=y -CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_MANUFACTURER="Samsung" CONFIG_USB_GADGET_VENDOR_NUM=0x04e8 diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig index 594800fc50c..184bb62c1c1 100644 --- a/configs/odroid_defconfig +++ b/configs/odroid_defconfig @@ -3,6 +3,7 @@ CONFIG_ARCH_EXYNOS=y CONFIG_SYS_TEXT_BASE=0x43e00000 CONFIG_ARCH_EXYNOS4=y CONFIG_TARGET_ODROID=y +CONFIG_BOARD_TYPES=y CONFIG_DISTRO_DEFAULTS=y CONFIG_NR_DRAM_BANKS=8 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set @@ -47,7 +48,6 @@ CONFIG_DM_REGULATOR_MAX77686=y CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_EHCI_HCD=y -CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_MANUFACTURER="Samsung" CONFIG_USB_GADGET_VENDOR_NUM=0x04e8 diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h index 1b2966fd612..a1b9e7b21d9 100644 --- a/include/configs/axs10x.h +++ b/include/configs/axs10x.h @@ -34,7 +34,6 @@ /* * This board might be of different versions so handle it */ -#define CONFIG_BOARD_TYPES /* * NAND Flash configuration diff --git a/include/configs/hsdk.h b/include/configs/hsdk.h index cdf4fddd940..b1af1271777 100644 --- a/include/configs/hsdk.h +++ b/include/configs/hsdk.h @@ -35,7 +35,6 @@ /* * This board might be of different versions so handle it */ -#define CONFIG_BOARD_TYPES /* * UART configuration diff --git a/include/configs/odroid.h b/include/configs/odroid.h index ad77242e380..bc044e069e0 100644 --- a/include/configs/odroid.h +++ b/include/configs/odroid.h @@ -186,7 +186,6 @@ * TODO: Add Odroid X support */ #define CONFIG_MISC_COMMON -#define CONFIG_BOARD_TYPES #undef CONFIG_REVISION_TAG diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index f683ee46e39..c2363dd1eef 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -86,7 +86,6 @@ /* Set soc_rev, soc_id, board_rev, boardname, fdtfile */ #define CONFIG_ODROID_REV_AIN 9 #define CONFIG_REVISION_TAG -#define CONFIG_BOARD_TYPES #undef CONFIG_SYS_BOARD #define CONFIG_SYS_BOARD "odroid" diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index b8addeaf693..335977b3038 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -132,7 +132,6 @@ CONFIG_BOARD_POSTCLK_INIT CONFIG_BOARD_REVISION_TAG CONFIG_BOARD_SIZE_LIMIT CONFIG_BOARD_TAURUS -CONFIG_BOARD_TYPES CONFIG_BOOGER CONFIG_BOOTBLOCK CONFIG_BOOTFILE From patchwork Mon Dec 10 01:44:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1010213 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ZIicNWhM"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43CmBY545gz9s4s for ; Mon, 10 Dec 2018 12:46:13 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 5FFB5C223FD; Mon, 10 Dec 2018 01:45:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 75A83C2232F; Mon, 10 Dec 2018 01:45:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 79A27C21F03; Mon, 10 Dec 2018 01:44:53 +0000 (UTC) Received: from mail-yw1-f70.google.com (mail-yw1-f70.google.com [209.85.161.70]) by lists.denx.de (Postfix) with ESMTPS id 70BE7C223A7 for ; Mon, 10 Dec 2018 01:44:50 +0000 (UTC) Received: by mail-yw1-f70.google.com with SMTP id v7so6014926ywv.1 for ; Sun, 09 Dec 2018 17:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=Tuab+ChU7PmPd/+GR5I+2s1D0Xc0fjQa641UcKp2d8E=; b=ZIicNWhM+Xu0mfQraeUpJg8WkEjhdAaAtrvA33DXyFG+Xo246RLBRTtz+zd1cbXtYh S1V2MrbhY9+w0wOtXUJKRIDAsgz78xl4MRv7iwctbQ8GX3oK1Ur0smoqDOqlJm+utd+B u1RS50EaqfTc9kCnEwYh1KWeSVZ5ic4f65mc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=Tuab+ChU7PmPd/+GR5I+2s1D0Xc0fjQa641UcKp2d8E=; b=HfCyrZEVty7PhGwDx9UO1tj4sU6pVBv5R3wv2DihZOQPH2rP6lRUfXZA0sQW49JXWv 4gDmwTbrd/yrTuio8Md1B5aPeFiGU6D21wCLzM4Irj9GoxI8Bg0IIlWUYl6ZUzr+by3Z WUUdzqzk5V2KKfjPuaPVruptpzyjMPt0aMFJeIilam+L6olLO+mXhOnFFAIVtR82GLoQ OiBkhCYr9sbVp4PA0uSns449IqaY1dIwvPPm4XZcOE3WPIvfy7oT3Jb9Qqy9YWpnaN4p wrctkpa1kG9OuJFfnRELrX/LQ2+j1tF5HFbetTMNavfkLP1E/PF3N4mNbqhoSRmUi3DW vNQw== X-Gm-Message-State: AA+aEWZk8F2WOU6MvO0O6Ov2Pok1JX/0QFqwezn0qd96ffJ7M+vNZ3uK H0Mh4FZVtYiUst9UqZ0BZwXpcWcMrmKNBwDQ X-Google-Smtp-Source: AFSGD/WCTY1j4r2DPgz/1yU9xlBbpE+vEGlOCkrita+++5SEidHOPtsrX/uiNFqyf6NXEKX4t0ANedQONM7QY9b1 X-Received: by 2002:a25:3a03:: with SMTP id h3-v6mr5878850yba.77.1544406289226; Sun, 09 Dec 2018 17:44:49 -0800 (PST) Date: Sun, 9 Dec 2018 18:44:39 -0700 In-Reply-To: <20181210014440.150839-1-sjg@chromium.org> Message-Id: <20181210014440.150839-3-sjg@chromium.org> Mime-Version: 1.0 References: <20181210014440.150839-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.0.rc2.403.gdbc3b29805-goog From: Simon Glass To: U-Boot Mailing List Subject: [U-Boot] [PATCH 3/4] exynos: Drop duplicate 'model' line X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" At present the model is shown twice, once in the generic code and once in the exynos code. Drop the latter. Signed-off-by: Simon Glass --- board/samsung/common/board.c | 14 ++++++-------- include/samsung/misc.h | 2 -- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 6fd26a3a919..3391228522c 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -290,15 +290,13 @@ int board_mmc_init(bd_t *bis) #ifdef CONFIG_DISPLAY_BOARDINFO int checkboard(void) { - const char *board_info; + if (IS_ENABLED(CONFIG_BOARD_TYPES)) { + const char *board_info = get_board_type(); + + if (board_info) + printf("Type: %s\n", board_info); + } - board_info = fdt_getprop(gd->fdt_blob, 0, "model", NULL); - printf("Board: %s\n", board_info ? board_info : "unknown"); -#ifdef CONFIG_BOARD_TYPES - board_info = get_board_type(); - if (board_info) - printf("Type: %s\n", board_info); -#endif return 0; } #endif diff --git a/include/samsung/misc.h b/include/samsung/misc.h index 0f957dc3675..017560c2566 100644 --- a/include/samsung/misc.h +++ b/include/samsung/misc.h @@ -32,9 +32,7 @@ void draw_logo(void); char *get_dfu_alt_system(char *interface, char *devstr); char *get_dfu_alt_boot(char *interface, char *devstr); #endif -#ifdef CONFIG_BOARD_TYPES void set_board_type(void); const char *get_board_type(void); -#endif #endif /* __SAMSUNG_MISC_COMMON_H__ */ From patchwork Mon Dec 10 01:44:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1010214 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="N4Edy4I7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43CmCc62Gzz9s4s for ; Mon, 10 Dec 2018 12:47:08 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 7FFBEC22393; Mon, 10 Dec 2018 01:45:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5488FC22370; Mon, 10 Dec 2018 01:45:12 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A097AC22370; Mon, 10 Dec 2018 01:44:56 +0000 (UTC) Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by lists.denx.de (Postfix) with ESMTPS id 8FC18C223ED for ; Mon, 10 Dec 2018 01:44:52 +0000 (UTC) Received: by mail-io1-f69.google.com with SMTP id a6so10012698iok.0 for ; Sun, 09 Dec 2018 17:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=jC3+MBAOMz2NupDh4+A+AkFpZ2rS6pplWFIc/zpnu4U=; b=N4Edy4I7w+QniFhDqJy7ZtNw1K5CQika6SLjwSe7Z4FFDtr2m8aepx7oooHX7sBYEV mJwqMD9sZf1r4Q2KHmkm8J8LAJeuhnQrI/Y6i3pgwrEz5Lxl20rk/OoCNLA4EmtxQ5ko EPAVaOdrOdMl3Bg6MoBtPNLn3p3bjwd+2uDo4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=jC3+MBAOMz2NupDh4+A+AkFpZ2rS6pplWFIc/zpnu4U=; b=C3RkC2vwSTblG5xbH1bC4MeYdI/vUUP9+3cbMvD4Yl83QYx7K1ExzDPYKa8vcvwr6d LaYYZbmkPosm9EagWfH21vsjYkbh1oagpHv4wHh4BrWqlfsC/SyaL+Ea+VMAAaExXP/i tbAMnzpna3R5Qo8Dzu2RjUmdbLGdIpIDDnH6oR7UPWk6ARHgdcfMVNyz1RFnnCkgg3hH INwTj+6MddcaUzvInK8bzYGLAV0ejgUJ4MBZ3Dy3rRVCU+y3hqosZ0sS1HiYOVKaLfKv ejKnaRT5EuXwnAE/X739kgPfkgLI8Rgfzq1/6GkZcI7hi5scYdCLZf/f1Z+Z2ishhusW f/OA== X-Gm-Message-State: AA+aEWahJfxDqOgzdFWOh+GL44wdCrmRujE2s+zppi2/8kYf8RPYWXB6 MTFLEIgBq2146B+ZLusK8bcAKPy9ghGGGy/c X-Google-Smtp-Source: AFSGD/XabzzHLmKYCrB6F6OevjGA4yBqKPnB7ysOv6isN/7Sm3VQKhKYLqld7QEwkg5Oq63WsDbRf6fcTH409FzS X-Received: by 2002:a24:6504:: with SMTP id u4mr8670027itb.25.1544406291598; Sun, 09 Dec 2018 17:44:51 -0800 (PST) Date: Sun, 9 Dec 2018 18:44:40 -0700 In-Reply-To: <20181210014440.150839-1-sjg@chromium.org> Message-Id: <20181210014440.150839-4-sjg@chromium.org> Mime-Version: 1.0 References: <20181210014440.150839-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.0.rc2.403.gdbc3b29805-goog From: Simon Glass To: U-Boot Mailing List Subject: [U-Boot] [PATCH 4/4] exynos: Convert to use CONFIG_BLK X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Move all exynos boards over to use CONFIG_BLK. Signed-off-by: Simon Glass --- arch/arm/mach-exynos/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 33323d17f4b..f3e43434bc3 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -8,6 +8,8 @@ config ARCH_EXYNOS4 bool "Exynos4 SoC family" select BOARD_EARLY_INIT_F select CPU_V7A + select BLK + select DM_MMC help Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There are multiple SoCs in this family including Exynos4210, Exynos4412, @@ -24,6 +26,9 @@ config ARCH_EXYNOS5 imply USB_ETHER_ASIX imply USB_ETHER_RTL8152 imply USB_ETHER_SMSC95XX + select BLK + select DM_MMC + help Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs @@ -33,6 +38,8 @@ config ARCH_EXYNOS7 bool "Exynos7 SoC family" select ARM64 select BOARD_EARLY_INIT_F + select BLK + select DM_MMC help Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or Cortex-A53 CPU (and some in a big.LITTLE configuration). There are