/************************************************************
 * <bsn.cl fy=2014 v=onl>
 * 
 *        Copyright 2016 NXP Semiconductor, Inc.
 * 
 * Licensed under the Eclipse Public License, Version 1.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 * 
 *        http://www.eclipse.org/legal/epl-v10.html
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific
 * language governing permissions and limitations under the
 * License.
 * 
 * </bsn.cl>
 ************************************************************
 *
 *
 *
 ***********************************************************/

#include <arm64_nxp_layerscape/arm64_nxp_layerscape_config.h>

#if ONLPSIM_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
arm64_nxp_layerscape_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(arm64_nxp_layerscape)
}

/* <auto.ucli.handlers.start> */
/******************************************************************************
 *
 * These handler table(s) were autogenerated from the symbols in this
 * source file.
 *
 *****************************************************************************/
static ucli_command_handler_f arm64_nxp_layerscape_ucli_ucli_handlers__[] =
{
    arm64_nxp_layerscape_ucli_ucli__config__,
    NULL
};
/******************************************************************************/
/* <auto.ucli.handlers.end> */

static ucli_module_t
arm64_nxp_layerscape_ucli_module__ =
    {
        "arm64_nxp_layerscape_ucli",
        NULL,
        arm64_nxp_layerscape_ucli_ucli_handlers__,
        NULL,
        NULL,
    };

ucli_node_t*
arm64_nxp_layerscape_ucli_node_create(void)
{
    ucli_node_t* n;
    ucli_module_init(&arm64_nxp_layerscape_ucli_module__);
    n = ucli_node_create("arm64_nxp_layerscape", NULL, &arm64_nxp_layerscape_ucli_module__);
    ucli_node_subnode_add(n, ucli_module_log_node_create("arm64_nxp_layerscape"));
    return n;
}

#else
void*
arm64_nxp_layerscape_ucli_node_create(void)
{
    return NULL;
}
#endif

