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

Troy Benjegerdes troy.benjegerdes at sifive.com
Wed Jan 15 06:12:16 CET 2020



> 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.

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?



More information about the U-Boot mailing list