Changeset View
Changeset View
Standalone View
Standalone View
head/sys/mips/atheros/ar531x/ar5315_machdep.c
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | SYSCTL_STRING(_hw_device, OID_AUTO, model, CTLFLAG_RD, hw_device_model, 0, | ||||
"Board model"); | "Board model"); | ||||
#endif | #endif | ||||
#if defined(DEVICE_REV) | #if defined(DEVICE_REV) | ||||
static char hw_device_revision[] = DEVICE_REV; | static char hw_device_revision[] = DEVICE_REV; | ||||
SYSCTL_STRING(_hw_device, OID_AUTO, revision, CTLFLAG_RD, hw_device_revision, 0, | SYSCTL_STRING(_hw_device, OID_AUTO, revision, CTLFLAG_RD, hw_device_revision, 0, | ||||
"Board revision"); | "Board revision"); | ||||
#endif | #endif | ||||
extern char cpu_model[]; | |||||
void | void | ||||
platform_start(__register_t a0 __unused, __register_t a1 __unused, | platform_start(__register_t a0 __unused, __register_t a1 __unused, | ||||
__register_t a2 __unused, __register_t a3 __unused) | __register_t a2 __unused, __register_t a3 __unused) | ||||
{ | { | ||||
uint64_t platform_counter_freq; | uint64_t platform_counter_freq; | ||||
int argc = 0, i; | int argc = 0, i; | ||||
char **argv = NULL; | char **argv = NULL; | ||||
#ifndef AR531X_ENV_UBOOT | #ifndef AR531X_ENV_UBOOT | ||||
▲ Show 20 Lines • Show All 165 Lines • Show Last 20 Lines |