Message ID | 20200510141257.v2.2.I7b34db96c419d4d9692f4e1228df2a2d69b5c0b4@changeid |
---|---|
State | Accepted |
Commit | 5ffd5e834e6c35a82e5d4221c0b51ca2be13ac1c |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=LvSExh+I; 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 49KwNN1Jrqz9sSd for <incoming@patchwork.ozlabs.org>; Mon, 11 May 2020 06:17:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2E985808E0; Sun, 10 May 2020 22:17:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LvSExh+I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5B77F8003B; Sun, 10 May 2020 22:17:16 +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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (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 81D898003B for <u-boot@lists.denx.de>; Sun, 10 May 2020 22:17:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x141.google.com with SMTP id q10so6502591ile.0 for <u-boot@lists.denx.de>; Sun, 10 May 2020 13:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dD6El1gDlmLKyzwt/5WyeJi7apRILOI5nklsoNsDFhU=; b=LvSExh+I4ZNBNXXiilyXfUdvifjioMpU9rPCpA/94zz1wnejeoj6AyyrzT7cACGO3L +3PBwqHX2wtKgd35FMEMDN5j8RTW6+O9vckKlLgpH58U3Yuuknldsa6yZOVXtDVbrmHj bmpUxZy+UZpVrQHWkq3GkOZpwYSe6jlWh+VdM= 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=dD6El1gDlmLKyzwt/5WyeJi7apRILOI5nklsoNsDFhU=; b=OeZ9lYipboRRe5EMXC81u3LmB6SHTPVbOdizxDKcIxqbKNhJvbhWbkA8TcvJdYB13p dook7Ft+e4QnDslLyKnaZlzd9ReUoAUMBU7zv5m4Fcz991vvCAhaMnRPsxhQsJY1BL+6 rHyWeMz/1jcfmzI9nB6uMhbaF3oMmpTxfLBJDeXZ+F8PVtPX9jKJlcb6DVAhcs5lsS+z Thg3enEi8pJUhrg4xSxFruRaXfYPRfNX/BRgj8mp52BQuMSoVXEykDH77kyf+c8UPY7L 3xJwTCpooAxcA7g2y7YWSoQXk+KpxOzwe7lo/1gE5UUOYPAn4VpDykmQYHZkUCpRsKAx d9lA== X-Gm-Message-State: AGi0Pua1qsDWXeby8K6vWmm1rhLMsqaYwX2VubrWjL0UOgupp727yc++ 8l83aLvk6QtDXIZnT5XZ+VBhOrACYQ8= X-Google-Smtp-Source: APiQypKKw2OR65XWrkmJxejLvAhFvG9ELqo0Hw5qq30kllkjbiZyoM1fpeNMNwg/V8vYngbE5fkDtw== X-Received: by 2002:a05:6e02:68b:: with SMTP id o11mr12579177ils.245.1589141832224; Sun, 10 May 2020 13:17:12 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id s22sm3662176iow.40.2020.05.10.13.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 13:17:11 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Stefan Roese <sr@denx.de>, Tom Rini <trini@konsulko.com>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Simon Glass <sjg@chromium.org>, Rick Chen <rick@andestech.com>, Macpaul Lin <macpaul@andestech.com> Subject: [PATCH v2 02/39] bdinfo: nds32: Use generic bd_info Date: Sun, 10 May 2020 14:16:25 -0600 Message-Id: <20200510141257.v2.2.I7b34db96c419d4d9692f4e1228df2a2d69b5c0b4@changeid> X-Mailer: git-send-email 2.26.2.645.ge9eca65c58-goog In-Reply-To: <20200510201702.196031-1-sjg@chromium.org> References: <20200510201702.196031-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
Tidy up the 'bd' command.
|
expand
|
diff --git a/arch/nds32/include/asm/u-boot.h b/arch/nds32/include/asm/u-boot.h index 8c949e7fb7..7b6e905f2a 100644 --- a/arch/nds32/include/asm/u-boot.h +++ b/arch/nds32/include/asm/u-boot.h @@ -19,26 +19,10 @@ #ifndef _U_BOOT_H_ #define _U_BOOT_H_ 1 +/* Use the generic board which requires a unified bd_info */ +#include <asm-generic/u-boot.h> #include <asm/u-boot-nds32.h> - -typedef struct bd_info { - unsigned long bi_arch_number; /* unique id for this board */ - unsigned long bi_boot_params; /* where this board expects params */ - unsigned long bi_memstart; /* start of DRAM memory */ - unsigned long bi_memsize; /* size of DRAM memory in bytes */ - unsigned long bi_flashstart; /* start of FLASH memory */ - unsigned long bi_flashsize; /* size of FLASH memory */ - unsigned long bi_flashoffset; /* reserved area for startup monitor */ - unsigned char bi_enetaddr[6]; - - struct /* RAM configuration */ - { - unsigned long start; - unsigned long size; - } bi_dram[CONFIG_NR_DRAM_BANKS]; -} bd_t; - /* For image.h:image_check_target_arch() */ #define IH_ARCH_DEFAULT IH_ARCH_NDS32