/*
 * ROM wrapper
 */

.macro __rom name
	.globl \name
	.section ".dram.abcrom","a"
	.balign 512		/* Required MMU granulatity */
\name :
	.incbin FILE

	.type \name, @object
	.size \name, . - \name

	.globl \name\()_size
	\name\()_size = . - \name

	.globl \name\()_end
	\name\()_end = .
.endm

	__rom name=NAME
