The flash address passed to rb_init_info() is bogus,
use the predefined AR71XX_SPI_BASE macro instead.
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39891
3c298f89-4303-0410-b956-
a3cf2f4a3e73
{
const struct rb_info *info;
{
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;
if (!info)
return -EINVAL;