[PATCH v2] doc: board: bcm7xxx: Convert to reStructuredText format

2023-02-13 Thread Thomas Fitzsimmons
ramdisk = "ramdisk@1"; - fdt = "fdt@1"; - }; - }; -}; diff --git a/doc/board/broadcom/bcm7xxx.rst b/doc/board/broadcom/bcm7xxx.rst new file mode 100644 index 00..f1994d9f97 --- /dev/null +++ b/doc/board/broadcom/bcm7xxx.rst @@ -0,0 +1,183

[PATCH] doc: board: bcm7xxx: Convert to reStructuredText format

2023-02-11 Thread Thomas Fitzsimmons
- configurations { - default = "conf@bcm7445"; - conf@bcm7445 { - description = "BCM7445 configuration"; - kernel = "kernel@1"; - ramdisk = "ramdisk@1"; - fdt = "

[PATCH] arm: bcm7xxx: Convert to DM_SERIAL

2023-02-05 Thread Thomas Fitzsimmons
Remove ns16550 configuration from header files. Document DM_SERIAL-required prior stage device tree configuration. --- configs/bcm7260_defconfig | 4 ++-- configs/bcm7445_defconfig | 4 ++-- doc/README.bcm7xxx| 6 ++ include/configs/bcm7260.h | 2 -- include/configs/bcm7445.h | 2

Re: [PATCH 1/1 RFC] treewide: Deprecate OF_PRIOR_STAGE

2021-10-15 Thread Thomas Fitzsimmons
Hi Tom, Tom Rini writes: > On Wed, Oct 13, 2021 at 01:36:00PM -0400, Thomas Fitzsimmons wrote: >> Simon Glass writes: >> >> [...] >> >> > On Wed, 13 Oct 2021 at 10:26, Thomas Fitzsimmons >> > wrote: >> >> >> >> Simon Gl

Re: [PATCH 1/1 RFC] treewide: Deprecate OF_PRIOR_STAGE

2021-10-13 Thread Thomas Fitzsimmons
Simon Glass writes: [...] > On Wed, 13 Oct 2021 at 10:26, Thomas Fitzsimmons wrote: >> >> Simon Glass writes: >> >> [...] >> >> >> > I think one option is better than two. I have a slight preference for >> >> > OF_PRIOR_STAGE be

Re: [PATCH 1/1 RFC] treewide: Deprecate OF_PRIOR_STAGE

2021-10-13 Thread Thomas Fitzsimmons
Simon Glass writes: [...] >> > I think one option is better than two. I have a slight preference for >> > OF_PRIOR_STAGE because it is board-agnostic, but I'm not sure it >> > matters, since some of these boards are doing strange things anyway >> > and cannot use OF_PRIOR_STAGE. So let's go with

Re: [PATCH 1/1 RFC] treewide: Deprecate OF_PRIOR_STAGE

2021-10-13 Thread Thomas Fitzsimmons
Hi Simon, Simon Glass writes: > Hi Mark, > > On Sat, 25 Sept 2021 at 11:27, Mark Kettenis wrote: >> >> > From: Simon Glass >> > Date: Fri, 24 Sep 2021 07:57:00 -0600 >> > >> > Hi Ilias, >> > >> > On Fri, 24 Sept 2021 at 07:10, Ilias Apalodimas >> > wrote: >> > > >> > > At some point back in 2

[PATCH v2] configs: bcmstb: Disable networking support

2020-09-11 Thread Thomas Fitzsimmons
Silence the "Driver Model for Ethernet drivers" migration warning for the bcm7445 and bcm7260 ports, neither of which supports networking yet. Signed-off-by: Thomas Fitzsimmons --- configs/bcm7260_defconfig | 1 + configs/bcm7445_defconfig | 1 + 2 files changed, 2 insertions(+) di

[PATCH] dm: arm: bcmstb: Enable driver model for Ethernet drivers

2020-09-11 Thread Thomas Fitzsimmons
Eliminate the Driver Model migration warning for the bcm7260 and bcm7445 ports (though neither port has Ethernet support yet). Signed-off-by: Thomas Fitzsimmons --- configs/bcm7260_defconfig | 1 + configs/bcm7445_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs

Re: [PATCH v1 1/3] board: ns3: add optee based bnxt fw load driver

2020-05-19 Thread Thomas Fitzsimmons
Hi Rayagonda and Vikas, Rayagonda Kokatanur writes: > From: Vikas Gupta > > Add optee based bnxt fw load driver. What is "bnxt"? Maybe you could add a comment explaining what it is, or at least expanding it if it's an acronym? Thanks, Thomas

Re: [PATCH v1 00/15] add basic driver support for broadcom NS3 soc

2020-05-19 Thread Thomas Fitzsimmons
Rayagonda Kokatanur writes: > On Tue, May 19, 2020 at 11:01 PM Tom Rini wrote: >> >> On Tue, May 19, 2020 at 10:39:49PM +0530, Rayagonda Kokatanur wrote: >> > Hi Tom, >> > >> > >> > On Tue, May 19, 2020 at 12:46 AM Tom Rini wrote: >> > > >> > > On Sun, May 17, 2020 at 01:49:30PM +0530, Rayagond

Re: [PATCH v1 2/3] board: ns3: add FIT image its file

2020-05-19 Thread Thomas Fitzsimmons
Hi Rayagonda and Pramod, Rayagonda Kokatanur writes: > From: Pramod Kumar > > Add FIT image its file. The .its file and dev keys seem generic. Are you intending to add to the .its file subsequently, e.g., to demonstrate FIT usage unique to the NS3? Thomas

Re: [U-Boot] [PATCH 1/2] dm: device: Request next sequence number

2019-09-14 Thread Thomas Fitzsimmons
Hi Bin, Bin Meng writes: [...] > On Fri, Sep 6, 2019 at 7:52 PM Thomas Fitzsimmons wrote: >> >> For CONFIG_OF_PRIOR_STAGE, in the absence of a device tree alias for a >> given device, use the next request number for that type of device. >> This allows aliases to be

[U-Boot] [PATCH 2/2] dm: spi: Do not assume first SPI bus

2019-09-06 Thread Thomas Fitzsimmons
When CONFIG_OF_PRIOR_STAGE is enabled, this workaround was needed before device_bind_common assigned request numbers sequentially in the absence of aliases. Signed-off-by: Thomas Fitzsimmons Cc: Bin Meng Cc: Simon Glass --- drivers/spi/spi-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 1/2] dm: device: Request next sequence number

2019-09-06 Thread Thomas Fitzsimmons
For CONFIG_OF_PRIOR_STAGE, in the absence of a device tree alias for a given device, use the next request number for that type of device. This allows aliases to be used when they're available, while still allowing unaliased devices to be probed. Signed-off-by: Thomas Fitzsimmons Cc: Bin Men

[U-Boot] [PATCH 0/2] dm: CONFIG_OF_PRIOR_STAGE request number fixes

2019-09-06 Thread Thomas Fitzsimmons
These patches remove a workaround that was needed for ports that use CONFIG_OF_PRIOR_STAGE, that need to probe a SPI bus, and whose prior stage device tree does not provide SPI bus aliases. Thomas Fitzsimmons (2): dm: device: Request next sequence number dm: spi: Do not assume first SPI bus

Re: [U-Boot] [PATCH v4 1/1] board: arm: Add support for Broadcom BCM7445

2019-08-28 Thread Thomas Fitzsimmons
Hi Bin, Bin Meng writes: > Hi Thomas, > > On Wed, Aug 28, 2019 at 6:31 AM Thomas Fitzsimmons > wrote: >> >> Hi Bin, >> >> Bin Meng writes: >> >> > Hi Thomas, >> > >> > On Sat, Jun 9, 2018 at 6:06 AM Thomas Fitzsimmons &

Re: [U-Boot] [PATCH v4 1/1] board: arm: Add support for Broadcom BCM7445

2019-08-27 Thread Thomas Fitzsimmons
Hi Bin, Bin Meng writes: > Hi Thomas, > > On Sat, Jun 9, 2018 at 6:06 AM Thomas Fitzsimmons wrote: >> >> Add support for loading U-Boot on the Broadcom 7445 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloa

[U-Boot] [PATCH] dm: arm: bcmstb: Enable driver model MMC support

2019-05-17 Thread Thomas Fitzsimmons
For bcm7445 and bcm7260, this patch enables CONFIG_DM_MMC and updates the bcmstb SDHCI driver to use the new driver model. This allows removal of SDHCI configuration handling from bcmstb.c, and eliminates a board removal compile warning. Signed-off-by: Thomas Fitzsimmons --- board/broadcom

Re: [U-Boot] [PATCH] board: arm: Add support for Broadcom BCM7260

2018-08-22 Thread Thomas Fitzsimmons
Hi Florian, Florian Fainelli writes: [...] >> +#define CONFIG_SYS_NS16550_COM3 0xf040c000 > > This is the physical address of UARTA, there are typically 3 UARTs on > those SoCs, is there a reason to name this COM3 and not COM1? If this is > an established u-boot convention, pardon my ignore

[U-Boot] [PATCH v2 2/2] board: arm: Add support for Broadcom BCM7260

2018-08-22 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7260 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Reviewed-by: Florian Fai

[U-Boot] [PATCH v2 1/2] arm: bcm7445: Change serial console index

2018-08-22 Thread Thomas Fitzsimmons
Change the configured serial console index to reflect that it is the first physical UART, reorder some defconfig lines and move some environment configuration from bcmstb.h to bcm7445.h. Signed-off-by: Thomas Fitzsimmons Cc: Florian Fainelli --- Changes for v2: - Rebase to master tip

[U-Boot] [PATCH v2 0/2] board: arm: Add support for Broadcom BCM7260

2018-08-22 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7260 SoC. The first patch in this series reorganizes the BCM7445 configury to make way for BCM7260. Thomas Fitzsimmons (2): arm: bcm7445: Change serial console index board: arm: Add support for Broadcom BCM7260 MAINTAINERS

[U-Boot] [PATCH] board: arm: Add support for Broadcom BCM7260

2018-08-16 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7260 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons --- arch/arm/mach-b

[U-Boot] [PATCH] board: arm: bcmstb: Declare get_ticks in timer.h

2018-08-15 Thread Thomas Fitzsimmons
In an earlier proposed patch, bcmstb.c implemented timer_read_counter, but it was updated to implement get_ticks instead. This patch updates the declaration in timer.h accordingly. Signed-off-by: Thomas Fitzsimmons --- arch/arm/mach-bcmstb/include/mach/timer.h | 2 +- 1 file changed, 1

[U-Boot] [PATCH] arm: bcm7445: Move config defines to bcm7445.h

2018-07-26 Thread Thomas Fitzsimmons
Move some configuration #defines that do not apply to other bcmstb boards from bcmstb.h to bcm7445.h. Signed-off-by: Thomas Fitzsimmons --- include/configs/bcm7445.h | 18 -- include/configs/bcmstb.h | 13 - 2 files changed, 16 insertions(+), 15 deletions(-) diff

[U-Boot] [PATCH] arm: bcm7445: Fix parallel make race condition

2018-07-26 Thread Thomas Fitzsimmons
Move the contents of prior_stage.h into bcmstb.h to prevent a build failure when bcmstb.h is #include'ed before the asm/arch symbolic link is present. Signed-off-by: Thomas Fitzsimmons --- arch/arm/mach-bcmstb/include/mach/prior_stage.h | 30 - include/configs/bcm

Re: [U-Boot] [PATCH v3 1/1] board: arm: Add support for Broadcom BCM7445

2018-06-08 Thread Thomas Fitzsimmons
Florian Fainelli writes: > On 06/06/2018 11:35 AM, Thomas Fitzsimmons wrote: >> Add support for loading U-Boot on the Broadcom 7445 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting as the third stag

[U-Boot] [PATCH v4 1/1] board: arm: Add support for Broadcom BCM7445

2018-06-08 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Cc: Stefan Roese Cc: Tom

[U-Boot] [PATCH v4 0/1] board: arm: Add support for Broadcom BCM7445

2018-06-08 Thread Thomas Fitzsimmons
Add support for Broadcom BCM7445 Changes for v4: - Use high timer register for get_ticks - Move hard-coded register addresses from Kconfig to header - Document I-cache/D-cache expectation Thomas Fitzsimmons (1): board: arm: Add support for Broadcom BCM7445 MAINTAINERS

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-06-06 Thread Thomas Fitzsimmons
Florian Fainelli writes: > On 05/10/2018 06:04 AM, Thomas Fitzsimmons wrote: >> Florian Fainelli writes: >> >>> On 05/06/2018 04:09 AM, Thomas Fitzsimmons wrote: [...] >>>> + >>>> +config BCMSTB_ACCOMMODATE_STBLINUX >>>> + bool

Re: [U-Boot] [U-Boot, v2, 1/1] board: arm: Add support for Broadcom BCM7445

2018-06-06 Thread Thomas Fitzsimmons
Tom Rini writes: > On Wed, May 23, 2018 at 09:24:03PM -0400, Thomas Fitzsimmons wrote: > >> Add support for loading U-Boot on the Broadcom 7445 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting

[U-Boot] [PATCH v3 1/1] board: arm: Add support for Broadcom BCM7445

2018-06-06 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Cc: Stefan Roese Cc: Tom

[U-Boot] [PATCH v3 0/1] board: arm: Add support for Broadcom BCM7445

2018-06-06 Thread Thomas Fitzsimmons
Add support for Broadcom BCM7445 Changes for v3: - Rebase to master - Add "ARM BROADCOM BCMSTB" entry to top-level MAINTAINERS - Fix SPDX formatting - In Kconfig use CPU_V7A, not CPU_V7, per acf15001... Thomas Fitzsimmons (1): board: arm: Add support for Broadc

[U-Boot] [PATCH v2 1/1] board: arm: Add support for Broadcom BCM7445

2018-05-23 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Cc: Stefan Roese Cc: Tom

[U-Boot] [PATCH v2 0/1] board: arm: Add support for Broadcom BCM7445

2018-05-23 Thread Thomas Fitzsimmons
- Add README.bcm7xxx - Read memory configuration from prior stage device tree - Add CONFIG_OF_PRIOR_STAGE support in spi-uclass.c - Fix issues reported by checkpatch.pl - Fix issues reported by sparse - Update some comments and formatting - Add a MAINTAINERS file Thomas

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-23 Thread Thomas Fitzsimmons
Tom Rini writes: > On Sun, May 06, 2018 at 07:09:22AM -0400, Thomas Fitzsimmons wrote: > >> Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-10 Thread Thomas Fitzsimmons
Florian Fainelli writes: > On 05/06/2018 04:09 AM, Thomas Fitzsimmons wrote: >> Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting as the thir

[U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-06 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Cc: Stefan Roese ---

[U-Boot] [PATCH 0/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-06 Thread Thomas Fitzsimmons
ng this port in upstream U-Boot. Thomas Thomas Fitzsimmons (1): board: arm: Add support for Broadcom BCM7445D0 arch/arm/Kconfig| 12 + arch/arm/cpu/armv7/Makefile | 1 + arch/arm/cpu/armv7/bcm7445d0/Makefile | 11 + arch/arm/cpu/

[U-Boot] [PATCH] fs: ext4: Prevent infinite loop in ext4fs_iterate_dir

2015-11-18 Thread Thomas Fitzsimmons
ext3 journal and actually find the unsynced entries. Signed-off-by: Thomas Fitzsimmons --- fs/ext4/ext4_common.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index 727a2f7..e73223a 100644 --- a/fs/ext4/ext4_common.c +++ b/fs/ext4/ext4_com