mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 19:43:35 +00:00
patch adds necessary files and does the modification to the existing files to add device support for x86 based intel quark microcontroller Signed-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>
14 lines
308 B
C
14 lines
308 B
C
#ifndef __DT_BINDING_ST_MEM_H
|
|
#define __DT_BINDING_ST_MEM_H
|
|
|
|
#define __SIZE_K(x) (x * 1024)
|
|
|
|
#if defined(CONFIG_SOC_QUARK_SE_C1000)
|
|
#define DT_FLASH_SIZE __SIZE_K(144)
|
|
#define DT_SRAM_SIZE __SIZE_K(55)
|
|
#else
|
|
#error "Flash and RAM sizes not defined for this chip"
|
|
#endif
|
|
|
|
#endif /* __DT_BINDING_ST_MEM_H */
|