// SPDX-License-Identifier: GPL-2.0 /* * MPC5200 PSC serial console support. * * Author: Grant Likely <grant.likely@secretlab.ca> * * Copyright (c) 2007 Secret Lab Technologies Ltd. * Copyright (c) 2007 Freescale Semiconductor, Inc. * * It is assumed that the firmware (or the platform file) has already set * up the port. */ #include "types.h" #include "io.h" #include "ops.h" /* Programmable Serial Controller (PSC) status register bits */ #define MPC52xx_PSC_SR 0x04 #define MPC52xx_PSC_SR_RXRDY 0x0100 #define MPC52xx_PSC_SR_RXFULL 0x0200 #define MPC52xx_PSC_SR_TXRDY 0x0400 #define MPC52xx_PSC_SR_TXEMP 0x0800 #define MPC52xx_PSC_BUFFER 0x0C static void *psc;
static int psc_open(void) { /* Assume the firmware has already configured the PSC into * uart mode */ return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Grant C. Likely | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Grant C. Likely | 34 | 100.00% | 1 | 100.00% |
Total | 34 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Grant C. Likely | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Grant C. Likely | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Grant C. Likely | 56 | 93.33% | 1 | 50.00% |
Laurent Pinchart | 4 | 6.67% | 1 | 50.00% |
Total | 60 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Grant C. Likely | 197 | 97.52% | 1 | 33.33% |
Laurent Pinchart | 4 | 1.98% | 1 | 33.33% |
Greg Kroah-Hartman | 1 | 0.50% | 1 | 33.33% |
Total | 202 | 100.00% | 3 | 100.00% |