The following patches were taken from upstreamed and massaged to work in our repo. The patches are squashed together. http://review.coreboot.org/5120 http://review.coreboot.org/5364 http://review.coreboot.org/5365 http://review.coreboot.org/5366 http://review.coreboot.org/5367 http://review.coreboot.org/5368 http://review.coreboot.org/5369 http://review.coreboot.org/5370 http://review.coreboot.org/5371 http://review.coreboot.org/5372 http://review.coreboot.org/5384 http://review.coreboot.org/5373 http://review.coreboot.org/5374 http://review.coreboot.org/5375 http://review.coreboot.org/5376 http://review.coreboot.org/5377 http://review.coreboot.org/5363 http://review.coreboot.org/5378 http://review.coreboot.org/5379 http://review.coreboot.org/5407 BUG=chrome-os-partner:27094 BRANCH=None CQ-DEPEND=CL:*157856 TEST=Built and booted rambi with these set of patches. Change-Id: I481352b23f6b60ff495c1a6bd3c21b52d817de3d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190921 Reviewed-by: Gabe Black <gabeblack@chromium.org>
30 lines
1 KiB
C
30 lines
1 KiB
C
/*
|
|
* Copyright (C) 2014 Google, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef TOOL_RMODULE_H
|
|
#define TOOL_RMODULE_H
|
|
|
|
#include "elf.h"
|
|
#include "common.h"
|
|
|
|
/*
|
|
* Parse an ELF file within the elfin buffer and fill in the elfout buffer
|
|
* with a created rmodule in ELF format. Return 0 on success, < 0 on error.
|
|
*/
|
|
int rmodule_create(const struct buffer *elfin, struct buffer *elfout);
|
|
|
|
#endif /* TOOL_RMODULE_H */
|