mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 05:43:21 +09:00
![Simon Goldschmidt](/assets/img/avatar_default.png)
To clean up reset handling for socfpga gen5, port the DDR driver to DM using UCLASS_RAM and implement proper reset handling. This gets us rid of one ad-hoc call to socfpga_per_reset(). The gen5 driver is implemented in 2 distinct files. One of it (containing the calibration training) is not touched much and is kept at using hard coded addresses since the code grows even more otherwise. SPL is changed from calling hard into the DDR driver code to just probing UCLASS_RESET and UCLASS_RAM. It is happy after finding a RAM driver after that. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
8 lines
247 B
Plaintext
8 lines
247 B
Plaintext
config ALTERA_SDRAM
|
|
bool "SoCFPGA DDR SDRAM driver"
|
|
depends on TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
|
|
select RAM if TARGET_SOCFPGA_GEN5
|
|
select SPL_RAM if TARGET_SOCFPGA_GEN5
|
|
help
|
|
Enable DDR SDRAM controller for the SoCFPGA devices.
|