mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-26 11:58:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
When building for 64-bit x86 we need an SPL binary in the ROM. Add support for this. Also increase entry test code coverage to 100%. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Bin Meng <bmeng.cn@gmail.com>
16 lines
437 B
C
16 lines
437 B
C
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* Simple program to create a bad _dt_ucode_base_size symbol to create an
|
|
* error when it is used. This is used by binman tests.
|
|
*
|
|
* Build with:
|
|
* cc -march=i386 -m32 -o u_boot_no_ucode_ptr -T u_boot_ucode_ptr.lds \
|
|
-nostdlib u_boot_no_ucode_ptr.c
|
|
*/
|
|
|
|
static unsigned long not__dt_ucode_base_size[2]
|
|
__attribute__((section(".ucode"))) = {1, 2};
|