mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Rename UC870x to UC87xx
This is a driver for the UART controller on the S5L87xx series of SoCs, which is named after the SoC family. Since S5L8720 is confirmed to have the same interface and the newer models probably also have it, the driver is renamed to reflect this. Change-Id: I974c002924372e860db0e49235d108dab87f8831
This commit is contained in:
parent
39f8101d60
commit
fb134c9533
14 changed files with 38 additions and 38 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#endif
|
||||
#ifdef HAVE_SERIAL
|
||||
#include "uart-target.h"
|
||||
#include "uc870x.h"
|
||||
#include "uc87xx.h"
|
||||
#endif
|
||||
|
||||
#define DEBUG_CANCEL BUTTON_MENU
|
||||
|
|
@ -53,7 +53,7 @@ bool dbg_hw_info(void)
|
|||
int i;
|
||||
#ifdef IPOD_NANO2G
|
||||
unsigned int state = 0;
|
||||
#ifdef UC870X_DEBUG
|
||||
#ifdef UC87XX_DEBUG
|
||||
const unsigned int max_states=3;
|
||||
#else
|
||||
const unsigned int max_states=2;
|
||||
|
|
@ -131,7 +131,7 @@ bool dbg_hw_info(void)
|
|||
_DEBUG_PRINTF("backlight: %s", pmu_read(0x29) ? "on" : "off");
|
||||
_DEBUG_PRINTF("brightness value: %d", pmu_read(0x28));
|
||||
}
|
||||
#ifdef UC870X_DEBUG
|
||||
#ifdef UC87XX_DEBUG
|
||||
else if(state==2)
|
||||
{
|
||||
extern struct uartc_port ser_port;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue