ddr: altera: Init the rule ID in debug code
authorMarek Vasut <marex@denx.de>
Tue, 29 Dec 2015 08:38:52 +0000 (09:38 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 16 Jan 2016 06:07:22 +0000 (07:07 +0100)
commit1720fad0f19827b94a845dc26ac7d390edbae836
tree96c3a145f0a6970f421fdbdd5073510eb289e09f
parent782acf7b52db6bec1a796773e3033b4afcd6c9e2
ddr: altera: Init the rule ID in debug code

Init the rule ID, otherwise the debug code will always dump the
protection settings entry 0.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
drivers/ddr/altera/sdram.c