]> git.sur5r.net Git - u-boot/blob - tools/binman/test/u_boot_ucode_ptr.c
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
[u-boot] / tools / binman / test / u_boot_ucode_ptr.c
1 /*
2  * Copyright (c) 2016 Google, Inc
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  *
6  * Simple program to create a _dt_ucode_base_size symbol which can be read
7  * by 'nm'. This is used by binman tests.
8  *
9  * Build with:
10  * cc -march=i386 -m32 -o u_boot_ucode_ptr -T u_boot_ucode_ptr.lds -nostdlib \
11         u_boot_ucode_ptr.c
12  */
13
14 static unsigned long _dt_ucode_base_size[2]
15                 __attribute__((section(".ucode"))) = {1, 2};