[U-Boot] [PATCH 3/7] rockchip: rk3328: add sdram driver in U-Boot

Kever Yang kever.yang at rock-chips.com
Fri Jun 23 08:22:34 UTC 2017


Hi Simon,


On 06/17/2017 11:41 AM, Simon Glass wrote:
> On 13 June 2017 at 03:29, Kever Yang <kever.yang at rock-chips.com> wrote:
>> Add sdram driver in U-Boot for get the correct sdram size from
>> sys_reg, so that U-Boot can co-work with Rockchip loader or SPL
>> to get different dram capability and then tell the kernel.
> Do you think we might be able to retire the Rockchip loader one day?

If the feature and performance is almost the same, then Rockchip loader
is no need any more, and that's what I'm try to do.
- rockcusb & fastboot gadget performance, as I have comment in Eddie's 
patch long
     time ago, the dfu in U-Boot is using single buffer, which is very 
slow compare
     to mass storage gadget.
- Android boot, it's still not have full support for Android image like 
recovery in U-Boot now.
- Secure boot, I have not verify this part on upstream U-Boot, but 
rockchip needs it.
- some other feature used by our product

Thanks,
- Kever
>
>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
>> ---
>>
>>   arch/arm/mach-rockchip/rk3328/Makefile       |  1 +
>>   arch/arm/mach-rockchip/rk3328/sdram_rk3328.c | 66 ++++++++++++++++++++++++++++
>>   2 files changed, 67 insertions(+)
>>   create mode 100644 arch/arm/mach-rockchip/rk3328/sdram_rk3328.c
> Reviewed-by: Simon Glass <sjg at chromium.org>
>




More information about the U-Boot mailing list