beautypg.com

Configuration, Compilation flags, Global – Philips ISP1362 User Manual

Page 30: Host controller driver

background image

Philips Semiconductors

ISP1362 Linux Stack User’s Guide

UM10012-_2

© Koninklijke Philips Electronics N.V. 2003. All rights reserved.

User’s Guide

Rev. 1.2—July 2003

30 of 34

5. Configuration

The ISP1362 Linux stack can be configured to work in different ways by using the static compilation time flags. The

Rules.Make

file in the root directory of the source code selects the global compilation flags. The local

compilation flags for the modules are selected in the

Makefile

of the corresponding module directory.

5.1. Compilation

Flags

5.1.1. Global

Table 5-1 shows the compilation flags that are selected in the

Rules.Make

file and their description:

Table 5-1: Global Compilation Flags

Compilation Flag

Description

DCONFIG_USB_HCDC_OTG

Configures the OTG mode.

In the non-OTG mode, only the host stack is enabled without OTG functionality.

In the OTG mode, all the modules are enabled.

DCONFIG_1362_PCI

This compilation flag is for the ISP1362 PCI evaluation kit hardware.

DCONFIG_1362_ISA

This compilation flag is for the ISP1362 ISA evaluation kit hardware.

DCONFIG_1362_SA

This compilation flag is for the ISP1362 PXA250 kit hardware.

_16MB_SIZE_

Mass Storage disk size of 16 MB.

DCONFIG_FUNC_DEBUG

Configures function level debugging. When this flag is enabled, the stack prints all
function entry traces.

DCONFIG_DETAIL_DEBUG

Configures detail level debugging. When this flag is enabled, the stack prints function
entry traces as well as any important detail level traces.

PHCI_DEBUG

Enables debugging for the Host Controller Driver. The trace level depends on the
global compilation flags:

CONFIG_FUNC_DEBUG

and

CONFIG_DETAIL_DEBUG

.

PDC_DEBUG

Enables debugging for the Device Controller Driver. The trace level depends on the
global compilation flags:

CONFIG_FUNC_DEBUG

and

CONFIG_DETAIL_DEBUG

.

OTG_DEBUG

Enables debugging for the OTG Controller Driver. The trace level depends on the
global compilation flags:

CONFIG_FUNC_DEBUG

and

CONFIG_DETAIL_DEBUG

.

HAL_DEBUG

Enables debugging for the HAL driver. The trace level depends on the global
compilation flags:

CONFIG_FUNC_DEBUG

and

CONFIG_DETAIL_DEBUG

.

MSCD_DEBUG

Enables debugging for the mass storage class driver. The trace level depends on the
global compilation flags:

CONFIG_FUNC_DEBUG

and

CONFIG_DETAIL_DEBUG

.

5.1.2.

Host Controller Driver

Table 5-2 shows the Host Controller Driver compilation flags that are selected in

Makefile

and their description.

Table 5-2: Host Controller Driver Compilation Flags

Compilation Flag

Description

CONFIG_USB_PHCD_EVEN_SCH

Configures the ISP1362 interrupt transfer event scheduling. By enabling this flag,
the interrupt transfers are evenly scheduled over a period of 32 ms.

CONFIG_USB_PHCD_PING_PONG

Configures the ISP1362 ping pong mechanism. Use the ISP1362 ping pong
mechanism for the bulk transfers to achieve maximum transfer per millisecond on
the USB bus.

CONFIG_PHCI_MEM_SLAB

Use memory pool for the HCD endpoint descriptor and Transfer descriptor data
structures.