Syntax
partition
{
}
Description
This attribute is used to define a partition. It is an optional attribute to make the BIF short and readable.
Example
new_bif:
{
id_code = 0x04ca8093
extended_id_code = 0x01
id = 0x2
image
{
name = pmc_subsys, id = 0x1c000001
partition
{
id = 0x01,
type = bootloader,
file = plm.elf
}
partition
{
id = 0x09,
type = pmcdata,
load = 0xf2000000,
file = pmc_data.cdo
}
}
}
Note: The partition attribute is optional and the BIF file can be written
without the attribute too.
The above BIF can be written without the partition attribute as follows:
new_bif:
{
id_code = 0x04ca8093
extended_id_code = 0x01
id = 0x2
image
{
name = pmc_subsys, id = 0x1c000001
{ id = 0x01, type = bootloader, file = plm.elf }
{ id = 0x09, type = pmcdata, load = 0xf2000000, file = pmc_data.cdo }
}
}