arm/km: cleanup km_kirkwood boards
Remove config options from boards.cfg and simply add one switch per board and differ afterwards in km_kirkwood.h between the features. More boards are upcoming and therefore it's easier to have this at one place. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Gerlando Falauto <gerlando.falauto@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
This commit is contained in:
committed by
Albert ARIBAUD
parent
b37f772433
commit
48ced62cfb
@@ -37,15 +37,20 @@
|
||||
#ifndef _CONFIG_KM_KIRKWOOD_H
|
||||
#define _CONFIG_KM_KIRKWOOD_H
|
||||
|
||||
/* KM_KIRKWOOD */
|
||||
#if defined(CONFIG_KM_KIRKWOOD)
|
||||
#define CONFIG_IDENT_STRING "\nKeymile Kirkwood"
|
||||
#define CONFIG_HOSTNAME km_kirkwood
|
||||
#undef CONFIG_KIRKWOOD_PCIE_INIT
|
||||
#define CONFIG_KM_DISABLE_PCIE
|
||||
#define KM_IVM_BUS "pca9544a:70:9" /* I2C2 (Mux-Port 1)*/
|
||||
|
||||
/* KM_KIRKWOOD_PCI */
|
||||
#elif defined(CONFIG_KM_KIRKWOOD_PCI)
|
||||
#define CONFIG_IDENT_STRING "\nKeymile Kirkwood PCI"
|
||||
#define CONFIG_HOSTNAME km_kirkwood_pci
|
||||
#define KM_IVM_BUS "pca9544a:70:9" /* I2C2 (Mux-Port 1)*/
|
||||
#define CONFIG_KM_FPGA_CONFIG
|
||||
|
||||
/* KM_NUSA */
|
||||
#elif defined(CONFIG_KM_NUSA)
|
||||
#define KM_IVM_BUS "pca9547:70:9" /* I2C2 (Mux-Port 1)*/
|
||||
|
||||
Reference in New Issue
Block a user