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 8965FC433F5 for ; Sat, 18 Dec 2021 04:25:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 65F0883076; Sat, 18 Dec 2021 05:25:56 +0100 (CET) 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="IfzoduaF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D5BBD8308D; Sat, 18 Dec 2021 05:25:54 +0100 (CET) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 A51A783090 for ; Sat, 18 Dec 2021 05:25:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mibodhi@gmail.com Received: by mail-ot1-x333.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso5404959otf.0 for ; Fri, 17 Dec 2021 20:25:50 -0800 (PST) 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=HFWuPlyMOSr1nCvi+T5tOsriQY7ReqDYjXzpeAq2lx0=; b=IfzoduaFv06KjecEX539F1JLHM3ozZc2otB/7Sy1ZRxSCoHENJQ6mQbS02RqcrG7uT AB3XvQMvNzZMcgB7nMiiZ8CLR9HB41SIv6I7saJE2Y/c8kiBNdhvs5z+i14kJwT3zPtz TcrrhYFTg1hwotVhCQwQpvOhbMe5pyjIaXxjsei/cFniLaXJXOzrFBZUYG+jvPeQOzf7 PcwK2a3hwZJjIwsnF27nLSf+yzxSzk8ia5ND0RBRz76EdgX9ZPwqdlOEl47l2e5hm6vN WbPO1Oo+rqLe/FQ2/RPK+3AF+m8zpzfgl0OXNlIc5muSQfCQsa11MjWtusuo0M7PvwR+ jsFQ== 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=HFWuPlyMOSr1nCvi+T5tOsriQY7ReqDYjXzpeAq2lx0=; b=hBIx+omclr+OSUvyRJAhRzlswGG9hrgzV02gWSoIgob2nEwuRcBXMA5pIbTbF1dmHg Q0aVHjUHENZn3DRERBmtOgW9B2AfFTF4QZK/DKW1qowzLPCGwcatvqx3RvYHv6WJ0zSI x2TZMd0nTcGgYOs87vpNqvwzkA94fUGlnr9NNPcF3fo2Q3S+CYXFToAPrayALNupIKD8 iLpQbKD0Esvu9As6oE4tsF6EjaPeuyS8itTMBJhZljmBFROlo/hH6tcek4jvRC0NaVhd +7P2L4vmGYhNTCx0oe707iLU3DGXXSADiNZYXloGJT/1mKY69G7j2wmequfebzkG5r8k 1+5w== X-Gm-Message-State: AOAM5334ZHYmLqJfADhSndQdyMnr1h42Q8xCjTJecrWfAFLGmScnz8YE 9DdQN0H0l4eZu5+km9BccDD6gJNzKSDqrg== X-Google-Smtp-Source: ABdhPJxlBW4Lldcc4IVb4RPaa+8+6wTQFn+DEIHRZpSJLe2wiEi4Fkomi76jiZjb97SDP1hpYnhukw== X-Received: by 2002:a05:6830:1c70:: with SMTP id s16mr4381764otg.59.1639801549332; Fri, 17 Dec 2021 20:25:49 -0800 (PST) Received: from localhost.localdomain (76-229-100-169.lightspeed.irvnca.sbcglobal.net. [76.229.100.169]) by smtp.gmail.com with ESMTPSA id n22sm1915050oop.29.2021.12.17.20.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 20:25:49 -0800 (PST) From: Tony Dinh To: U-Boot Mailing List , Stefan Roese Cc: David Purdy , Tom Rini , =?UTF-8?q?Marek=20Beh=FAn?= , =?UTF-8?q?Pali=20Roh=E1r?= , Tony Dinh Subject: [PATCH 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file Date: Fri, 17 Dec 2021 20:23:30 -0800 Message-Id: <20211218042335.5865-5-mibodhi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211218042335.5865-1-mibodhi@gmail.com> References: <20211218042335.5865-1-mibodhi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.2 at phobos.denx.de X-Virus-Status: Clean Add include configs file for Pogoplug V4 board Signed-off-by: Tony Dinh --- include/configs/pogo_v4.h | 94 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 include/configs/pogo_v4.h diff --git a/include/configs/pogo_v4.h b/include/configs/pogo_v4.h new file mode 100644 index 0000000000..b449986e8c --- /dev/null +++ b/include/configs/pogo_v4.h @@ -0,0 +1,94 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2014-2021 Tony Dinh + * + * Based on + * Copyright (C) 2012 + * David Purdy + * + * Based on Kirkwood support: + * (C) Copyright 2009 + * Marvell Semiconductor + * Written-by: Prafulla Wadaskar + */ + +#ifndef _CONFIG_POGO_V4_H +#define _CONFIG_POGO_V4_H + +/* + * Machine type definition and ID + */ +#define MACH_TYPE_POGO_V4 3960 +#define CONFIG_MACH_TYPE MACH_TYPE_POGO_V4 + +/* + * High Level Configuration Options (easy to change) + */ +#define CONFIG_FEROCEON_88FR131 /* #define CPU Core subversion */ +#define CONFIG_KW88F6192 /* SOC Name */ + +/* + * Commands configuration + */ +#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */ +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " + +/* + * mv-common.h should be defined after CMD configs since it used them + * to enable certain macros + */ +#include "mv-common.h" + +/* + * Default environment variables + */ +#define CONFIG_BOOTCOMMAND \ + "setenv bootargs $(bootargs_console); " \ + "run bootcmd_usb; " \ + "bootm 0x00800000 0x01100000 0x2c00000" + +#define CONFIG_EXTRA_ENV_SETTINGS \ + "dtb_file=/boot/dts/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ + "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0"\ + "mtdids=nand0=orion_nand\0"\ + "bootargs_console=console=ttyS0,115200\0" \ + "bootcmd_usb=usb start; load usb 0:1 0x00800000 /boot/uImage; " \ + "load usb 0:1 0x01100000 /boot/uInitrd; " \ + "load usb 0:1 0x2c00000 $dtb_file\0" + +/* + * Ethernet Driver configuration + */ +#ifdef CONFIG_CMD_NET +#define CONFIG_FEATURE_COMMAND_EDITING /* for netconsole */ +#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ +#define CONFIG_PHY_BASE_ADR 0 +#endif /* CONFIG_CMD_NET */ + +/* + * File system + */ +#ifdef CONFIG_CMD_JFFS2 +#define CONFIG_JFFS2_NAND +#define CONFIG_JFFS2_LZO +#endif /* CONFIG_CMD_JFFS2 */ + +/* + * SATA Driver configuration + */ +#ifdef CONFIG_SATA +#define CONFIG_SYS_SATA_MAX_DEVICE 1 +#endif /* CONFIG_SATA */ + +/* + * Support large disk for SATA and USB + */ +#define CONFIG_SYS_64BIT_LBA +#define CONFIG_LBA48 + +/* + * Kirkwood GPIO + */ +#define CONFIG_KIRKWOOD_GPIO + +#endif /* _CONFIG_POGO_V4_H */ -- 2.20.1