public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tony Dinh <mibodhi@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>, Stefan Roese <sr@denx.de>
Cc: "Marek Beh�n" <marek.behun@nic.cz>,
	"Pali Roh�r" <pali@kernel.org>,
	"David Purdy" <david.c.purdy@gmail.com>,
	"Tom Rini" <trini@konsulko.com>, "Tony Dinh" <mibodhi@gmail.com>
Subject: [PATCH v2 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file
Date: Wed, 22 Dec 2021 23:26:44 -0800	[thread overview]
Message-ID: <20211223072649.13237-5-mibodhi@gmail.com> (raw)
In-Reply-To: <20211223072649.13237-1-mibodhi@gmail.com>

Add include configs file for Pogoplug V4 board

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
---

(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 <mibodhi@gmail.com>
+ *
+ * Based on
+ * Copyright (C) 2012
+ * David Purdy <david.c.purdy@gmail.com>
+ *
+ * Based on Kirkwood support:
+ * (C) Copyright 2009
+ * Marvell Semiconductor <www.marvell.com>
+ * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
+ */
+
+#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


  parent reply	other threads:[~2021-12-23  7:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23  7:26 [PATCH v2 0/8] arm: kirkwood: Add support for Pogoplug V4 Tony Dinh
2021-12-23  7:26 ` [PATCH v2 1/8] arm: kirkwood: Pogoplug-V4 : Add DTS files Tony Dinh
2022-01-13 13:32   ` Stefan Roese
2021-12-23  7:26 ` [PATCH v2 2/8] arm: kirkwood: Pogoplug V4 : Add board defconfig file Tony Dinh
2022-01-13 13:33   ` Stefan Roese
2021-12-23  7:26 ` [PATCH v2 3/8] arm: kirkwood: Pogoplug-V4 : Add Kconfig files Tony Dinh
2022-01-13 13:35   ` Stefan Roese
2021-12-23  7:26 ` Tony Dinh [this message]
2022-01-13 13:32   ` [PATCH v2 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file Stefan Roese
2022-01-13 13:36     ` Tom Rini
2022-01-14  0:50       ` Tony Dinh
2022-01-14  1:41         ` Tom Rini
2021-12-23  7:26 ` [PATCH v2 5/8] arm: kirkwood: Pogoplug-V4 : Add board kwbimage file Tony Dinh
2022-01-13 13:36   ` Stefan Roese
2021-12-23  7:26 ` [PATCH v2 6/8] arm: kirkwood: Pogoplug-V4 : Add board Make file Tony Dinh
2022-01-13 13:37   ` Stefan Roese
2021-12-23  7:26 ` [PATCH v2 7/8] arm: kirkwood: Pogoplug-V4 : Add board implementation Tony Dinh
2022-01-13 13:38   ` Stefan Roese
2021-12-23  7:26 ` [PATCH v2 8/8] arm: kirkwood: Pogoplug-V4 : Add board maintainer Tony Dinh
2022-01-13 13:40   ` Stefan Roese
2022-01-13 23:32     ` Tony Dinh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211223072649.13237-5-mibodhi@gmail.com \
    --to=mibodhi@gmail.com \
    --cc=david.c.purdy@gmail.com \
    --cc=marek.behun@nic.cz \
    --cc=pali@kernel.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox