OpenCloudOS-Kernel/arch/xtensa/boot/boot-redboot
Masahiro Yamada c425c546c0 xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig
Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place
for CONFIG options.

I slightly simplified the test code. You can use the -P option to suppress
linemarker generation. The grep command is unneeded.

  $ echo __XTENSA_EB__ | xtensa-linux-gcc -E -
  # 1 "<stdin>"
  # 1 "<built-in>"
  # 1 "<command-line>"
  # 1 "<stdin>"
  1

  $ echo __XTENSA_EB__ | xtensa-linux-gcc -E -P -
  1

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Message-Id: <20210313122342.69995-1-masahiroy@kernel.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2021-04-04 15:39:02 -07:00
..
Makefile xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig 2021-04-04 15:39:02 -07:00
boot.ld xtensa: fix redboot load address 2013-05-09 01:07:12 -07:00
bootstrap.S xtensa: replace variant/core.h with asm/core.h 2019-05-06 17:48:55 -07:00