Skip to content
Snippets Groups Projects
Commit 47dfbb5b authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ar71xx: rb95x: use correct SPI flash address


The flash address passed to rb_init_info() is bogus,
use the predefined AR71XX_SPI_BASE macro instead.

Compile tested only.

Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39891
parent 25e870ee
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ static int __init rb95x_setup(void)
{
const struct rb_info *info;
info = rb_init_info((void *)(KSEG1ADDR(0x1f00000)), 0x10000);
info = rb_init_info((void *)(KSEG1ADDR(AR71XX_SPI_BASE)), 0x10000);
if (!info)
return -EINVAL;
......
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