mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
asm-offsets: generate bd_t size
Some ports set up the board info structure at the same time as the global data structure, and largely keep them together. So generate a define for the board info struct too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
8ef583a035
commit
89c95f0cd3
@@ -25,5 +25,8 @@ int main(void)
|
|||||||
DEFINE(GENERATED_GBL_DATA_SIZE,
|
DEFINE(GENERATED_GBL_DATA_SIZE,
|
||||||
(sizeof(struct global_data)+15) & ~15);
|
(sizeof(struct global_data)+15) & ~15);
|
||||||
|
|
||||||
|
DEFINE(GENERATED_BD_INFO_SIZE,
|
||||||
|
(sizeof(struct bd_info)+15) & ~15);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user