[PATCH 3/3] riscv: sifive: fu540: add SPL configuration

Lukas Auer lukas at auer.io
Mon Jan 13 23:31:10 CET 2020


+Troy

On Mon, 2020-01-13 at 14:32 +0000, Pragnesh Patel wrote:
> > > > +#include <stdint.h>
> > > > +
> > > > +u32 DENALI_PHY_DATA[1215] = {
> > > > +       DENALI_PHY_00_DATA, DENALI_PHY_01_DATA,
> > > DENALI_PHY_02_DATA,
> > > > +       DENALI_PHY_03_DATA, DENALI_PHY_04_DATA,
> > > DENALI_PHY_05_DATA,
> > > > +       DENALI_PHY_06_DATA, DENALI_PHY_07_DATA,
> > > DENALI_PHY_08_DATA,
> > > 
> > > Can this handle to write separate driver for ram like drivers/ram ?
> 
> We can add DM driver for RAM later. Right now, I want to get U-boot SPL running for FU540.

Troy was working on a DM RAM driver that, from a first glance, already
looked good [1]. What is the status of the driver, can it be used here?

[1]: 
https://github.com/sifive/u-boot/blob/sandbox/drivers/ram/sifive/sdram_denali.c


More information about the U-Boot mailing list