coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cdp.c File Reference
#include <device/mmio.h>
#include <gpio.h>
#include <soc/cdp.h>
#include <soc/ebi2.h>
#include <soc/clock.h>
#include <types.h>
#include <boardid.h>
Include dependency graph for cdp.c:

Go to the source code of this file.

Functions

void ipq_configure_gpio (const gpio_func_data_t *gpio, unsigned int count)
 
static void configure_nand_gpio (void)
 
void board_nand_init (void)
 

Function Documentation

◆ board_nand_init()

void board_nand_init ( void  )

Definition at line 45 of file cdp.c.

References board_id(), BOARD_ID_PROTO_0_2_NAND, ebi2cr_regs::chip_select_cfg0, clrsetbits32, configure_nand_gpio(), CS0_CFG_MASK, CS0_CFG_SERIAL_FLASH_DEVICE, EBI2CR_BASE, and nand_clock_config().

Referenced by mainboard_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configure_nand_gpio()

static void configure_nand_gpio ( void  )
static

Definition at line 22 of file cdp.c.

References GPIO_10MA, GPIO_DISABLE, GPIO_KEEPER, GPIO_NO_PULL, GPIO_PULL_UP, and gpio_tlmm_config().

Referenced by board_nand_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ipq_configure_gpio()

void ipq_configure_gpio ( const gpio_func_data_t gpio,
unsigned int  count 
)

Definition at line 11 of file cdp.c.

References count, gpio::func, gpio_tlmm_config(), and gpio::pull.

Here is the call graph for this function: