diff options
Diffstat (limited to 'src/devices/cpu/arm7/lpc210x.cpp')
-rw-r--r-- | src/devices/cpu/arm7/lpc210x.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/arm7/lpc210x.cpp b/src/devices/cpu/arm7/lpc210x.cpp index 72388cf18f6..1d6acac4c79 100644 --- a/src/devices/cpu/arm7/lpc210x.cpp +++ b/src/devices/cpu/arm7/lpc210x.cpp @@ -18,12 +18,12 @@ const device_type LPC2103 = &device_creator<lpc210x_device>; static ADDRESS_MAP_START( lpc2103_map, AS_PROGRAM, 32, lpc210x_device ) AM_RANGE(0x00000000, 0x00007fff) AM_READWRITE(flash_r, flash_w) // 32kb internal FLASH rom - + AM_RANGE(0x3FFFC000, 0x3FFFC01f) AM_READWRITE( fio_r, fio_w ) // GPIO - + AM_RANGE(0x40000000, 0x40001fff) AM_RAM // 8kb internal SROM (writes should actually latch - see docs) - + AM_RANGE(0xE0004000, 0xE000407f) AM_READWRITE( timer0_r, timer0_w) AM_RANGE(0xE0008000, 0xE000807f) AM_READWRITE( timer1_r, timer1_w) @@ -41,7 +41,7 @@ ADDRESS_MAP_END lpc210x_device::lpc210x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : arm7_cpu_device(mconfig, LPC2103, "LPC2103", tag, owner, clock, "lpc2103", __FILE__, 4, eARM_ARCHFLAGS_T, ENDIANNESS_LITTLE), - m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0, ADDRESS_MAP_NAME(lpc2103_map)) + m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0, ADDRESS_MAP_NAME(lpc2103_map)) { } @@ -53,15 +53,15 @@ READ32_MEMBER(lpc210x_device::arm_E01FC088_r) READ32_MEMBER(lpc210x_device::flash_r) { UINT32 ret = (m_flash[offset * 4 + 3] << 24) | - (m_flash[offset * 4 + 2] << 16) | - (m_flash[offset * 4 + 1] << 8) | - (m_flash[offset * 4 + 0] << 0); + (m_flash[offset * 4 + 2] << 16) | + (m_flash[offset * 4 + 1] << 8) | + (m_flash[offset * 4 + 0] << 0); return ret; } WRITE32_MEMBER(lpc210x_device::flash_w) { - // + // } @@ -70,7 +70,7 @@ const address_space_config *lpc210x_device::memory_space_config(address_spacenum switch(spacenum) { case AS_PROGRAM: return &m_program_config; - default: return NULL; + default: return nullptr; } } |