/********************************************************************
 * Copyright (c) 2020 Kneron, Inc. All Rights Reserved.
 *
 * The information contained herein is property of Kneron, Inc.
 * Terms and conditions of usage are described in detail in Kneron
 * STANDARD SOFTWARE LICENSE AGREEMENT.
 *
 * Licensees are granted free, non-transferable use of the information.
 * NO WARRANTY of ANY KIND is provided. This heading must NOT be removed
 * from the file.
 ********************************************************************/

#include "project.h"

#include "kdrv_uart.h"
#include "kdrv_ddr.h"
#include "kdrv_pinmux.h"
//#include "kdrv_power.h"

static uint32_t pinmux_array[PIN_NUM] = PINMUX_ARRAY;

void drv_initialize(void)
{
    kdrv_uart_initialize();
    kdrv_pinmux_initialize(PIN_NUM, pinmux_array);
	kdrv_ddr_system_init(DDR_INIT_ALL);                         // TODO, not 720 style
}

