coreboot-kgpe-d16/src/soc/intel/fsp_baytrail
Werner Zeh bd366ab485 fsp_baytrail: Refactor code for SPI debug messages
Use the config switch CONFIG_DEBUG_SPI_FLASH on compiler level rather
then on preprocessor level to ensure that the code is compiled even if
the switch is not selected. In addition the following two changes are
introduced:

1. Prepend the debug messages with 'SPI:' to make the output more
   meaningful.
2. Change the address mask from 0xffff to 0x3ff and remove the subtraction
   of the constant value 0xf020 in order to print only the register
   offset within the SPI controller and avoid the visibility of any
   fragments from SPI base address.
3. Switch to uint8_t and friends instead of u8 to sync up with other
   code in the same file.

Change-Id: Iaf46f29a775039007a402fe862839df06a4cbfaa
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/16499
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-06 21:17:59 +02:00
..
acpi Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
bootblock
fsp soc/intel/fsp_baytrail: use common Intel ACPI hardware definitions 2016-07-15 08:33:03 +02:00
include/soc src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
romstage src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
acpi.c intel/fsp_baytrail: Don't clear gnvs in acpi_init_gnvs() 2016-03-13 03:06:37 +01:00
chip.c
chip.h intel/fsp_baytrail: Fix LPE initialization and enable ACPI mode 2016-03-13 03:07:16 +01:00
cpu.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
gfx.c fsp_baytrail: Fix a possible hanging DisplayPort 2016-02-25 15:16:44 +01:00
gpio.c
i2c.c intel/fsp_baytrail/i2c: mask i2c interrupts in i2c_init() 2016-06-03 04:54:32 +02:00
iosf.c fsp_baytrail: Add full support for iosf access in reg_script 2016-02-22 19:25:28 +01:00
Kconfig soc/intel/fsp_baytrail: use common Intel ACPI hardware definitions 2016-07-15 08:33:03 +02:00
lpe.c intel/fsp_baytrail: Fix LPE initialization and enable ACPI mode 2016-03-13 03:07:16 +01:00
lpss.c intel/fsp_baytrail: Enable LPSS in ACPI mode 2016-03-14 18:24:10 +01:00
Makefile.inc fsp_baytrail: Fix missing "$" when using Kconfig switch 2016-04-28 19:11:52 +02:00
memmap.c
northcluster.c intel/fsp_baytrail: Eliminate warning about missing set_resources 2016-04-16 02:04:41 +02:00
nvm.c
placeholders.c {cpu,soc}/intel: remove unused smm_init() function 2016-05-06 16:48:21 +02:00
pmutil.c
ramstage.c
reset.c
smihandler.c soc/intel/fsp_baytrail: use common Intel ACPI hardware definitions 2016-07-15 08:33:03 +02:00
smm.c
southcluster.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
spi.c fsp_baytrail: Refactor code for SPI debug messages 2016-09-06 21:17:59 +02:00
tsc_freq.c