ddr: altera: Fix DRAM end value in protection rule
authorMarek Vasut <marex@denx.de>
Mon, 4 Apr 2016 15:52:21 +0000 (17:52 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 20 Apr 2016 09:28:44 +0000 (11:28 +0200)
commit164eb23f4923c62ce3d8ebff6d4efb1f12570950
tree4176ed7d1e6a8dae6be751dc5bf554ae09b67a32
parent8e9e62c946e295ca8e0b81d07b6b1cc884a70bc1
ddr: altera: Fix DRAM end value in protection rule

The hi address bitfield in the protection rule must be set to
the last address in the region which the rule represents. The
behavior is now in-line with code generated by Quartus 15.1 .

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