1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig

config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
based on a list of enabled options.  Moving HAVE_BLOCK_DEVICE to
Kconfig allows us to drastically shrink the logic in
config_fallbacks.h

Signed-off-by: Adam Ford <aford173@gmail.com>
[trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Adam Ford
2018-02-06 12:43:56 -06:00
committed by Tom Rini
parent 560eeee8c2
commit 1811a928c6
20 changed files with 31 additions and 37 deletions

View File

@@ -20,7 +20,7 @@
#include <memalign.h>
#include "part_dos.h"
#ifdef HAVE_BLOCK_DEVICE
#ifdef CONFIG_HAVE_BLOCK_DEVICE
#define DOS_PART_DEFAULT_SECTOR 512