rv1126-uboot/common
Masahiro Yamada 0f9258228e of: clean up OF_CONTROL ifdef conditionals
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL.  We have cleansing
devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear
away the ugly logic in include/fdtdec.h:

 #ifdef CONFIG_OF_CONTROL
 # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL)
 #  define OF_CONTROL 0
 # else
 #  define OF_CONTROL 1
 # endif
 #else
 # define OF_CONTROL 0
 #endif

Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute.  It refers to
CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for
SPL.

Also, we no longer have to cancel CONFIG_OF_CONTROL in
include/config_uncmd_spl.h and scripts/Makefile.spl.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-08-18 13:46:05 -04:00
..
spl of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
Kconfig kconfig: add config option for shell prompt 2015-08-13 07:19:33 -04:00
Makefile spl, common, serial: build SPL without serial support 2015-08-12 20:47:13 -04:00
aboot.c
autoboot.c autoboot.c: Add feature to stop autobooting via SHA256 encrypted password 2015-06-08 17:32:40 -04:00
bedbug.c
board_f.c Revert "Align global_data to a 16-byte boundary" 2015-08-17 17:19:18 -04:00
board_info.c generic-board: allow showing custom board info 2015-08-13 07:19:36 -04:00
board_r.c
bootm.c
bootm_os.c
bootretry.c
bootstage.c
bouncebuf.c
cli.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
cli_hush.c
cli_readline.c spl, common, serial: build SPL without serial support 2015-08-12 20:47:13 -04:00
cli_simple.c spl, common, serial: build SPL without serial support 2015-08-12 20:47:13 -04:00
cmd_aes.c
cmd_ambapp.c
cmd_armflash.c
cmd_bdinfo.c common/cmd_bdinfo: show gd->board_type 2015-06-11 08:29:14 -04:00
cmd_bedbug.c
cmd_blob.c
cmd_bmp.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
cmd_boot.c
cmd_bootldr.c
cmd_bootm.c
cmd_bootmenu.c
cmd_bootstage.c
cmd_cache.c
cmd_cbfs.c
cmd_clk.c
cmd_console.c
cmd_cplbinfo.c
cmd_cpu.c dm: cpu: Fix undefined ENOSYS build error 2015-07-14 18:03:15 -06:00
cmd_cramfs.c
cmd_dataflash_mmc_mux.c
cmd_date.c cmd: date: Change to use CONFIG_DM_RTC instead of CONFIG_DM_I2C 2015-07-14 18:03:16 -06:00
cmd_dcr.c
cmd_demo.c
cmd_dfu.c
cmd_diag.c
cmd_disk.c
cmd_display.c
cmd_dtt.c
cmd_echo.c
cmd_eeprom.c
cmd_efi.c efi: Add a command to display the memory map 2015-08-05 08:44:07 -06:00
cmd_elf.c
cmd_exit.c
cmd_ext2.c
cmd_ext4.c
cmd_fastboot.c fastboot: Dynamic controller index for usb_gadget_handle_interrupts 2015-07-22 08:57:53 +02:00
cmd_fat.c
cmd_fdc.c
cmd_fdt.c cmd_fdt: save fdtaddr in hex format 2015-07-20 07:21:47 -06:00
cmd_fitupd.c
cmd_flash.c
cmd_fpga.c
cmd_fpgad.c
cmd_fs.c
cmd_fs_uuid.c
cmd_fuse.c
cmd_gettime.c
cmd_gpio.c
cmd_gpt.c
cmd_hash.c
cmd_help.c
cmd_host.c
cmd_i2c.c
cmd_ide.c
cmd_immap.c
cmd_ini.c
cmd_io.c
cmd_iotrace.c
cmd_irq.c
cmd_itest.c
cmd_jffs2.c
cmd_ldrinfo.c
cmd_led.c
cmd_license.c
cmd_load.c
cmd_log.c
cmd_lzmadec.c
cmd_mac.c
cmd_md5sum.c
cmd_mdio.c
cmd_mem.c
cmd_mfsl.c
cmd_mii.c
cmd_misc.c
cmd_mmc.c
cmd_mmc_spi.c
cmd_mp.c cmd_mp: Add support for showing all CPU status by one command 2015-07-28 11:56:29 +02:00
cmd_mtdparts.c
cmd_nand.c mtd, nand: Move common functions from cmd_nand.c to common place 2015-06-30 00:40:11 +05:30
cmd_net.c
cmd_nvedit.c
cmd_onenand.c mtd, nand: Move common functions from cmd_nand.c to common place 2015-06-30 00:40:11 +05:30
cmd_otp.c
cmd_part.c common: cmd_part: start and size sub-commands introduction 2015-06-19 16:46:47 -04:00
cmd_pci.c
cmd_pcmcia.c
cmd_pmic.c
cmd_portio.c
cmd_pxe.c pxe: add AArch64 image support 2015-07-27 15:53:48 -07:00
cmd_read.c
cmd_reginfo.c
cmd_regulator.c dm: pmic: Display the regulator limits on error 2015-08-05 21:06:13 -06:00
cmd_reiser.c
cmd_sata.c
cmd_scsi.c scsi: fix compiler warning with DEBUG and 48bit LBAs 2015-07-11 08:01:54 -04:00
cmd_setexpr.c
cmd_sf.c sf: allocate cache aligned buffers to copy from flash 2015-08-17 23:29:14 +05:30
cmd_sha1sum.c
cmd_softswitch.c
cmd_sound.c
cmd_source.c common/cmd_source.c: Fix the source command failure under 64-bit platform 2015-08-12 20:47:56 -04:00
cmd_spi.c
cmd_spibootldr.c
cmd_spl.c
cmd_strings.c
cmd_terminal.c
cmd_test.c mtd, nand: Move common functions from cmd_nand.c to common place 2015-06-30 00:40:11 +05:30
cmd_thordown.c
cmd_time.c
cmd_tpm.c
cmd_trace.c
cmd_tsi148.c dm: pci: Add support for PCI driver matching 2015-07-21 17:39:38 -06:00
cmd_ubi.c
cmd_ubifs.c
cmd_universe.c
cmd_unzip.c
cmd_usb.c dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression 2015-08-05 20:57:50 -06:00
cmd_usb_mass_storage.c
cmd_version.c
cmd_ximg.c
cmd_yaffs2.c
cmd_zfs.c
cmd_zip.c
command.c common: command add '\n' for debug msg 2015-08-05 08:42:39 -06:00
console.c sandbox: Drop special-case sandbox console code 2015-07-21 17:39:22 -06:00
cros_ec.c
ddr_spd.c
dlmalloc.c
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c
env_dataflash.c
env_eeprom.c
env_embedded.c
env_fat.c
env_flags.c
env_flash.c
env_mmc.c
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sf.c env: use cache line aligned memory for flash read 2015-08-17 23:29:14 +05:30
env_ubi.c
exports.c board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
fb_mmc.c
fdt_support.c fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
flash.c
hash.c autoboot.c: Add feature to stop autobooting via SHA256 encrypted password 2015-06-08 17:32:40 -04:00
hwconfig.c
image-android.c
image-fdt.c image-fdt.c: store returned error value 2015-08-13 07:19:37 -04:00
image-fit.c
image-sig.c
image.c image: fix Android ramdisk support when dtb is specified 2015-08-12 20:47:32 -04:00
iomux.c
iotrace.c
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c common/lcd_console: fix console/logo regression 2015-08-13 07:19:34 -04:00
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c
malloc_simple.c Add a simple version of memalign() 2015-06-10 19:26:55 -06:00
memsize.c
menu.c
miiphyutil.c
modem.c
s_record.c
splash.c
splash_source.c
stdio.c
system_map.c
update.c
usb.c usb: Add an usb_device parameter to usb_reset_root_port 2015-07-21 17:39:35 -06:00
usb_hub.c usb: Fix device detection code 2015-08-05 17:22:43 +02:00
usb_kbd.c dm: usb: Adjust the USB_DEVICE() macro naming 2015-07-21 17:39:40 -06:00
usb_storage.c dm: usb: Adjust the USB_DEVICE() macro naming 2015-07-21 17:39:40 -06:00
xyzModem.c