diff options
| author | Liam Mark <lmark@codeaurora.org> | 2017-04-13 17:11:54 -0700 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-05-10 20:40:24 +0200 |
| commit | 7c253f7aa663841339db754c8d20ddef1014e082 (patch) | |
| tree | 747d319940f4eb6c2e528a20649b07132ba5ddee | |
| parent | df4dbf557503455f77af1705d680551f1d1531da (diff) | |
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: Liam Mark <lmark@codeaurora.org>
| -rw-r--r-- | drivers/of/of_reserved_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c index 04bb9b1b14da..12720e807117 100644 --- a/drivers/of/of_reserved_mem.c +++ b/drivers/of/of_reserved_mem.c @@ -1,7 +1,7 @@ /* * 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> @@ -22,7 +22,7 @@ #include <linux/of_reserved_mem.h> #include <linux/sort.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; |
