diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32 index 84c1a6d07bd6ad77e0e0bc17dd3b4419c6200bc3..1ceb329f1f716a8ee4ccfc66a9303d50fc2163c6 100644 --- a/arch/arm/mach-rmobile/Kconfig.32 +++ b/arch/arm/mach-rmobile/Kconfig.32 @@ -1,5 +1,9 @@ if RCAR_32 +config ARCH_RMOBILE_BOARD_STRING + string "Renesas RCar Gen2 board name" + default "Board" + config RCAR_GEN2 bool "Renesas RCar Gen2" diff --git a/arch/arm/mach-rmobile/board.c b/arch/arm/mach-rmobile/board.c index bdb353062fe02220ba42c7eb4f597ffc71c9a050..b07dbfabc4a92d4021f04ad05780d2415c6faefd 100644 --- a/arch/arm/mach-rmobile/board.c +++ b/arch/arm/mach-rmobile/board.c @@ -6,12 +6,11 @@ */ #include <common.h> #include <asm/io.h> -#include <asm/arch/sys_proto.h> -#ifndef CONFIG_RCAR_GEN3 +#ifdef CONFIG_ARCH_RMOBILE_BOARD_STRING int checkboard(void) { - printf("Board: %s\n", sysinfo.board_string); + printf("Board: %s\n", CONFIG_ARCH_RMOBILE_BOARD_STRING); return 0; } #endif diff --git a/arch/arm/mach-rmobile/include/mach/sys_proto.h b/arch/arm/mach-rmobile/include/mach/sys_proto.h index 326f6b14815afbfa77c97c0b8ad0b78cdb99c913..448a0f6d522db5a9650d35de72d7579f94d0f71e 100644 --- a/arch/arm/mach-rmobile/include/mach/sys_proto.h +++ b/arch/arm/mach-rmobile/include/mach/sys_proto.h @@ -8,9 +8,4 @@ #ifndef _SYS_PROTO_H_ #define _SYS_PROTO_H_ -struct rmobile_sysinfo { - char *board_string; -}; -extern const struct rmobile_sysinfo sysinfo; - #endif diff --git a/board/atmark-techno/armadillo-800eva/armadillo-800eva.c b/board/atmark-techno/armadillo-800eva/armadillo-800eva.c index abe69abcc8db6aca5eb303eca6b68184f51afcb4..d95ba7b8bfe4ae636b2268c5fa268f41067ba8b5 100644 --- a/board/atmark-techno/armadillo-800eva/armadillo-800eva.c +++ b/board/atmark-techno/armadillo-800eva/armadillo-800eva.c @@ -314,10 +314,6 @@ int dram_init(void) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - int board_late_init(void) { return 0; diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index a284721cfde05dfd9e28b3c48a4485fee980ed8c..4a791a3c57f1928ea6e2eb67e65f8035f682ddeb 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -348,10 +348,6 @@ int board_init(void) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - int dram_init(void) { gd->ram_size = CONFIG_SYS_SDRAM_SIZE; diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index 7598b1a4b92b698827e790cef44e85b517b8f970..4b783b06166ef3ecbbe0e44e82f6adbd5426e265 100644 --- a/board/renesas/alt/alt.c +++ b/board/renesas/alt/alt.c @@ -106,10 +106,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { struct udevice *dev; diff --git a/board/renesas/blanche/blanche.c b/board/renesas/blanche/blanche.c index 5dc307370d5c1676288ce19d02d35562e91c76a5..5edcdac13e3f07bc501b9024493ca5e919e5a07b 100644 --- a/board/renesas/blanche/blanche.c +++ b/board/renesas/blanche/blanche.c @@ -468,10 +468,6 @@ int dram_init(void) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { } diff --git a/board/renesas/gose/gose.c b/board/renesas/gose/gose.c index c9209701dd3f251409200d36eaf2d368c7ee363f..e8d39a293abae1b352a033672d70379a53c4d5f4 100644 --- a/board/renesas/gose/gose.c +++ b/board/renesas/gose/gose.c @@ -111,10 +111,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { struct udevice *dev; diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 4a4007b7a364ab4b4e672f708853a08c8e7f0b98..cd07f50e5b925525c640eb517fafb534b67eb7ec 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -113,10 +113,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { struct udevice *dev; diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c index 505efb5bc467f55ec627c0b2bfd5ea728c6485d3..586c6c3842edcedebf4b2064fa2cc414a251e66a 100644 --- a/board/renesas/lager/lager.c +++ b/board/renesas/lager/lager.c @@ -122,10 +122,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { struct udevice *dev; diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index eb66bc903e35d0e6e5e559e1e91d79b7d5a25588..fcf4ff90f02c694193b027c7a22e8045021babd5 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -111,10 +111,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { struct udevice *dev; diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index c932c255a084ba49348121f36cd4dcd31ba76b84..a50a4ed3a1fc36652fe8e0e71f846197b2c73b85 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -106,10 +106,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - void reset_cpu(ulong addr) { struct udevice *dev; diff --git a/board/renesas/stout/stout.c b/board/renesas/stout/stout.c index 192ee66a382fa5ec2b1d891ba903c8d062f9efe3..c40daf56230599b936842026559134ef461e13d6 100644 --- a/board/renesas/stout/stout.c +++ b/board/renesas/stout/stout.c @@ -125,10 +125,6 @@ int board_phy_config(struct phy_device *phydev) return 0; } -const struct rmobile_sysinfo sysinfo = { - CONFIG_ARCH_RMOBILE_BOARD_STRING -}; - enum env_location env_get_location(enum env_operation op, int prio) { const u32 load_magic = 0xb33fc0de; diff --git a/configs/alt_defconfig b/configs/alt_defconfig index 82499615c75661bd63503aa945fa78c0cd36c6b2..b0b864c1a19ce9499baaaf4742d459c04383f2e9 100644 --- a/configs/alt_defconfig +++ b/configs/alt_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Alt" CONFIG_R8A7794=y CONFIG_TARGET_ALT=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig index 2c212e297bcbd9182a329a342b40b9254341de79..753077b67669cf6277e6420c79f2c1064b3e27c0 100644 --- a/configs/armadillo-800eva_defconfig +++ b/configs/armadillo-800eva_defconfig @@ -2,6 +2,7 @@ CONFIG_ARM=y # CONFIG_SYS_THUMB_BUILD is not set CONFIG_ARCH_RMOBILE=y CONFIG_SYS_TEXT_BASE=0xE80C0000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Armadillo-800EVA Board" CONFIG_R8A7740=y CONFIG_TARGET_ARMADILLO_800EVA=y CONFIG_BOOTDELAY=3 diff --git a/configs/blanche_defconfig b/configs/blanche_defconfig index d9c08e1a4bf0179eb8e1e06c0ab8ef68924c7f9a..bd5fccac93d4bab1a18881649986bf32694b7399 100644 --- a/configs/blanche_defconfig +++ b/configs/blanche_defconfig @@ -2,6 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_RMOBILE=y CONFIG_SYS_TEXT_BASE=0x00000000 CONFIG_SYS_MALLOC_F_LEN=0x2000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Blanche" CONFIG_R8A7792=y CONFIG_TARGET_BLANCHE=y CONFIG_DEFAULT_DEVICE_TREE="r8a7792-blanche-u-boot" diff --git a/configs/gose_defconfig b/configs/gose_defconfig index 3c6a4bd41ba74bc5cc56d81bad2d619750dcd6bb..8479887604739b8dbe5fdf219cbeda2a484ab517 100644 --- a/configs/gose_defconfig +++ b/configs/gose_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Gose" CONFIG_R8A7793=y CONFIG_TARGET_GOSE=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/configs/koelsch_defconfig b/configs/koelsch_defconfig index f1826663560a3a1d982235833c46776911cb483a..faca596115939fe0d40d0ced51b1553bf4761bcf 100644 --- a/configs/koelsch_defconfig +++ b/configs/koelsch_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Koelsch" CONFIG_R8A7791=y CONFIG_TARGET_KOELSCH=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/configs/kzm9g_defconfig b/configs/kzm9g_defconfig index f34fe9be189ed32681497e84a42f4f81dbf3ca42..af931855b7c41ae9fb548259449d52ecea93a9af 100644 --- a/configs/kzm9g_defconfig +++ b/configs/kzm9g_defconfig @@ -2,6 +2,7 @@ CONFIG_ARM=y # CONFIG_SYS_THUMB_BUILD is not set CONFIG_ARCH_RMOBILE=y CONFIG_SYS_TEXT_BASE=0x00000000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="KMC KZM-A9-GT" CONFIG_TARGET_KZM9G=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTARGS=y diff --git a/configs/lager_defconfig b/configs/lager_defconfig index 1071da24d219c296fc7351d0ea3e7609ef1b44a0..901b34e1dd55ebbcd9629b60dc89b316424328eb 100644 --- a/configs/lager_defconfig +++ b/configs/lager_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Lager" CONFIG_R8A7790=y CONFIG_TARGET_LAGER=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/configs/porter_defconfig b/configs/porter_defconfig index 64b064d1a8fbc4ff5d90148e964ccf05d37495cc..b04627efa3df6eb7de25b010390a624ac3b82c30 100644 --- a/configs/porter_defconfig +++ b/configs/porter_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Porter" CONFIG_R8A7791=y CONFIG_TARGET_PORTER=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/configs/silk_defconfig b/configs/silk_defconfig index 4cb1179a68152367e73521c3a66694af2b5bb708..c163e823b5b03e577e8b7bc8c5647c3235d0dccf 100644 --- a/configs/silk_defconfig +++ b/configs/silk_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Silk" CONFIG_R8A7794=y CONFIG_TARGET_SILK=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/configs/stout_defconfig b/configs/stout_defconfig index 4f5ebfa091ffcec43034e7c463efd6c8c1352af7..d940932bafd3fc090b551f42adaf54c2a199a437 100644 --- a/configs/stout_defconfig +++ b/configs/stout_defconfig @@ -7,6 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x50000000 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_ARCH_RMOBILE_BOARD_STRING="Stout" CONFIG_R8A7790=y CONFIG_TARGET_STOUT=y CONFIG_SPL_SERIAL_SUPPORT=y diff --git a/doc/README.rmobile b/doc/README.rmobile index c65cbabc7013821773990928c72243cd6866e315..f1bca54520a2e73d0792e30438053339c266ab28 100644 --- a/doc/README.rmobile +++ b/doc/README.rmobile @@ -7,13 +7,36 @@ family contains an ARM Cortex-A9/A53/A57. Currently the following boards are supported: -* KMC KZM-A9-GT [3] -* Atmark-Techno Armadillo-800-EVA [4] -* Renesas Electronics Lager -* Renesas Electronics Koelsch -* Renesas Electronics Salvator-X M3 -* Renesas Electronics Salvator-XS H3 ES2.0+ -* Renesas Electronics ULCB M3 / H3 ES2.0+ +| SoC | Board | defconfig +|===============+========================================+=================== +| R8A73A0 | KMC KZM-A9-GT [3] | kzm9g_config +| R8A7734 | Atmark-Techno Armadillo-800-EVA [4] | armadillo-800eva_config +|===============+========================================+=================== +| R8A7790 H2 | Renesas Electronics Lager | lager_defconfig +| | Renesas Electronics Stout | stout_defconfig +|---------------+----------------------------------------+------------------- +| R8A7791 M2-W | Renesas Electronics Koelsch | koelsch_defconfig +| | Renesas Electronics Porter | porter_defconfig +|---------------+----------------------------------------+------------------- +| R8A7792 V2H | Renesas Electronics Blanche | blanche_defconfig +|---------------+----------------------------------------+------------------- +| R8A7793 M2-N | Renesas Electronics Gose | gose_defconfig +|---------------+----------------------------------------+------------------- +| R8A7794 E2 | Renesas Electronics Alt | alt_defconfig +| | Renesas Electronics Silk | silk_defconfig +|===============+========================================+=================== +| R8A7795 H3 | Renesas Electronics Salvator-XS ES2.0+ | r8a7795_salvator-x_defconfig +| R8A7795 H3 | Renesas Electronics ULCB ES2.0+ | r8a7795_ulcb +|---------------+----------------------------------------+------------------- +| R8A7796 M3-W | Renesas Electronics Salvator-X | r8a7796_salvator-x_defconfig +| R8A7796 M3-W | Renesas Electronics ULCB | r8a7796_ulcb +|---------------+----------------------------------------+------------------- +| R8A77965 M3-N | Renesas Electronics Salvator-XS | r8a77965_salvator-x_defconfig +|---------------+----------------------------------------+------------------- +| R8A77970 V3M | Renesas Electronics Eagle | r8a77970_eagle_defconfig +|---------------+----------------------------------------+------------------- +| R8A77995 D3 | Renesas Electronics Draak | r8a77995_draak_defconfig +'===============+========================================+=================== Toolchain ========= @@ -30,49 +53,14 @@ in their package feeds. Build ===== -* KZM-A9-GT +Locate defconfig in the table above. Then apply standard build procedure: - make kzm9g_config - make - -* Armadillo-800-EVA - - make armadillo-800eva_config + make <board>_defconfig make Note: Armadillo-800-EVA's U-Boot supports booting from SDcard only. Please see "B.2 Appendix B Boot Specifications" in hardware manual. -* Lager - - make lager_config - make - -* Koelsch - - make koelsch_config - make - -* Salvator-X M3 - - make r8a7796_salvator-x_defconfig - make - -* Salvator-XS H3 ES2.0 - - make r8a7795_salvator-x_defconfig - make - -* ULCB M3 - - make r8a7796_ulcb_defconfig - make - -* ULCB H3 ES2.0 - - make r8a7795_ulcb_defconfig - make - Links ===== diff --git a/drivers/clk/renesas/r8a7792-cpg-mssr.c b/drivers/clk/renesas/r8a7792-cpg-mssr.c index 4ba18b18beaf40850b6654cbcce0a672c4b87a15..46dd3c9c9161eedbb0691172d067d2bd836b0f1c 100644 --- a/drivers/clk/renesas/r8a7792-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7792-cpg-mssr.c @@ -214,10 +214,8 @@ static const struct cpg_mssr_info r8a7792_cpg_mssr_info = { .mstp_table = r8a7792_mstp_table, .mstp_table_size = ARRAY_SIZE(r8a7792_mstp_table), .reset_node = "renesas,r8a7792-rst", - .extal_usb_node = "usb_extal", .mod_clk_base = MOD_CLK_BASE, .clk_extal_id = CLK_EXTAL, - .clk_extal_usb_id = CLK_USB_EXTAL, .pll0_div = 2, .get_pll_config = r8a7792_get_pll_config, }; diff --git a/include/configs/alt.h b/include/configs/alt.h index 46d7ba9a18310854880fef369e901d8514aba865..ba0b2fd6715132557e2a58e552e59310898dbc8c 100644 --- a/include/configs/alt.h +++ b/include/configs/alt.h @@ -10,9 +10,6 @@ #ifndef __ALT_H #define __ALT_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Alt" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h index 6e7ac0a905597bb2f71d5366438a2dc60588ea10..b49407a8b2991e71ba72d912527163cec3cfe38d 100644 --- a/include/configs/armadillo-800eva.h +++ b/include/configs/armadillo-800eva.h @@ -9,8 +9,6 @@ #ifndef __ARMADILLO_800EVA_H #define __ARMADILLO_800EVA_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Armadillo-800EVA Board\n" #define CONFIG_SH_GPIO_PFC #include <asm/arch/rmobile.h> diff --git a/include/configs/blanche.h b/include/configs/blanche.h index ae3213f959d5f2d50d576c92f714f95351c5c8e5..a978f728c9d73d5fdf0d82bd756f45b61e010fd4 100644 --- a/include/configs/blanche.h +++ b/include/configs/blanche.h @@ -10,9 +10,6 @@ #ifndef __BLANCHE_H #define __BLANCHE_H -#undef DEBUG -#define CONFIG_RMOBILE_BOARD_STRING "Blanche" - #include "rcar-gen2-common.h" /* STACK */ diff --git a/include/configs/draak.h b/include/configs/draak.h index fef5e2e01189d670b6049665a7664193f8c660b8..a5c2210cc95b512683936b022839b20b3bf11668 100644 --- a/include/configs/draak.h +++ b/include/configs/draak.h @@ -10,8 +10,6 @@ #ifndef __DRAAK_H #define __DRAAK_H -#undef DEBUG - #include "rcar-gen3-common.h" /* Ethernet RAVB */ diff --git a/include/configs/eagle.h b/include/configs/eagle.h index d2d46f0425a555722a2105d3f3cff339b25b0744..b570ef9115e7dffb25133d29d491900442ba9d47 100644 --- a/include/configs/eagle.h +++ b/include/configs/eagle.h @@ -10,8 +10,6 @@ #ifndef __EAGLE_H #define __EAGLE_H -#undef DEBUG - #include "rcar-gen3-common.h" /* Ethernet RAVB */ diff --git a/include/configs/gose.h b/include/configs/gose.h index 1f814bfe7ab3bb6325900c3998a1665b83a3372b..3c5c00ae6b7e28e5655bb235522c12406f6e79a2 100644 --- a/include/configs/gose.h +++ b/include/configs/gose.h @@ -9,9 +9,6 @@ #ifndef __GOSE_H #define __GOSE_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Gose" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index ec2162cb80384e79294eb5456c33e5f62c410600..41cab6d0ef5922c221abf29204c20acaa350a215 100644 --- a/include/configs/koelsch.h +++ b/include/configs/koelsch.h @@ -9,9 +9,6 @@ #ifndef __KOELSCH_H #define __KOELSCH_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Koelsch" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 179c7603f266ef1cbde628d7bf5a7ce122780922..dc05db1baf38d91f76822a694f0ad152e4654c9b 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -8,10 +8,7 @@ #ifndef __KZM9G_H #define __KZM9G_H -#undef DEBUG - #define CONFIG_SH73A0 -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "KMC KZM-A9-GT" #define CONFIG_MACH_TYPE MACH_TYPE_KZM9G #include <asm/arch/rmobile.h> diff --git a/include/configs/lager.h b/include/configs/lager.h index 0d9272cfa310d0b5c8486c5ed4ff531dbca59389..d5d76c2404d6102a23ee4fd8653b7b802c233251 100644 --- a/include/configs/lager.h +++ b/include/configs/lager.h @@ -10,9 +10,6 @@ #ifndef __LAGER_H #define __LAGER_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Lager" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/porter.h b/include/configs/porter.h index ba444762f156faab0f1478d774ca1411e424d487..491adcdde15e70ac859e0dc5ae2c1602f5541076 100644 --- a/include/configs/porter.h +++ b/include/configs/porter.h @@ -11,9 +11,6 @@ #ifndef __PORTER_H #define __PORTER_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Porter" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h index 33624e6c4ea08bf5cc2b651beb7d72070960d8aa..89e1b20c293d58191e9f5a9e84aca446d140785e 100644 --- a/include/configs/salvator-x.h +++ b/include/configs/salvator-x.h @@ -10,8 +10,6 @@ #ifndef __SALVATOR_X_H #define __SALVATOR_X_H -#undef DEBUG - #include "rcar-gen3-common.h" /* Ethernet RAVB */ diff --git a/include/configs/silk.h b/include/configs/silk.h index 465291fffdf3c4f161960de8e1186c34721bf2fc..8eac7b8c9b718a1422a3dab1b03783ae5bff7dfa 100644 --- a/include/configs/silk.h +++ b/include/configs/silk.h @@ -11,9 +11,6 @@ #ifndef __SILK_H #define __SILK_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Silk" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/stout.h b/include/configs/stout.h index 22e23eb1821fcd87a42f39d45bf0451f7ad0c749..ceed06f13ec4d1eecc9f09f552896e10797e4c0b 100644 --- a/include/configs/stout.h +++ b/include/configs/stout.h @@ -12,9 +12,6 @@ #ifndef __STOUT_H #define __STOUT_H -#undef DEBUG -#define CONFIG_ARCH_RMOBILE_BOARD_STRING "Stout" - #include "rcar-gen2-common.h" #define CONFIG_SYS_INIT_SP_ADDR 0x4f000000 diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h index dfd6436b3caf528c717adde4e00840fd01d69fa2..4d76fd69e56031a9ae04285fbdc23ce968bd2854 100644 --- a/include/configs/ulcb.h +++ b/include/configs/ulcb.h @@ -10,8 +10,6 @@ #ifndef __ULCB_H #define __ULCB_H -#undef DEBUG - #include "rcar-gen3-common.h" /* Ethernet RAVB */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index bbc44e3291c49cd8763c3ccbe1f2febdd582c5d1..bdbfcbeb70c1b6e24f5492be9202615f11c9b78d 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -43,7 +43,6 @@ CONFIG_ARCH_KIRKWOOD CONFIG_ARCH_MAP_SYSMEM CONFIG_ARCH_OMAP4 CONFIG_ARCH_ORION5X -CONFIG_ARCH_RMOBILE_BOARD_STRING CONFIG_ARCH_RMOBILE_EXTRAM_BOOT CONFIG_ARCH_TEGRA CONFIG_ARCH_USE_BUILTIN_BSWAP @@ -1674,7 +1673,6 @@ CONFIG_REVISION_TAG CONFIG_RFSPART CONFIG_RIO CONFIG_RMII -CONFIG_RMOBILE_BOARD_STRING CONFIG_RMSTP0_ENA CONFIG_RMSTP10_ENA CONFIG_RMSTP11_ENA