Skip to content
Snippets Groups Projects
Commit 66c98a0c authored by Vitaly Andrianov's avatar Vitaly Andrianov Committed by Tom Rini
Browse files

keystone2: ddr3: eliminate using global ddr3_size variable


KS2 ddr3 initialization uses ddr3_size global variable before u-boot
relocation. Even if the variable is not being used after relocation,
writing to it corrupts relocation table.

This patch removes the global ddr3_size variable and uses local one
instead.

Signed-off-by: default avatarVitaly Andrianov <vitalya@ti.com>
Tested-by: default avatarNishanth Menon <nm@ti.com>
parent bba379d4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment