lkml.org 
[lkml]   [2020]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] riscv: defconfig: k210: Disable CONFIG_VT
    Date
    There is no need to enable Virtual Terminal support in the Canaan
    Kendryte K210 defconfigs, as no terminal devices are supported and
    enabled. Hence disable CONFIG_VT, and remove the no longer needed
    override for CONFIG_VGA_CONSOLE.

    This reduces kernel size by ca. 65 KiB.

    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    ---
    Against k210-sysctl-v15
    ---
    arch/riscv/configs/nommu_k210_defconfig | 2 +-
    arch/riscv/configs/nommu_k210_sdcard_defconfig | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/riscv/configs/nommu_k210_defconfig b/arch/riscv/configs/nommu_k210_defconfig
    index df89d53bd125679b..9262223037e43479 100644
    --- a/arch/riscv/configs/nommu_k210_defconfig
    +++ b/arch/riscv/configs/nommu_k210_defconfig
    @@ -48,6 +48,7 @@ CONFIG_DEVTMPFS_MOUNT=y
    # CONFIG_INPUT_KEYBOARD is not set
    # CONFIG_INPUT_MOUSE is not set
    # CONFIG_SERIO is not set
    +# CONFIG_VT is not set
    # CONFIG_LEGACY_PTYS is not set
    # CONFIG_LDISC_AUTOLOAD is not set
    # CONFIG_HW_RANDOM is not set
    @@ -67,7 +68,6 @@ CONFIG_GPIO_SIFIVE=y
    CONFIG_POWER_RESET=y
    CONFIG_POWER_RESET_SYSCON=y
    # CONFIG_HWMON is not set
    -# CONFIG_VGA_CONSOLE is not set
    # CONFIG_HID is not set
    # CONFIG_USB_SUPPORT is not set
    CONFIG_NEW_LEDS=y
    diff --git a/arch/riscv/configs/nommu_k210_sdcard_defconfig b/arch/riscv/configs/nommu_k210_sdcard_defconfig
    index 3d2cb4747e7f85b7..4cd1715dd0cf3747 100644
    --- a/arch/riscv/configs/nommu_k210_sdcard_defconfig
    +++ b/arch/riscv/configs/nommu_k210_sdcard_defconfig
    @@ -41,6 +41,7 @@ CONFIG_DEVTMPFS_MOUNT=y
    # CONFIG_INPUT_KEYBOARD is not set
    # CONFIG_INPUT_MOUSE is not set
    # CONFIG_SERIO is not set
    +# CONFIG_VT is not set
    # CONFIG_LEGACY_PTYS is not set
    # CONFIG_LDISC_AUTOLOAD is not set
    # CONFIG_HW_RANDOM is not set
    @@ -60,7 +61,6 @@ CONFIG_GPIO_SIFIVE=y
    CONFIG_POWER_RESET=y
    CONFIG_POWER_RESET_SYSCON=y
    # CONFIG_HWMON is not set
    -# CONFIG_VGA_CONSOLE is not set
    # CONFIG_HID is not set
    # CONFIG_USB_SUPPORT is not set
    CONFIG_MMC=y
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-11-24 19:59    [W:4.006 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site