Skip to content

Commit afe71c8

Browse files
committed
mem: extend mapping region once more
QCA988x chips have OTP memory mapped to I/O mem at 0x30800 offset. So extend hardcoded I/O memory mapping region to include this offset too.
1 parent 284f3ab commit afe71c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

con_mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void mem_reg_rmw(struct atheepmgr *aem, uint32_t reg, uint32_t set,
5656
static int mem_init(struct atheepmgr *aem, const char *arg_str)
5757
{
5858
struct mem_priv *mpd = aem->con_priv;
59-
static const size_t mem_size = 0x20000; /* TODO: use autodetection */
59+
static const size_t mem_size = 0x40000; /* TODO: use autodetection */
6060
char *endp;
6161

6262
errno = 0;

0 commit comments

Comments
 (0)