Re: PSU initialization code on zynqmp platforms

2022-12-06 Thread Graeme Smecher
Hi Michal, On 2022-12-06 02:50, Michal Simek wrote: Hi, On 12/6/22 02:01, Graeme Smecher wrote: Hi Michal, (Well, that's embarassing. Sending again with a useful subject.) I'm bringing up u-boot on a custom zynqmp platform. For the PSU initialization, I can start with the psu_in

PSU initialization code on zynqmp platforms

2022-12-05 Thread Graeme Smecher
Hi Michal, (Well, that's embarassing. Sending again with a useful subject.) I'm bringing up u-boot on a custom zynqmp platform. For the PSU initialization, I can start with the psu_init_gpl.[ch] files embedded in the .xsa generated by Vivado. However, these are pretty flawed [1, 2]. What is

Re: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2012-04-02 Thread Graeme Smecher
Hi Marek, On 31/03/12 12:42 PM, Marek Vasut wrote: Dear Graeme Smecher, Hi Wolfgang, On 18/09/10 01:02 PM, Wolfgang Denk wrote: Dear Graeme Smecher, In message<1280955847-2999-1-git-send-email-graeme.smec...@mail.mcgill.ca> you wrote: This code differs in only trivial ways fr

Re: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2010-09-20 Thread Graeme Smecher
Hi Wolfgang, On 18/09/10 01:02 PM, Wolfgang Denk wrote: > Dear Graeme Smecher, > > In message<1280955847-2999-1-git-send-email-graeme.smec...@mail.mcgill.ca> > you wrote: > >> This code differs in only trivial ways from the altera_spi driver. It plays >>

Re: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-17 Thread Graeme Smecher
Hi Anatolij, On 17/08/10 10:25 AM, Anatolij Gustschin wrote: > Hi, > > On Tue, 17 Aug 2010 09:27:10 -0700 > Graeme Smecher wrote: > > >> On 04/08/10 02:04 PM, Graeme Smecher wrote: >> >>> This code differs in only trivial ways from the altera_sp

Re: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-17 Thread Graeme Smecher
Hi all, On 04/08/10 02:04 PM, Graeme Smecher wrote: > This code differs in only trivial ways from the altera_spi driver. It plays > nice with Thomas Chou's mmc_spi driver, as well as with SPI flash. > > Documentation for the SPI core is available here: > > http:/

Re: [U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-04 Thread Graeme Smecher
Hi Mike, Thanks again for reviewing! Comments in-line; an updated patch will follow. On 03/08/10 10:59 AM, Mike Frysinger wrote: > On Tuesday, August 03, 2010 11:47:42 Graeme Smecher wrote: > >> --- a/drivers/spi/Makefile >> +++ b/drivers/spi/Makefile >> >&g

[U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-04 Thread Graeme Smecher
spi.c + * Copyright (c) 2005-2008 Analog Devices Inc. + * Copyright (c) 2010 Thomas Chou + * Copyright (c) 2010 Graeme Smecher + * + * Licensed under the GPL-2 or later. + */ +#include +#include +#include +#include + +#define XILINX_SPI_RR 0x6c +#define XILINX_SPI_TR

[U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-03 Thread Graeme Smecher
c, by way of altera_spi.c + * Copyright (c) 2005-2008 Analog Devices Inc. + * Copyright (c) 2010 Thomas Chou + * Copyright (c) 2010 Graeme Smecher + * + * Licensed under the GPL-2 or later. + */ +#include +#include +#include +#include + +#define XILINX_SPI_RR 0x6c +#d

[U-Boot] Add support for Winbond W25Q64 SPI flash (updated)

2010-07-29 Thread Graeme Smecher
This patch adds support for Winbond W25Q64 SPI flash. It's tested on a custom Spartan-6 board, and used on Xilinx' SP601 and SP605 evaluation boards. (Patch now includes signed-off-by and description. Sorry, I'm still picking up git's e-mail flow.) ___ U

[U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash

2010-07-29 Thread Graeme Smecher
Adds support for Winbond's W25Q64 SPI flash. These devices are used on (among others) Xilinx' SP601 and SP605 Spartan-6 evaluation boards. Tested with "sf" commands. Signed-off-by: Graeme Smecher --- drivers/mtd/spi/winbond.c |9 + 1 files changed, 9 insert

[U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash

2010-07-28 Thread Graeme Smecher
--- drivers/mtd/spi/winbond.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index ff1df25..de3aeb8 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mtd/spi/winbond.c @@ -27,6 +27,7 @@ #define WINBOND_ID_W

[U-Boot] Add support for Winbond W25Q64 SPI flash

2010-07-28 Thread Graeme Smecher
This patch adds support for Winbond W25Q64 SPI flash. It's tested on a custom Spartan-6 board, and used on Xilinx' SP601 evaluation board. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
ister is active-low here, and * the control register requires some additional setup. cheers, Graeme Smecher On 10-07-27 09:56 AM, Graeme Smecher wrote: > --- > drivers/spi/Makefile |1 + > drivers/spi/xilinx_spi.c | 171 > +

[U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
of altera_spi.c + * Copyright (c) 2005-2008 Analog Devices Inc. + * Copyright (c) 2010 Thomas Chou + * Copyright (c) 2010 Graeme Smecher + * + * Licensed under the GPL-2 or later. + */ +#include +#include +#include +#include + +#define debug printf + +#define XILINX_SPI_RR

[U-Boot] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
Adds a driver for Xilinx' xps_spi controller. This code differs in only trivial ways from the altera_spi driver. It plays nice with Thomas Chou's mmc_spi driver, as well as with SPI flash. Documentation for the SPI core is available here: http://www.xilinx.com/support/documentation/ip_documen

Re: [U-Boot] [PATCH] Stop stack clobbering in microblaze-generic.

2009-12-08 Thread Graeme Smecher
Hi Michal, Michal Simek wrote: > Hi Graeme, > > Graeme Smecher wrote: > >> From: Graeme Smecher >> >> A typo caused the stack and malloc regions to overlap, which prevented >> mem_malloc_init() from returning. This commit makes the memory layout match

[U-Boot] [PATCH] Stop stack clobbering in microblaze-generic.

2009-12-07 Thread Graeme Smecher
From: Graeme Smecher A typo caused the stack and malloc regions to overlap, which prevented mem_malloc_init() from returning. This commit makes the memory layout match the example described in include/configs/microblaze-generic.h --- include/configs/microblaze-generic.h |2 +- 1 files

[U-Boot] Microblaze stack clobbered in d4e8ada0f6d51e0e3b80790fb9375ac8910f5352 (Consolidate arch-specific mem_malloc_init() implementations)

2009-12-04 Thread Graeme Smecher
Hi Michal, It appears there's a problem with the default memory map in u-boot's "microblaze-generic" configuration. We have (from include/configs/microblaze-generic.h): /* ddr sdram - main memory */ #defineCONFIG_SYS_SDRAM_BASEXILINX_RAM_START #defineCONFIG_SYS_SDRA