From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 11:02:31 +0800 Subject: [PATCH v6 032/102] x86: Add a new global_data member for the cache record In-Reply-To: <20191206213936.v6.32.Ic9fae583a3f653e5d877fd0876f6d81a0b2e8dd3@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.32.Ic9fae583a3f653e5d877fd0876f6d81a0b2e8dd3@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Dec 7, 2019 at 12:47 PM Simon Glass wrote: > > At present we reuse the mrc_output char * to also point to the cache > record after it has been set up. This is confusing and doesn't save much > data space. > > Add a new mrc_cache member instead. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/x86/include/asm/global_data.h | 2 ++ > arch/x86/lib/mrccache.c | 11 +++++------ > 2 files changed, 7 insertions(+), 6 deletions(-) > applied to u-boot-x86/next, thanks!