| a1c654a8 | 12-Jul-2015 |
Marek Vasut <marex@denx.de> |
ddr: altera: Dissolve invocation of sdr_get_addr(&sdr_reg_file->.*)
Instead of this indirection, just adjust the register pointer and directly use the register base address.
Signed-off-by: Marek Va
ddr: altera: Dissolve invocation of sdr_get_addr(&sdr_reg_file->.*)
Instead of this indirection, just adjust the register pointer and directly use the register base address.
Signed-off-by: Marek Vasut <marex@denx.de>
show more ...
|
| a4bfa463 | 12-Jul-2015 |
Marek Vasut <marex@denx.de> |
ddr: altera: Zap invocation of sdr_get_addr((u32 *)BASE_RW_MGR)"
Instead of this indirection, just adjust the register pointer and directly use the register base address.
Signed-off-by: Marek Vasut
ddr: altera: Zap invocation of sdr_get_addr((u32 *)BASE_RW_MGR)"
Instead of this indirection, just adjust the register pointer and directly use the register base address.
Signed-off-by: Marek Vasut <marex@denx.de>
show more ...
|
| 23f62b36 | 12-Jul-2015 |
Marek Vasut <marex@denx.de> |
ddr: altera: Clean up ugly casts in sdram_calibration_full()
Use the correct formating string in those debug_cond() invocations and zap those unnecessary ugly casts.
Signed-off-by: Marek Vasut <mar
ddr: altera: Clean up ugly casts in sdram_calibration_full()
Use the correct formating string in those debug_cond() invocations and zap those unnecessary ugly casts.
Signed-off-by: Marek Vasut <marex@denx.de>
show more ...
|
| 7ac40d25 | 26-Jun-2015 |
Marek Vasut <marex@denx.de> |
ddr: altera: Fix debug message format in sequencer
The debug messages missed proper newlines and/or spaces in them. Fix the formatting.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See
ddr: altera: Fix debug message format in sequencer
The debug messages missed proper newlines and/or spaces in them. Fix the formatting.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Tom Rini <trini@konsulko.com>
show more ...
|
| 452a81e0 | 08-Jul-2015 |
Marek Vasut <marex@denx.de> |
ddr: altera: Fix typo in mp_threshold1 programming
It is the configuration data that should go into the register, not the register mask, just like the surrounding code does it. Fix this typo.
Signe
ddr: altera: Fix typo in mp_threshold1 programming
It is the configuration data that should go into the register, not the register mask, just like the surrounding code does it. Fix this typo.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Tom Rini <trini@konsulko.com>
show more ...
|
| 42f7ebb8 | 26-Jul-2015 |
Marek Vasut <marex@denx.de> |
ddr: altera: Move struct sdram_prot_rule prototype
Move the structure prototype from sdram.h header file into sdram.c source file, since it is used only there and for local purpose only. There is no
ddr: altera: Move struct sdram_prot_rule prototype
Move the structure prototype from sdram.h header file into sdram.c source file, since it is used only there and for local purpose only. There is no point in having it global.
While at this move, fix the data types in the structure from uintNN_t to uNN and fix the coding style a bit.
Signed-off-by: Marek Vasut <marex@denx.de>
show more ...
|