From patchwork Tue Nov 20 18:55:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 1000683 X-Patchwork-Delegate: philipp.tomsich@theobroma-systems.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=none (p=none dis=none) header.from=ossystems.com.br Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42zw381dgDz9s9G for ; Wed, 21 Nov 2018 05:58:42 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C0462C22187; Tue, 20 Nov 2018 18:57:59 +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_MSPIKE_H2 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 37AA2C2217A; Tue, 20 Nov 2018 18:56:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A1C46C22175; Tue, 20 Nov 2018 18:56:31 +0000 (UTC) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) by lists.denx.de (Postfix) with ESMTPS id 0D282C22172 for ; Tue, 20 Nov 2018 18:56:21 +0000 (UTC) Received: by mail-qk1-f193.google.com with SMTP id y16so3461110qki.7 for ; Tue, 20 Nov 2018 10:56:21 -0800 (PST) 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:organization:content-transfer-encoding; bh=BWU+lRNQxKN4otvXtSF4pe48wpB2+X/RMU86TG9UOLE=; b=JstXcsSN6Vt2YqPK9wM7H8ckuYY3YIGI/Tg+s2UtF1rm50/z6AkJ20+htmslYEOSqr JoOobeC7Dff6dzdqB3YCtaZ3qFGLRNBWzzR9fF9CaekS5r759Tu2rjVCAoYjuoLgc/Vh fz69ufawQ+gE0be0betEVveIFrgN/zy6GYATBYNp5qhDXi2H1lxulUxBWLYyQVeONgnf DZKITQC+5aYbdXV4seoP25ksmxRfIVwHSfZfe9WU5epX4U/s1mGsbhhoGi5GHnaA8d3n fuOCSMrqpP2QgIDlAgAj5qWwWJEYn/VATcOrY14ii0mB6m8zAtdLxRyY1tNd8epmi67d DW6w== X-Gm-Message-State: AA+aEWaCwWGjwo3xNZaFbpgkVbDYeBjmbvO0S7ApgQBDPA1mLxcTCLMe UcnjJu9G6GNwSBCmz7Oa6S3qxFzh X-Google-Smtp-Source: AFSGD/W7fm8iTgoHR1LGjphwQoKyfLiZHUZ7ufHkoJcCtOlc5VUyBdNBciMD81GBTPs8Iojvlh//Rw== X-Received: by 2002:a37:324a:: with SMTP id y71mr2863312qky.291.1542740179711; Tue, 20 Nov 2018 10:56:19 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id f189sm9927724qkb.4.2018.11.20.10.56.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Nov 2018 10:56:19 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 20 Nov 2018 16:56:13 -0200 From: Otavio Salvador To: U-Boot Mailing List Date: Tue, 20 Nov 2018 16:55:34 -0200 Message-Id: <20181120185535.11822-6-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181120185535.11822-1-otavio@ossystems.com.br> References: <20181120185535.11822-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. Cc: Jason Zhu , Otavio Salvador , Vicent Chi , Andy Yan Subject: [U-Boot] [PATCH v2 5/5] rv1108: Add support for default distro_bootcmd 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 allow easier integration of RV1108 based boards on generic distributions and build systems. Signed-off-by: Otavio Salvador Reviewed-by: Andy Yan --- Changes in v2: None include/configs/rv1108_common.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/configs/rv1108_common.h b/include/configs/rv1108_common.h index cc0384e2f4..16d4e2e355 100644 --- a/include/configs/rv1108_common.h +++ b/include/configs/rv1108_common.h @@ -28,3 +28,18 @@ #define CONFIG_USB_OHCI_NEW #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1 #endif + +#ifndef CONFIG_SPL_BUILD +#define ENV_MEM_LAYOUT_SETTINGS \ + "scriptaddr=0x60000000\0" \ + "fdt_addr_r=0x61f00000\0" \ + "kernel_addr_r=0x62000000\0" \ + "ramdisk_addr_r=0x64000000\0" + +#include +#define CONFIG_EXTRA_ENV_SETTINGS \ + ENV_MEM_LAYOUT_SETTINGS \ + "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ + "partitions=" PARTS_DEFAULT \ + BOOTENV +#endif