
Dear York Sun,
In message 1312923045-2612-6-git-send-email-yorksun@freescale.com you wrote:
Update MPC8349EMDS to use unified DDR driver instead of spd_sdram.c. The unified driver can initialize data using DDR controller. No need to use DMA if just to initialze for ECC.
Signed-off-by: York Sun yorksun@freescale.com Signed-off-by: Kim Phillips kim.phillips@freescale.com
Checkpatch says:
WARNING: do not add new typedefs #149: FILE: board/freescale/mpc8349emds/ddr.c:14: +typedef struct {
Please fix.
+++ b/board/freescale/mpc8349emds/ddr.c @@ -0,0 +1,93 @@ +/*
- Copyright 2011 Freescale Semiconductor, Inc.
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- Version 2 as published by the Free Software Foundation.
U-Boot requires GPLv2+ in all new files. Please fix globally.
+typedef struct {
- u32 datarate_mhz_low;
- u32 datarate_mhz_high;
- u32 n_ranks;
- u32 clk_adjust;
- u32 cpo;
- u32 write_data_delay;
- u32 force_2T;
We don't allow CamelCaps identifiers. Please fix globally.
- /* Get clk_adjust, cpo, write_data_delay,2T, according to the board ddr
* freqency and n_banks specified in board_specific_parameters table.
*/
Incorrect multiline comment style. Please fix globally.
Best regards,
Wolfgang Denk