Commit Graph

12476 Commits

Author SHA1 Message Date
Mazen NEIFER 969f000a19 Xtensa port: Added support for Xtensa architecture to linker-defs.h.
Change-Id: Ic20d4746267bb9575960576c6b008c774fb6ef6d
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Andrew Boie 73691609b9 xtensa: fix find_msb_set() and find_lsb_set()
find_msb_set logic was wrong. find_lsb_set() is now an inline function.

Change-Id: I2c19540907723589298b2f6af2ce1d68704bf1d7
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-13 08:04:27 -08:00
Andrew Boie aa3ab35c88 xtensa: fixup license identifiers
Master branch changed requirements for license headers while this
branch has been in development.

Change-Id: I9bce16ff275057a4bb664019628fc9b6de7aef7c
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER dc391f566c Xtensa port: Added support for Xtensa architecture in zephyr include files.
Change-Id: I1ac677cd6da5222707fe31ead71dc354f7c94443
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 9baece323e Xtensa port: Added Kbuild file for Xtensa arch.
Change-Id: I174c5736c891f94309361079cfd8b47dbb43032a
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 49b3c0028d Xtensa port: Added fields offset support for kernel and thread structures.
Change-Id: I9cc44f60757a2f988e2a6341da9591a5e5f54561
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER f69499a4a8 Xtensa port: Remove XCC warning about unrecognized CLI option.
XCC does not support compiler option -fno-defer-pop.

Change-Id: Ic47714331502b10e5e1e510984991615fe801696
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER f7538f0005 Xtensa port: Added support in arch/cpu.h for Xtensa cores.
Change-Id: If4a053f6164fd2fa30f148e6e907f662cda50722
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER c024e429c9 Xtensa port: Added support for Xtensa cores in toolchain/gcc.h.
Change-Id: Ic76934411e79c288e1440e21ee38e9a95a0399b9
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 3eca4f1f57 Xtensa port: Added Xtensa specific include files.
Change-Id: I9316f847934505bc609e271221027221b76050d6
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 0e0e0950dd Xtensa port: Fixed typo in XCC toochain specific make file.
Change-Id: I3ce26e8c047e743bb73fc2e75647788481b2490a
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 71b884b658 Xtensa port: Added Xtensa header generic files.
Change-Id: Ia2202080d09008fbfd4e803cd5266aa8caa16388
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER b78ceec452 Xtensa port: Added kernel arch dependent structs and functions.
Change-Id: I8b35454cdaac0087b7b68b96e6ec1780c71b1e9d
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Max Filippov f5f69c99c4 xtensa: support 'make qemu' target
Provide generic support for running zephyr kernels on xtensa QEMU and
map D_233L SoC to dc233c QEMU core.

Change-Id: Ie804588f750213a7cc54dbc95c86ee4d62ba1ea5
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 0b4adc398d Xtensa port: Added support for XCC, the Cadence Systems Inc compiler
Change-Id: I6947519be1d3b155e4501950ee1303c40a4e5b16
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:27 -08:00
Mazen NEIFER 4db0805ad0 Xtensa port: Added board config files for Xtensa simulator paltform
This platform is not a real board but let user handle the xtensa
simulator just like a board.
This is needed until a qemu like simulaotr is added to Xtensa.

Change-Id: I54ab28e86eea956cf85af3ee9b4a10f0d531e54d
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:26 -08:00
Mazen NEIFER 1cded67f38 Xtensa port: Started port to for Xtensa cores family.
Added arch sub folder, make files and Kconfig files for a set of standard SoCs.

Change-Id: I4ee9cba966860072e55c95795d87356b665e4d49
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-02-13 08:04:26 -08:00
Qiu Peiyang 0c87784c84 tests/gpio: fix test GPIO_INT_EDGE bug
When test GPIO_INT_EDGE, there is no code to skip GPIO_INT_LEVEL
and jump to the end of the function. So GPIO_INT_LEVEL will
always be checked (Besides, it't always true), even if it's
testing GPIO_INT_EDGE, which will cause GPIO_INT_EDGE cases fail.

Add a goto statement for GPIO_INT_EDGE to skip GPIO_INT_LEVEL.

Jira: ZEP-1685

Change-Id: I10ce21c04c49f34aafdc2cd2f60f3e5377d6f1f5
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-02-12 01:04:09 +00:00
Qiu Peiyang bc2faf3737 tests/pwm: enable PWM case to work on D2000 board
This test case uses PWM0 port to test PWM on Quark Se.
However PWM0 port on Quark D2000 is initialized as tdo,
not PWM0 and disabling tdo will kill JTAG on D2000. So
use PWM1 and add PINMUX setting code to configure PIN_24
as PWM1 port, then the case will work on D2000 board.

Change-Id: Ib28d4750dac7396529388b781fb64bde048139d6
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-02-12 01:04:08 +00:00
jing wang 484f07cec7 tests: add zephyr adc driver api test case
the commit test below adc driver api with different resolutions
and modes
    adc_enable()
    adc_read()
    adc_disable()

move original adc test to adc_simple folder

Change-Id: I016b5e67a5d89fc8d5ae76f33799e5d3eb3e1cf8
Signed-off-by: jing wang <jing.j.wang@intel.com>
2017-02-12 00:33:59 +00:00
Qiu Peiyang fde2b3f642 pinmux: fix default pinmux driver for quark_se_ss
Fix commit 42e1c9c, missing default pinmux driver
config for quark_se_ss.

Jira: ZEP-1665

Change-Id: I40b693c2d6cf160c470efdabf428c2597abbe881
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-02-12 00:32:13 +00:00
Qiu Peiyang 45c579a271 tests: add zephyr counter and timer api test
The commit verifies below aon counter and timer apis:
	counter_start()
	counter_read()
	counter_set_alarm()
	counter_get_pending_int()

Change-Id: Iaac9a224372ee1c1dd12a223ca222f4485957575
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-02-12 00:26:43 +00:00
Anas Nashif f16f6ec2df tests: pipe: remove unsupported tests
Remove tests that assert due to invocation from ISR which is not supported.

Change-Id: Idd2360847a467af6afdd9fbed8f87a620d9ed2f7
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-10 23:03:58 -08:00
Anas Nashif bab5534ff6 tests: memory pool: remove unsupported tests
Change-Id: I467e9feb995db22b137038422aea9e1976166fc4
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-10 23:03:55 -08:00
Anas Nashif 6e6e94bc77 tests: disable qemu_riscv32 on test_ecc_dh test [REVERT ME]
Change-Id: Iafba43007ab8daf1652b038bfbec184fe92b5ffc
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:42 +00:00
Anas Nashif c5e000b2c8 tests: xip: pulpino does not support XIP
Change-Id: I806c3b4cc218d501285174249f173e59e748bea7
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:41 +00:00
Anas Nashif 468eaf6c39 mvic: include stdint for uint32_t
Change-Id: I1ce93a20d657044526c96998c4fdf37624a0b30e
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:40 +00:00
Anas Nashif 73a6da0763 tests: benchmarks: add new boards
Change-Id: I54eba3e63091b3bae15cda226735f412490ad77a
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:40 +00:00
Anas Nashif 3557d04eb5 tests: net: whitelist boards for telnet server
Change-Id: I141cb9e680584b9b26926eae288ae7a2a85633f8
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:39 +00:00
Anas Nashif cebc7f95aa newlib: make sure the chain of includes has generated_dts_board.h
Change-Id: I2021a30e1bc16e3eb9fdcc793b908bd0e610d01d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:39 +00:00
Anas Nashif 81f61f9cdc arm: sam70: refactor clearing of exception faults to common code
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Change-Id: I8a9045eb46d5a23cbbd9a6bce75a0f1e78171eeb
2017-02-11 07:00:38 +00:00
Anas Nashif f399d5a24a dts: hexiwear: fix fixup to use correct define
Change-Id: I3e97618000a0d18d5b254503c255df2cfbd16421
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:00:38 +00:00
Juan Manuel Cruz Alcaraz 75be503bbb i2c: Adds a functions set that supports flexible addressing.
The current I2C API provides inline functions to access 1 byte
register addresses. This commit adds a set of I2C inline functions
as shortcuts to handle:

- 16 bit register addressing. A family of functions that allows to
  handle 2 byte register addressing and can receive the address
  parameter as a simple variable. This allows a developer to handle
  the address as a C constant or macro.

- Multiple byte addressing. A family of functions to access
  registers with a configurable register address size. This family
  of functions handle register addressing of any size but receives
  the address parameter as a byte array.

Change-Id: Id369ab9eaad7eea807554371d3a520f67dc2e0f2
Signed-off-by: Juan Manuel Cruz Alcaraz <juan.m.cruz.alcaraz@intel.com>
2017-02-11 05:20:07 +00:00
Baohong Liu 59b8af5395 tests: dma: update dma loop transfer app
Update the dma loop transfer sample app to use the new
dma api interfaces. This change is based on the api change
and the updated dma driver.

A RFC was posted recently on this.

Jira: ZEP-873

Change-Id: I289e2e08d4c775a833bf3d585d2706a903edd0bc
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2017-02-11 05:18:22 +00:00
Anas Nashif 110df98619 Merge "Merge arm branch into master" 2017-02-11 04:00:58 +00:00
Leandro Pereira 570634a259 kernel: Add OpenOCD support
In order for OpenOCD to have a high-level view of an RTOS, it uses the
GDB protocol to obtain symbols from the system.

The GDB protocol, however, does not allow obtaining fields from
structures directly, and hardcoding offsets is not only brittle (due to
possibly different architectures or changes in the code), it's also
infeasible considering Zephyr is highly-configurable and parts of key
structs can be compiled in or out.

Export an array with offsets for these key structs. Also add a version
element in that array to allow changes in those structs.

Change-Id: I83bcfa0a7bd57d85582e5ec6efe70e1cceb1fc51
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-02-11 03:57:19 +00:00
Anas Nashif 1208bab079 add curie_ble board for all curie based boards
Change-Id: Id87839f80db00da499077ac1c2bb8f588fcf3f06
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:20:03 +05:30
Anas Nashif abbd2129ed boards: add tinytile board
Change-Id: I9661c21c25761e29b695f78236df4e44192f367f
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-02-11 07:16:31 +05:30
Kuo-Lang Tseng 61452f0e38 samples: bmi160: use correct device name
Binding of the device failed due to incorrect device name. Update
to use the correct device name.

Jira: ZEP-1704

Change-Id: I6ca23a439357592c9c974ca746bccc35e77d996d
Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2017-02-11 01:28:09 +00:00
Andrew Boie c99c686b2c nios2: use gen_isr_tables mechanism
Change-Id: If1ffcedf86a015789b42e7aec45dae3cc58f74fa
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-11 01:28:00 +00:00
Andrew Boie 122467e9ee tests: add test for gen_isr_table
This test is intended to verify that the SW ISR and vector tables
have been populated correctly.

Change-Id: Ic7f50c02dc0807d7ddefa710da67f818ff707ad6
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-11 01:28:00 +00:00
Andrew Boie 2752357922 arm: enable direct interrupts feature
Issue: ZEP-1038
Change-Id: I5417e516cc994e2bbe6bb987d9ed95e912941aa0
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-11 01:27:59 +00:00
Andrew Boie e7acd3224c arm: use gen_isr_tables mechanism for interrupts
This replaces the hard-coded vector table, as well as the
software ISR table created by the linker. Now both are generated
in build via script.

Issue: ZEP-1038, ZEP-1165
Change-Id: Ie6faaf8f7ea3a7a25ecb542f6cf7740836ad7da3
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-11 01:27:58 +00:00
Andrew Boie 1927b3d020 gen_isr_tables: New static interrupt build mechanism
This is a new mechanism for generating interrupt tables which will
be useful on many architectures. It replaces the old linker-based
mechanism for creating these tables and has a couple advantages:

 1) It is now possible to use enums as the IRQ line argument to
    IRQ_CONNECT(), which should ease CMSIS integration.
 2) The vector table itself is now generated, which lets us place
    interrupts directly into the vector table without having to
    hard-code them. This is a feature we have long enjoyed on x86
    and will enable 'direct' interrupts.
 3) More code is common, requiring less arch-specific code to
    support.

This patch introduces the common code for this mechanism. Follow-up
patches will enable it on various arches.

Issue: ZEP-1038, ZEP-1165
Change-Id: I9acd6e0de8b438fa9293f2e00563628f7510168a
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-11 01:27:58 +00:00
Sarath R Nair 8ac992bfcd quark_se: Save/restore debug registers.
In order to set breakpoints after waking up from sleep,
it is needed to save DR0/DR1/DR2/DR3 and DR6/DR7.

As DR4/DR5 are reserved or mapped to DR6/DR7, they are not saved.

Patch2 : Added compile time checks for debug build or soc_watch
build for Intel Energy analysis.

Patch3 : Avoid clobbering of edx.

JIRA: ZEP-1681

Change-Id: I62fbedca16953d57196420ecae4fb93c785bb4a5
Signed-off-by: Sarath R Nair <sarath.nandu.ramachandran.nair@intel.com>
2017-02-11 00:15:08 +00:00
Jithu Joseph 720400372b misc: fix more variable type mismatches
These were reported by ISSM compiler.

Jira: ZEP-1179

Change-Id: Ic625749309773611c0c6ba2905e9420e98947dae
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
2017-02-11 00:14:15 +00:00
Jithu Joseph d625c2bb4c grove: fix variable type mismatch
These were reported by ISSM compiler.

Jira: ZEP-1179

Change-Id: I10d04c2949ad2a390d4c1159d2342c73108a58b7
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
2017-02-11 00:14:15 +00:00
Andy Gross c30b400a16 libc-hooks: Fix include file for arch ARM
This patch adds in the include to get the CONFIG_SRAM definitions on
systems which are using device tree generation.

Change-Id: Ie61efbcdfc900a2c682a2fb8bbaecb61071a20f8
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-02-10 23:42:31 +00:00
Maureen Helm 3f4f9fa60f Merge arm branch into master
Main changes:

- Refactor stm32 to use Cube LL clock driver
- Convert arm scb to use direct CMSIS register access
- Add board documentation

----------------------------------------------------------------
Adam Podogrocki (1):
      gpio/stm32: fix in setting alternative function

Erwan Gouriou (19):
      clock control:stm32: provide STM32Cube LL based driver
      gpio: update stm32 gpio to support LL clock control driver
      pinmux: update stm32 pinmux to support LL clock control driver
      uart: update stm32 uart to support LL clock control driver
      i2c: stm32: change deprecated constant
      i2c: update stm32 i2c_lx to support LL clock control driver
      pwm: update stm32 pwm to support LL clock control driver
      flash: update stm32 flash_f3x to support LL clock control driver
      soc: stm32l4xx: support of Cube LL Clock driver
      soc: stm32f3xx: support of Cube LL Clock driver
      board: nucleo_f334r8: enable support of LL Cube clock control driver
      board: stm32373c_eval: enable support of LL Cube clock control driver
      boards: nucleo_l476rg: enable support of LL Cube clock control driver
      soc: stm32l4x: clean up after Cube LL clock control
      soc: stm32f3x: clean up after Cube LL clock control
      clock control: clean up after stm32cube LL driver
      drivers: stm32: clean up after stm23cube based clock control
      clock_control: stm32: code optimization
      board: add nucleo_l476rg documentation

Kumar Gala (12):
      arm: cmsis: Convert _ScbIsNestedExc to use direct CMSIS register access
      arm: cmsis: Convert FaultEnable to use direct CMSIS register access
      arm: cmsis: Convert _ScbActiveVectorGet to use direct CMSIS register access
      arm: cmsis: Convert _ScbHardFaultIsForced to use direct CMSIS register access
      arm: cmsis: Convert _ScbDivByZeroFaultEnable to use direct CMSIS register access
      arm: cmsis: Convert _Scb*FaultIs* & _ScbIs*Fault to use CMSIS register access
      arm: cmsis: Convert _Scb*FaultAddrGet to use direct CMSIS register access
      arm: cmsis: Convert printing of MMFSR, BFSR, and UFSR to CMSIS
      arm: cmsis: Convert _ClearFaults to use direct CMSIS register access
      arm: cmsis: Convert _Scb*Fault*Reset to use direct CMSIS register access
      arm: cmsis: cleanup use of _SCS_CPACR_CP1{0,1}_Pos define
      arm: cmsis: Remove last bits of scs/scb as we've converted to CMSIS

Maureen Helm (1):
      hexiwear_k64: Add RST board documentation

 arch/arm/core/cortex_m/Makefile                             |   2 +-
 arch/arm/core/cortex_m/scs.c                                |  22 --
 arch/arm/core/fault.c                                       |  88 +++---
 arch/arm/core/fault_s.S                                     |   2 +-
 arch/arm/include/cortex_m/exc.h                             |  18 +-
 arch/arm/soc/st_stm32/stm32f3/rcc_registers.h               |  89 ------
 arch/arm/soc/st_stm32/stm32f3/soc.c                         |   3 +-
 arch/arm/soc/st_stm32/stm32f3/soc.h                         |   7 +
 arch/arm/soc/st_stm32/stm32f3/soc_config.c                  |  22 --
 arch/arm/soc/st_stm32/stm32f3/soc_gpio.c                    |   9 +-
 arch/arm/soc/st_stm32/stm32f3/soc_registers.h               |   1 -
 arch/arm/soc/st_stm32/stm32l4/rcc_registers.h               | 176 -----------
 arch/arm/soc/st_stm32/stm32l4/soc.c                         |   3 +-
 arch/arm/soc/st_stm32/stm32l4/soc.h                         |   7 +
 arch/arm/soc/st_stm32/stm32l4/soc_gpio.c                    |   8 +-
 arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c                  |  20 --
 arch/arm/soc/st_stm32/stm32l4/soc_registers.h               |   1 -
 boards/arm/hexiwear_k64/doc/hexiwear_k64.jpg                | Bin 0 -> 504461 bytes
 boards/arm/hexiwear_k64/doc/hexiwear_k64.rst                | 273 ++++++++++++++++
 boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig            |  24 +-
 boards/arm/nucleo_l476rg/doc/img/nucleo64_ulp_logo_1024.jpg | Bin 0 -> 16731 bytes
 boards/arm/nucleo_l476rg/doc/img/nucleo_l476rg_arduino.png  | Bin 0 -> 564540 bytes
 boards/arm/nucleo_l476rg/doc/img/nucleo_l476rg_morpho.png   | Bin 0 -> 485284 bytes
 boards/arm/nucleo_l476rg/doc/nucleol476rg.rst               | 239 ++++++++++++++
 boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig            |  25 +-
 boards/arm/stm32373c_eval/stm32373c_eval_defconfig          |  24 +-
 drivers/clock_control/Kconfig                               |   6 +-
 drivers/clock_control/Kconfig.stm32                         | 186 +++++++++++
 drivers/clock_control/Kconfig.stm32f3x                      | 115 -------
 drivers/clock_control/Kconfig.stm32l4x                      | 140 --------
 drivers/clock_control/Makefile                              |   8 +-
 drivers/clock_control/stm32_ll_clock.c                      | 295 +++++++++++++++++
 drivers/clock_control/stm32_ll_clock.h                      |  16 +
 drivers/clock_control/stm32f3x_clock.c                      | 398 -----------------------
 drivers/clock_control/stm32f3x_ll_clock.c                   |  73 +++++
 drivers/clock_control/stm32l4x_clock.c                      | 383 ----------------------
 drivers/clock_control/stm32l4x_ll_clock.c                   |  35 ++
 drivers/flash/flash_stm32f3x.c                              |   9 +-
 drivers/flash/flash_stm32f3x.h                              |   2 +-
 drivers/flash/flash_stm32f3x_priv.c                         |   4 +-
 drivers/gpio/gpio_stm32.c                                   |  95 +++---
 drivers/gpio/gpio_stm32.h                                   |  32 +-
 drivers/i2c/i2c_stm32lx.c                                   |  13 +-
 drivers/i2c/i2c_stm32lx.h                                   |   2 +-
 drivers/pinmux/stm32/pinmux_stm32.c                         |  43 ++-
 drivers/pwm/pwm_stm32.c                                     |  50 ++-
 drivers/pwm/pwm_stm32.h                                     |   6 +-
 drivers/serial/uart_stm32.c                                 |  34 +-
 drivers/serial/uart_stm32.h                                 |   8 +-
 ext/hal/st/stm32cube/Kbuild                                 |   2 +
 include/arch/arm/arch.h                                     |   2 -
 include/arch/arm/cortex_m/cmsis.h                           |  69 +++-
 include/arch/arm/cortex_m/scb.h                             | 583 ----------------------------------
 include/arch/arm/cortex_m/scs.h                             | 598 -----------------------------------
 include/drivers/clock_control/stm32_clock_control.h         |  21 +-
 include/drivers/clock_control/stm32f3_clock_control.h       | 114 -------
 include/drivers/clock_control/stm32l4x_clock_control.h      | 101 ------
 include/section_tags.h                                      |   1 -
 58 files changed, 1531 insertions(+), 2976 deletions(-)
 delete mode 100644 arch/arm/core/cortex_m/scs.c
 delete mode 100644 arch/arm/soc/st_stm32/stm32f3/rcc_registers.h
 delete mode 100644 arch/arm/soc/st_stm32/stm32l4/rcc_registers.h
 create mode 100644 boards/arm/hexiwear_k64/doc/hexiwear_k64.jpg
 create mode 100644 boards/arm/hexiwear_k64/doc/hexiwear_k64.rst
 create mode 100644 boards/arm/nucleo_l476rg/doc/img/nucleo64_ulp_logo_1024.jpg
 create mode 100644 boards/arm/nucleo_l476rg/doc/img/nucleo_l476rg_arduino.png
 create mode 100644 boards/arm/nucleo_l476rg/doc/img/nucleo_l476rg_morpho.png
 create mode 100644 boards/arm/nucleo_l476rg/doc/nucleol476rg.rst
 create mode 100644 drivers/clock_control/Kconfig.stm32
 delete mode 100644 drivers/clock_control/Kconfig.stm32f3x
 delete mode 100644 drivers/clock_control/Kconfig.stm32l4x
 create mode 100644 drivers/clock_control/stm32_ll_clock.c
 create mode 100644 drivers/clock_control/stm32_ll_clock.h
 delete mode 100644 drivers/clock_control/stm32f3x_clock.c
 create mode 100644 drivers/clock_control/stm32f3x_ll_clock.c
 delete mode 100644 drivers/clock_control/stm32l4x_clock.c
 create mode 100644 drivers/clock_control/stm32l4x_ll_clock.c
 delete mode 100644 include/arch/arm/cortex_m/scb.h
 delete mode 100644 include/arch/arm/cortex_m/scs.h
 delete mode 100644 include/drivers/clock_control/stm32f3_clock_control.h
 delete mode 100644 include/drivers/clock_control/stm32l4x_clock_control.h

Change-Id: I0b64f0b663153088e4e16babbf60a546f7b5fbb5
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2017-02-10 15:38:11 -06:00
Andy Gross ac37e3e2c7 arm: include: Add DTS generated file to arch.h
This patch moves the include for the generated_dts_board.h inside of
the include/arch/arm/arch.h file.  This was done to simplify the
includes required for files.  Only two files will include the dts
generated include file directly: arch.h and the linker.ld

Change-Id: I2614f4fd4eeed2ab635a3264d7dac8b83f97b760
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-02-10 15:31:26 -06:00