[PATCH 3/3] riscv: sifive: fu540: add SPL configuration
Lukas Auer
lukas at auer.io
Wed Jan 15 18:41:39 CET 2020
On Tue, 2020-01-14 at 23:12 -0600, Troy Benjegerdes wrote:
> > On Jan 13, 2020, at 4:31 PM, Lukas Auer <lukas at auer.io> wrote:
> >
> > +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
>
> It was unfortunately only a first attempt, and I never got it working.
>
> I am hoping that someone else has time to pick it up and complete the work.
>
Ah ok, that would have been great. It is already a very good start and
seems to be close to being complete. Perhaps it is just a matter of
debugging the code.
At the moment the driver is hard to find. It might therefore be a good
idea to post it somewhere for discussion, though I am not sure what the
best way / place of doing that is.
> Are there any other SoCs we know of besides RockChip that use this
> controller and have some sort of open boot firmware and/or U-boot support?
>
I am not aware of any, but also don't have a good overview of what's
available.
More information about the U-Boot
mailing list