Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b6b7491 authored by Liam Mark's avatar Liam Mark
Browse files

of: reserved_mem: increase max number reserved regions



Increase MAX_RESERVED_REGIONS to 32 to accommodate the
number of carveouts we need to support.

Change-Id: Ie1658731ea3c49afafc7771d16fd8979a13ff765
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent e4e90297
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Device tree based initialization code for reserved memory.
 *
 * Copyright (c) 2013, 2015 The Linux Foundation. All Rights Reserved.
 * Copyright (c) 2013, 2015, 2017 The Linux Foundation. All Rights Reserved.
 * Copyright (c) 2013,2014 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 * Author: Marek Szyprowski <m.szyprowski@samsung.com>
@@ -25,7 +25,7 @@
#include <linux/sort.h>
#include <linux/slab.h>

#define MAX_RESERVED_REGIONS	16
#define MAX_RESERVED_REGIONS	32
static struct reserved_mem reserved_mem[MAX_RESERVED_REGIONS];
static int reserved_mem_count;