/*1* Platform specific functions2*3* This file is subject to the terms and conditions of the GNU General4* Public License. See the file "COPYING" in the main directory of5* this archive for more details.6*7* Copyright (C) 2001 - 2005 Tensilica Inc.8*/910#ifndef _XTENSA_PLATFORM_H11#define _XTENSA_PLATFORM_H1213#include <linux/types.h>14#include <asm/bootparam.h>1516/*17* platform_init is called before the mmu is initialized to give the18* platform a early hook-up. bp_tag_t is a list of configuration tags19* passed from the boot-loader.20*/21extern void platform_init(bp_tag_t*);2223/*24* platform_setup is called from setup_arch with a pointer to the command-line25* string.26*/27extern void platform_setup (char **);2829/*30* platform_idle is called from the idle function.31*/32extern void platform_idle (void);3334/*35* platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE)36*/37extern void platform_calibrate_ccount (void);3839/*40* Flush and reset the mmu, simulate a processor reset, and41* jump to the reset vector.42*/43void cpu_reset(void) __attribute__((noreturn));4445#endif /* _XTENSA_PLATFORM_H */464748