zephyr/soc/x86/apollo_lake
Andrew Boie 9df9994572 x86: fix XIP SOC support and defaults
XIP support in x86 was something of a mess. This
patch does the following:

- Generic ia32 SOC no longer defines a "flash" region
  as generic X86 devices don't have a microcontroller-
  like concept of flash. The same has been done for apollo_lake.
- Generic ia32 and apollo_lake SOCs starts memory at 1MB.
- Generic ia32 SOC may optionally have CONFIG_XIP enabled.
  The board definition must provide a flash region definition
  that gets exposed as DT_PHYS_LOAD_ADDR.
- Fixed definitions for RAM/ROM source addresses in ia32's
  linker.ld when XIP is turned off.
- Support for enabling XIP on apollo_lake SOC removed, there's
  no use-case.
- acrn and gpmrb boards have flash and XIP related definitions
  removed.
- qemu_x86 has a fake flash region added, immediately after system
  RAM, for use when XIP is enabled. This used to be in the ia32 SOC.
  However, the default for qemu_x86 is to now have XIP disabled.
- Fixed tests/kernel/xip to run by default on boards that enable
  XIP by default, plus an additional test to exercise XIP on
  qemu_x86 (which supports it but has XIP switched off by default)

The overall effect of this patch is to:

- Remove XIP configuration for SOC/boards where it does not make
  any sense to have it
- Support testing XIP on qemu_x86 via tests/kernel/xip, but leave
  it off by default for other tests, to ensure it doesn't bit-rot
  and that the system works in both scenarios.
- XIP remains an available feature for boards that need it.

Fixes: #18956

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-09-11 21:11:38 -04:00
..
doc docs: fix errors/ambiguities in docs for Apollo Lake boards 2019-09-04 10:02:25 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.defconfig boards/up_squared: soc/apollo_lake: I2C driver selection at SoC 2019-06-01 10:00:32 -04:00
Kconfig.soc soc/x86/apollo_lake: remove legacy PCI support 2019-06-01 10:00:32 -04:00
dts_fixup.h dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
linker.ld x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00
soc.c cleanup: include/: move uart.h to drivers/uart.h 2019-06-27 22:55:49 -04:00
soc.h cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
soc_gpio.h soc/x86/apollo_lake: strip leading zeros from decimal constants 2019-04-15 20:42:42 -04:00