Revision as of 16:58, 25 January 2011

Contents

CMOS layout

This page explain the workings of the CMOS layout file. The CMOS layout file can be linked into a board specific environment. By creating the cmos.layout file in the board directory. and set the HAVE_OPTION_TABLE in the Kconfig file of the board.

The CMOS layout file must contain the following sections;

entries

enumerations

checksums

The hash (#) character is the comment prefix, all characters until the eof of line are treated as comment.

entries section

enumerations section

Each line in the the enumerations section is contructed as follows;

<config-id> <value> <label>

The paramater <config-id> is the same value as the <config-id> from the entries section.

The paramater <value> is the value that get stored at the bit location defined in the entries section, where that config-id is being used.

The paramater <label> is the label for displaying in the the presentation layer.