kernel: oxpcie serial card support.

ask to map in oxpcie i/o memory and support serial i/o for it in the
kernel. set oxpcie=<address> in boot monitor (retrieve address using
pci_debug=1 output). (no sanity checking is done on the address
currently.) disabled by default.

The change also contains some other minor cleanup (a new serial.h to set
register info common to UART and the OXPCIe card, in-kernel memory
mapping a little more structured and env_get() to get sysenv variables
without knowing about the params_buffer).
This commit is contained in:
Ben Gras
2010-05-19 10:00:02 +00:00
parent dcc81d73e8
commit 9ba760e603
9 changed files with 216 additions and 22 deletions
+3
View File
@@ -14,6 +14,9 @@
#define CONFIG_MAX_CPUS 1
#define cpuid 0
/* OXPCIe952 PCIe with 2 UARTs in-kernel support */
#define CONFIG_OXPCIE 0
/* This is the master header for the kernel. It includes some other files
* and defines the principal constants.
*/