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 36730C433F5 for ; Thu, 23 Dec 2021 07:29:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3BA018344C; Thu, 23 Dec 2021 08:29:06 +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="AvisjRkh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 81DF08326F; Thu, 23 Dec 2021 08:29:03 +0100 (CET) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (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 88B5383473 for ; Thu, 23 Dec 2021 08:28:59 +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-x32f.google.com with SMTP id j3-20020a056830014300b0058f4f1ef3c2so2020956otp.13 for ; Wed, 22 Dec 2021 23:28:59 -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=l20LDoVHbh19SHk3jo69FzBDQb/UxwT2PJyFC4cykEA=; b=AvisjRkhQ284VQG5Bgk2nuOSHFuwF2bfvZecaYHqPS0wmEmrl/7FqpwmT6BAakxfkE SzFqfMKlKhbBp5yYeYkd2AUkkHZkycvRD5HiGBWhkuksAmAiNjpwFPn+H4lxZhBXHVNz dt9DsMP++erqa936Jepg1dDsrpuxSfwg1pvw76b0VRjtQZRaRHl4ED7vlro7z4uj+hFM LNbvNg2v95981u/hlRljEECXpmIObH8n4W+Mc3Md32/EAGE8JNolonR0bO7j2D2YJqzF wy4gNAIO2CH87bnwYAPRgfQr71TpNOdF7oXfYfi4rsjauCpVi/jrunzl0ACYw4fH5dY9 i0XQ== 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=l20LDoVHbh19SHk3jo69FzBDQb/UxwT2PJyFC4cykEA=; b=XKz48QRj8FuDQlOxH0FkvbLjCke8SqQBJ+T/grh8NpP3G/uk6Ib+W+nuSNdCgtUi+P fxAo1ZnRbCIz8KAWjRkGw1daQS5Ac9wgGa6s8NvOjQnTextqqV3mYXusTNw/BUI/Ce8N L5QfOIpbBdzOD2zFTYRT/SdD453QTV7OCbL9MZvW3/CW8f/ttQgh7/4vOiczIoXEIZOJ OOMrBbECtYKLE921iszzBVXw5qB9zcV3IBLKgUlESaiWV0WqiMFkPy3rEEK0//ovcQJC wpn9JnpkQz35FZqpcsWzz+tscqR9fp7fE8g46elKrs6PgZla3MgrVyEg9APomtZ2IKvk Y+cA== X-Gm-Message-State: AOAM533xf1bpSGPFsaONhk3KPsS7LUmsyL4Jxawj66L5OYPNaIvwGk+1 AsrZh+/PznM2utLL0vdvuIWdjtapA6M7MQ== X-Google-Smtp-Source: ABdhPJwxa4WkoBvvayzjamsIQaVjfMzdjk9H3jW7vVV9+MckRpkPOYboLhT10YzyMse7Bfr1P5S8Jg== X-Received: by 2002:a05:6830:18b:: with SMTP id q11mr732650ota.113.1640244538183; Wed, 22 Dec 2021 23:28:58 -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 g17sm842486oiy.14.2021.12.22.23.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Dec 2021 23:28:58 -0800 (PST) From: Tony Dinh To: U-Boot Mailing List , Stefan Roese Cc: =?UTF-8?q?Marek=20Beh=FAn?= , =?UTF-8?q?Pali=20Roh=E1r?= , David Purdy , Tom Rini , Tony Dinh Subject: [PATCH v2 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file Date: Wed, 22 Dec 2021 23:26:44 -0800 Message-Id: <20211223072649.13237-5-mibodhi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211223072649.13237-1-mibodhi@gmail.com> References: <20211223072649.13237-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 --- (no changes since v1) 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