mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 16:53:06 +00:00
b93cc1e73e
This add some basic functions to create images, and a test for said functions. This is not intended to be a test of the image parsing functions, but rather a framework for creating minimal images for testing load methods. That said, it does do an OK job at finding bugs in the image parsing directly. Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL as a separate CI run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
33 lines
652 B
Text
33 lines
652 B
Text
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2011-2012 The Chromium OS Authors.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
SECTIONS
|
|
{
|
|
|
|
. = ALIGN(32);
|
|
__u_boot_list : {
|
|
KEEP(*(SORT(__u_boot_list*)));
|
|
}
|
|
|
|
/* Private data for devices with OF_PLATDATA_RT */
|
|
. = ALIGN(4);
|
|
.priv_data : {
|
|
__priv_data_start = .;
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.priv_data*)))
|
|
__priv_data_end = .;
|
|
}
|
|
|
|
_u_boot_sandbox_getopt : {
|
|
*(_u_boot_sandbox_getopt_start)
|
|
KEEP(*(_u_boot_sandbox_getopt))
|
|
*(_u_boot_sandbox_getopt_end)
|
|
}
|
|
|
|
_image_binary_end = .;
|
|
}
|
|
|
|
INSERT AFTER .data;
|