All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add PCIe support for Iomega iConnect board
@ 2022-01-02  4:57 Tony Dinh
  2022-01-02  4:57 ` [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs Tony Dinh
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Tony Dinh @ 2022-01-02  4:57 UTC (permalink / raw)
  To: U-Boot Mailing List, Stefan Roese
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Tony Dinh, Luka Perkov


The Iomega iConnect board has an internal mPCIe slot.
- Add PCIe support to enable the mPCIe slot to accept devices such as Wifi card or mSATA.
- Add SYS_THUMB_BUILD to keep u-boot image size within 512K
- Add myself as maintainer. Luka no longer has this board and wishes
to see someone maintaining it actively


Tony Dinh (3):
  arm: kirkwood: iConnect : Add PCIe related configs
  arm: kirkwood: iConnect : Add PCIe late init
  arm: kirkwood: iConnect : Update board maintainer

 board/iomega/iconnect/MAINTAINERS | 1 +
 board/iomega/iconnect/iconnect.c  | 7 +++++++
 configs/iconnect_defconfig        | 5 +++++
 3 files changed, 13 insertions(+)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs
  2022-01-02  4:57 [PATCH 0/3] Add PCIe support for Iomega iConnect board Tony Dinh
@ 2022-01-02  4:57 ` Tony Dinh
  2022-01-13 13:20   ` Stefan Roese
  2022-01-02  4:57 ` [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init Tony Dinh
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Tony Dinh @ 2022-01-02  4:57 UTC (permalink / raw)
  To: U-Boot Mailing List, Stefan Roese
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Tony Dinh, Luka Perkov

- Add MVEBU PCIe configs
- Also add SYS_THUMB_BUILD to keep u-boot image size within 512K

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

 configs/iconnect_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configs/iconnect_defconfig b/configs/iconnect_defconfig
index d8593bcdd2..bc44dbd218 100644
--- a/configs/iconnect_defconfig
+++ b/configs/iconnect_defconfig
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_SKIP_LOWLEVEL_INIT=y
 CONFIG_SYS_DCACHE_OFF=y
 CONFIG_ARCH_CPU_INIT=y
+CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_KIRKWOOD=y
 CONFIG_SYS_TEXT_BASE=0x600000
 CONFIG_NR_DRAM_BANKS=2
@@ -15,9 +16,11 @@ CONFIG_SYS_LOAD_ADDR=0x800000
 CONFIG_BOOTDELAY=3
 CONFIG_USE_PREBOOT=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOARD_LATE_INIT=y
 CONFIG_SYS_PROMPT="iconnect => "
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
@@ -40,6 +43,8 @@ CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_MVGBE=y
 CONFIG_MII=y
+CONFIG_PCI=y
+CONFIG_PCI_MVEBU=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init
  2022-01-02  4:57 [PATCH 0/3] Add PCIe support for Iomega iConnect board Tony Dinh
  2022-01-02  4:57 ` [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs Tony Dinh
@ 2022-01-02  4:57 ` Tony Dinh
  2022-01-13 13:23   ` Stefan Roese
  2022-01-02  4:57 ` [PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer Tony Dinh
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Tony Dinh @ 2022-01-02  4:57 UTC (permalink / raw)
  To: U-Boot Mailing List, Stefan Roese
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Tony Dinh, Luka Perkov

- Add board_late_init function to enable pci_init

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

 board/iomega/iconnect/iconnect.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c
index fe4be28b13..9e123aab00 100644
--- a/board/iomega/iconnect/iconnect.c
+++ b/board/iomega/iconnect/iconnect.c
@@ -92,3 +92,10 @@ int board_init(void)
 
 	return 0;
 }
+
+int board_late_init(void)
+{
+	/* Do late init to ensure successful enumeration of PCIe devices */
+	pci_init();
+	return 0;
+}
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer
  2022-01-02  4:57 [PATCH 0/3] Add PCIe support for Iomega iConnect board Tony Dinh
  2022-01-02  4:57 ` [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs Tony Dinh
  2022-01-02  4:57 ` [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init Tony Dinh
@ 2022-01-02  4:57 ` Tony Dinh
  2022-01-13 13:23   ` Stefan Roese
  2022-01-13 13:41 ` [PATCH 0/3] Add PCIe support for Iomega iConnect board Pali Rohár
  2022-01-14 15:36 ` Stefan Roese
  4 siblings, 1 reply; 9+ messages in thread
From: Tony Dinh @ 2022-01-02  4:57 UTC (permalink / raw)
  To: U-Boot Mailing List, Stefan Roese
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Tony Dinh, Luka Perkov

Add myself as maintainer.

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

 board/iomega/iconnect/MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/iomega/iconnect/MAINTAINERS b/board/iomega/iconnect/MAINTAINERS
index 167cf074b9..a1b018e816 100644
--- a/board/iomega/iconnect/MAINTAINERS
+++ b/board/iomega/iconnect/MAINTAINERS
@@ -1,4 +1,5 @@
 ICONNECT BOARD
+M:      Tony Dinh <mibodhi@gmail.com>
 M:	Luka Perkov <luka@openwrt.org>
 S:	Maintained
 F:	board/iomega/iconnect/
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs
  2022-01-02  4:57 ` [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs Tony Dinh
@ 2022-01-13 13:20   ` Stefan Roese
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Roese @ 2022-01-13 13:20 UTC (permalink / raw)
  To: Tony Dinh, U-Boot Mailing List
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Luka Perkov

On 1/2/22 05:57, Tony Dinh wrote:
> - Add MVEBU PCIe configs
> - Also add SYS_THUMB_BUILD to keep u-boot image size within 512K
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> 
>   configs/iconnect_defconfig | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/configs/iconnect_defconfig b/configs/iconnect_defconfig
> index d8593bcdd2..bc44dbd218 100644
> --- a/configs/iconnect_defconfig
> +++ b/configs/iconnect_defconfig
> @@ -2,6 +2,7 @@ CONFIG_ARM=y
>   CONFIG_SKIP_LOWLEVEL_INIT=y
>   CONFIG_SYS_DCACHE_OFF=y
>   CONFIG_ARCH_CPU_INIT=y
> +CONFIG_SYS_THUMB_BUILD=y
>   CONFIG_ARCH_KIRKWOOD=y
>   CONFIG_SYS_TEXT_BASE=0x600000
>   CONFIG_NR_DRAM_BANKS=2
> @@ -15,9 +16,11 @@ CONFIG_SYS_LOAD_ADDR=0x800000
>   CONFIG_BOOTDELAY=3
>   CONFIG_USE_PREBOOT=y
>   # CONFIG_DISPLAY_BOARDINFO is not set
> +CONFIG_BOARD_LATE_INIT=y
>   CONFIG_SYS_PROMPT="iconnect => "
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_NAND=y
> +CONFIG_CMD_PCI=y
>   CONFIG_CMD_USB=y
>   # CONFIG_CMD_SETEXPR is not set
>   CONFIG_CMD_MII=y
> @@ -40,6 +43,8 @@ CONFIG_MTD=y
>   CONFIG_MTD_RAW_NAND=y
>   CONFIG_MVGBE=y
>   CONFIG_MII=y
> +CONFIG_PCI=y
> +CONFIG_PCI_MVEBU=y
>   CONFIG_SYS_NS16550=y
>   CONFIG_USB=y
>   CONFIG_USB_EHCI_HCD=y
> 

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init
  2022-01-02  4:57 ` [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init Tony Dinh
@ 2022-01-13 13:23   ` Stefan Roese
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Roese @ 2022-01-13 13:23 UTC (permalink / raw)
  To: Tony Dinh, U-Boot Mailing List
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Luka Perkov

On 1/2/22 05:57, Tony Dinh wrote:
> - Add board_late_init function to enable pci_init
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>
> ---
> 
>   board/iomega/iconnect/iconnect.c | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c
> index fe4be28b13..9e123aab00 100644
> --- a/board/iomega/iconnect/iconnect.c
> +++ b/board/iomega/iconnect/iconnect.c
> @@ -92,3 +92,10 @@ int board_init(void)
>   
>   	return 0;
>   }
> +
> +int board_late_init(void)
> +{
> +	/* Do late init to ensure successful enumeration of PCIe devices */
> +	pci_init();

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> +	return 0;
> +}
> 

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer
  2022-01-02  4:57 ` [PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer Tony Dinh
@ 2022-01-13 13:23   ` Stefan Roese
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Roese @ 2022-01-13 13:23 UTC (permalink / raw)
  To: Tony Dinh, U-Boot Mailing List
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Luka Perkov

On 1/2/22 05:57, Tony Dinh wrote:
> Add myself as maintainer.
> 
> Signed-off-by: Tony Dinh <mibodhi@gmail.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> 
>   board/iomega/iconnect/MAINTAINERS | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/board/iomega/iconnect/MAINTAINERS b/board/iomega/iconnect/MAINTAINERS
> index 167cf074b9..a1b018e816 100644
> --- a/board/iomega/iconnect/MAINTAINERS
> +++ b/board/iomega/iconnect/MAINTAINERS
> @@ -1,4 +1,5 @@
>   ICONNECT BOARD
> +M:      Tony Dinh <mibodhi@gmail.com>
>   M:	Luka Perkov <luka@openwrt.org>
>   S:	Maintained
>   F:	board/iomega/iconnect/
> 

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Add PCIe support for Iomega iConnect board
  2022-01-02  4:57 [PATCH 0/3] Add PCIe support for Iomega iConnect board Tony Dinh
                   ` (2 preceding siblings ...)
  2022-01-02  4:57 ` [PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer Tony Dinh
@ 2022-01-13 13:41 ` Pali Rohár
  2022-01-14 15:36 ` Stefan Roese
  4 siblings, 0 replies; 9+ messages in thread
From: Pali Rohár @ 2022-01-13 13:41 UTC (permalink / raw)
  To: Tony Dinh
  Cc: U-Boot Mailing List, Stefan Roese, Marek Behún, Luka Perkov,
	Tom Rini, Luka Perkov

On Saturday 01 January 2022 20:57:36 Tony Dinh wrote:
> 
> The Iomega iConnect board has an internal mPCIe slot.
> - Add PCIe support to enable the mPCIe slot to accept devices such as Wifi card or mSATA.
> - Add SYS_THUMB_BUILD to keep u-boot image size within 512K
> - Add myself as maintainer. Luka no longer has this board and wishes
> to see someone maintaining it actively

I guess that this series requires kirkwood patch which I sent recently:
https://patchwork.ozlabs.org/project/uboot/patch/20220113132804.7814-1-pali@kernel.org/

Anyway, this patch series looks good, so:

Reviewed-by: Pali Rohár <pali@kernel.org>

> 
> Tony Dinh (3):
>   arm: kirkwood: iConnect : Add PCIe related configs
>   arm: kirkwood: iConnect : Add PCIe late init
>   arm: kirkwood: iConnect : Update board maintainer
> 
>  board/iomega/iconnect/MAINTAINERS | 1 +
>  board/iomega/iconnect/iconnect.c  | 7 +++++++
>  configs/iconnect_defconfig        | 5 +++++
>  3 files changed, 13 insertions(+)
> 
> -- 
> 2.30.2
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] Add PCIe support for Iomega iConnect board
  2022-01-02  4:57 [PATCH 0/3] Add PCIe support for Iomega iConnect board Tony Dinh
                   ` (3 preceding siblings ...)
  2022-01-13 13:41 ` [PATCH 0/3] Add PCIe support for Iomega iConnect board Pali Rohár
@ 2022-01-14 15:36 ` Stefan Roese
  4 siblings, 0 replies; 9+ messages in thread
From: Stefan Roese @ 2022-01-14 15:36 UTC (permalink / raw)
  To: Tony Dinh, U-Boot Mailing List
  Cc: Marek Beh�n, Pali Roh�r, Luka Perkov, Tom Rini,
	Luka Perkov

On 1/2/22 05:57, Tony Dinh wrote:
> 
> The Iomega iConnect board has an internal mPCIe slot.
> - Add PCIe support to enable the mPCIe slot to accept devices such as Wifi card or mSATA.
> - Add SYS_THUMB_BUILD to keep u-boot image size within 512K
> - Add myself as maintainer. Luka no longer has this board and wishes
> to see someone maintaining it actively
> 
> 
> Tony Dinh (3):
>    arm: kirkwood: iConnect : Add PCIe related configs
>    arm: kirkwood: iConnect : Add PCIe late init
>    arm: kirkwood: iConnect : Update board maintainer
> 
>   board/iomega/iconnect/MAINTAINERS | 1 +
>   board/iomega/iconnect/iconnect.c  | 7 +++++++
>   configs/iconnect_defconfig        | 5 +++++
>   3 files changed, 13 insertions(+)
> 

Applied to u-boot-marvell/master

Thanks,
Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-14 15:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-02  4:57 [PATCH 0/3] Add PCIe support for Iomega iConnect board Tony Dinh
2022-01-02  4:57 ` [PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs Tony Dinh
2022-01-13 13:20   ` Stefan Roese
2022-01-02  4:57 ` [PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init Tony Dinh
2022-01-13 13:23   ` Stefan Roese
2022-01-02  4:57 ` [PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer Tony Dinh
2022-01-13 13:23   ` Stefan Roese
2022-01-13 13:41 ` [PATCH 0/3] Add PCIe support for Iomega iConnect board Pali Rohár
2022-01-14 15:36 ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.