Commit a74fc4c1 authored by Rupert Swarbrick's avatar Rupert Swarbrick Committed by Debargha Mukherjee

Hide definitions behind #if ! CONFIG_EXT_PARTITION

The orders_32x128 and orders_128x32 variables are only used when
CONFIG_EXT_PARTITION is false. Only define them in that case to avoid
a compiler warning.

Change-Id: Iebe297eff36b139caa83d039101cf16eb88ca8f8
parent 4c3d4767
......@@ -115,12 +115,6 @@ static const uint16_t orders_8x32[64] = {
32, 33, 34, 35, 36, 37, 38, 39, 48, 49, 50, 51, 52, 53, 54, 55,
40, 41, 42, 43, 44, 45, 46, 47, 56, 57, 58, 59, 60, 61, 62, 63,
};
static const uint16_t orders_32x128[4] = {
0, 1, 2, 3,
};
static const uint16_t orders_128x32[4] = {
0, 1, 2, 3,
};
#if CONFIG_EXT_PARTITION
static const uint16_t orders_16x4[256] = {
......@@ -163,6 +157,13 @@ static const uint16_t orders_4x16[256] = {
232, 233, 234, 235, 236, 237, 238, 239, 248, 249, 250, 251, 252, 253, 254,
255,
};
#else
static const uint16_t orders_32x128[4] = {
0, 1, 2, 3,
};
static const uint16_t orders_128x32[4] = {
0, 1, 2, 3,
};
#endif
#if CONFIG_CB4X4 || CONFIG_EXT_PARTITION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment