Contributors: 10
| Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
| Martyn Welch |
49 |
36.57% |
2 |
15.38% |
| Alessio Igor Bogani |
37 |
27.61% |
1 |
7.69% |
| Anton Vorontsov |
16 |
11.94% |
3 |
23.08% |
| Paul Gortmaker |
14 |
10.45% |
1 |
7.69% |
| Scott Wood |
7 |
5.22% |
1 |
7.69% |
| Uwe Kleine-König |
3 |
2.24% |
1 |
7.69% |
| Wade Farnsworth |
2 |
1.49% |
1 |
7.69% |
| Thomas Gleixner |
2 |
1.49% |
1 |
7.69% |
| York Sun |
2 |
1.49% |
1 |
7.69% |
| Zhang Wei |
2 |
1.49% |
1 |
7.69% |
| Total |
134 |
|
13 |
|
// SPDX-License-Identifier: GPL-2.0-only
/*
* Routines common to most mpc86xx-based boards.
*/
#include <linux/of_platform.h>
#include <asm/synch.h>
#include "mpc86xx.h"
static const struct of_device_id mpc86xx_common_ids[] __initconst = {
{ .type = "soc", },
{ .compatible = "soc", },
{ .compatible = "simple-bus", },
{ .name = "localbus", },
{ .compatible = "gianfar", },
{ .compatible = "fsl,mpc8641-pcie", },
{},
};
int __init mpc86xx_common_publish_devices(void)
{
return of_platform_bus_probe(NULL, mpc86xx_common_ids, NULL);
}
long __init mpc86xx_time_init(void)
{
unsigned int temp;
/* Set the time base to zero */
mtspr(SPRN_TBWL, 0);
mtspr(SPRN_TBWU, 0);
temp = mfspr(SPRN_HID0);
temp |= HID0_TBEN;
mtspr(SPRN_HID0, temp);
isync();
return 0;
}