Commit ea2a4169 authored by Emilio López's avatar Emilio López
Browse files

fexc: uboot: update code output



The U-Boot code has changed slightly, so adjust the tool to output
proper, working code.
Signed-off-by: default avatarEmilio López <emilio@elopez.com.ar>
parent 7984d602
...@@ -147,8 +147,8 @@ static int generate_dram_struct(FILE *out, struct script_section *sp) ...@@ -147,8 +147,8 @@ static int generate_dram_struct(FILE *out, struct script_section *sp)
} }
fprintf(out, "};\n"); fprintf(out, "};\n");
fputs("\nint sunxi_dram_init(void)\n" fputs("\nunsigned long sunxi_dram_init(void)\n"
"{\n\treturn DRAMC_init(&dram_para);\n}\n", "{\n\treturn dramc_init(&dram_para);\n}\n",
out); out);
return ret; return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment