zephyr/include
Andrzej Głąbek 20202902f2 dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig
These changes were obtained by running a script  created by
Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> for the following
specification:

1. Read the contents of all dts_fixup.h files in Zephyr
2. Check the left-hand side of the #define macros (i.e. the X in
   #define X Y)
3. Check if that name is also the name of a Kconfig option
   3.a If it is, then do nothing
   3.b If it is not, then replace CONFIG_ with DT_ or add DT_ if it
       has neither of these two prefixes
4. Replace the use of the changed #define in the code itself
   (.c, .h, .ld)

Additionally, some tweaks had to be added to this script to catch some
of the macros used in the code in a parameterized form, e.g.:
- CONFIG_GPIO_STM32_GPIO##__SUFFIX##_BASE_ADDRESS
- CONFIG_UART_##idx##_TX_PIN
- I2C_SBCON_##_num##_BASE_ADDR
and to prevent adding DT_ prefix to the following symbols:
- FLASH_START
- FLASH_SIZE
- SRAM_START
- SRAM_SIZE
- _ROM_ADDR
- _ROM_SIZE
- _RAM_ADDR
- _RAM_SIZE
which are surprisingly also defined in some dts_fixup.h files.

Finally, some manual corrections had to be done as well:
- name##_IRQ -> DT_##name##_IRQ in uart_stm32.c

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2018-11-13 10:44:42 -06:00
..
app_memory subsys: app_memory: Fixed the size calculation for power of 2 MPUs 2018-09-20 11:25:53 -04:00
arch dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
audio headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
bluetooth subsys: bluetooth: services: dev. information service enhancements 2018-11-07 18:08:05 +01:00
cmsis_rtos_v1 headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
crypto headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
debug kernel: Using boolean types for boolean constants 2018-09-28 06:28:41 +05:30
dfu headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
display doc: fix misspellings in doxygen comments 2018-11-02 17:58:29 -04:00
drivers doc: fix misspellings in doxygen comments 2018-11-02 17:58:29 -04:00
dt-bindings gpio: remove unused GPIO_INT_CLOCK_SYNC flag 2018-10-03 08:23:24 -05:00
fs headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
linker interrupts: use weak linkage instead of linkonce 2018-11-10 11:01:22 -05:00
logging logging: Handle nios2 global pointer register issue 2018-11-10 12:38:29 -05:00
mgmt mgmt: Add function to unregister GATT service 2018-11-07 14:35:22 +02:00
misc include: misc: Do not mix comment characters 2018-11-06 16:20:15 -05:00
net net: if: Allow calling IPv4 specific functions 2018-11-08 15:23:05 +02:00
nvs headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
posix lib: posix: fs: Convert to use generic fdtable 2018-11-04 22:04:11 +01:00
random headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
settings headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
shell shell: Add macros to print messages 2018-11-09 11:19:49 +01:00
toolchain toolchain: xcc: __builtin_unreachable needs to be a loop 2018-11-02 08:37:27 -04:00
usb usb: hid: Define helper definitions and cleanup code 2018-11-13 12:41:39 +01:00
zephyr headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
adc.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
aio_comparator.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
atomic.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
base64.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
cache.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
can.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
clock_control.h kernel: Using boolean expression on ASSERT macros 2018-09-28 06:28:41 +05:30
console.h subsys: console: Switch to POSIX-like read/write interface 2018-11-04 17:31:39 -05:00
counter.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
crc8.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
crc16.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
crc32.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
device.h kernel: device: MISRA C compliance. 2018-10-31 08:44:47 -04:00
disk_access.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
display.h doc: Added generic display interface to API doc 2018-10-31 08:41:27 -04:00
dma.h drivers: dma: Add buffer reload API for DMA driver 2018-11-05 08:48:36 -05:00
entropy.h drivers: entropy: Use likely()/unlikely() macros to speed up the API 2018-10-30 11:16:34 +01:00
exc_handle.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
fcb.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
flash.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
flash_map.h subsys: storage: flash_map: add API for check flash driver support 2018-09-27 16:24:21 +02:00
fs.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gna.h drivers: intel_gna: Driver for Intel GNA 2018-11-08 17:08:19 -05:00
gpio.h gpio: Remove deprecated macros 2018-10-02 12:50:56 -05:00
i2c.h drivers: i2c: remove deprecated dev_config struct 2018-11-01 13:40:26 +01:00
i2s.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
init.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ipm.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
irq.h kernel: add dynamic interrupt API 2018-11-10 11:01:22 -05:00
irq_nextlevel.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
irq_offload.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
json.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
kernel.h kernel: Change k_poll_signal api 2018-11-04 11:37:24 -05:00
kernel_includes.h kernel.h: Header hygine, move clock/timer handling 2018-10-16 15:03:10 -04:00
kernel_version.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
led.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
led_strip.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pinmux.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
power.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ptp_clock.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pwm.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ring_buffer.h lib: ring_buffer: add raw byte access mode 2018-10-09 13:58:44 -04:00
rtc.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
sched_priq.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
sensor.h drivers: sensors: remove deprecated enum values 2018-10-30 15:28:41 -05:00
shared_irq.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
spi.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
spinlock.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stats.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
sw_isr_table.h arch: common: add function for updating IRQ table 2018-11-10 11:01:22 -05:00
sys_clock.h kernel: Checkpatch fixups 2018-10-16 15:03:10 -04:00
sys_io.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
syscall.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
toolchain.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
tracing.h subsys: debug: tracing: Fix interrupt hooks 2018-11-06 16:15:29 -05:00
uart.h include: uart: Another pass on improving docstrings 2018-10-31 12:18:01 -04:00
watchdog.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
zephyr.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00