diff --git a/dde_linux/run/linux_nic_panda.run b/dde_linux/run/linux_nic_panda.run index 7cedc16e1..6e44f5fa2 100644 --- a/dde_linux/run/linux_nic_panda.run +++ b/dde_linux/run/linux_nic_panda.run @@ -11,6 +11,7 @@ build { drivers/framebuffer drivers/sd_card drivers/usb + drivers/gpio server/nic_bridge server/part_blk l4linux @@ -51,6 +52,11 @@ set config { + + + + + @@ -106,6 +112,7 @@ set boot_modules { initrd.gz fb_drv sd_card_drv + gpio_drv usb_drv } diff --git a/dde_linux/run/usb_hid.run b/dde_linux/run/usb_hid.run index 3b48e2d42..6b936783b 100644 --- a/dde_linux/run/usb_hid.run +++ b/dde_linux/run/usb_hid.run @@ -13,6 +13,7 @@ lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci lappend_if [have_spec pci] build_components drivers/pci/device_pd lappend_if [have_spec platform_arndale] build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components @@ -47,6 +48,13 @@ append_if [have_spec platform_arndale] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [have_spec acpi] config { @@ -99,6 +107,7 @@ lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec nova] boot_modules pci_device_pd lappend_if [have_spec platform_arndale] boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/dde_linux/run/usb_net.run b/dde_linux/run/usb_net.run index 99dbb8f33..2c2a4016a 100644 --- a/dde_linux/run/usb_net.run +++ b/dde_linux/run/usb_net.run @@ -20,6 +20,8 @@ build { lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci/device_pd lappend_if [have_spec platform_arndale] build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio + create_boot_directory @@ -82,6 +84,13 @@ append_if [have_spec platform_arndale] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [expr ![have_spec acpi] && [have_spec pci]] config { @@ -109,6 +118,7 @@ lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec nova] boot_modules pci_device_pd lappend_if [have_spec platform_arndale] boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/dde_linux/run/usb_storage.run b/dde_linux/run/usb_storage.run index 72405ac48..51b6c7493 100644 --- a/dde_linux/run/usb_storage.run +++ b/dde_linux/run/usb_storage.run @@ -19,6 +19,7 @@ lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci lappend_if [have_spec pci] build_components drivers/pci/device_pd lappend_if [have_spec platform_arndale] build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components @@ -73,6 +74,13 @@ append_if [have_spec platform_arndale] config { } +append_if [have_spec gpio] config { + + + + + } + append config { diff --git a/dde_linux/src/lib/usb/arm/platform_panda/platform.cc b/dde_linux/src/lib/usb/arm/platform_panda/platform.cc index 78f3be0c6..1cd6b916a 100644 --- a/dde_linux/src/lib/usb/arm/platform_panda/platform.cc +++ b/dde_linux/src/lib/usb/arm/platform_panda/platform.cc @@ -14,6 +14,7 @@ #include #include +#include #include #include @@ -220,96 +221,6 @@ struct Ehci : Genode::Mmio }; -/** - * Panda board GPIO bases 1 - 6 - */ -static addr_t omap44xx_gpio_base[] = -{ - 0x4A310000, 0x48055000, 0x48057000, 0x48059000, 0x4805B000, 0x4805D000 -}; - - -/** - * General purpose I/O - */ -struct Gpio -{ - enum { GPIO = 6 }; - - addr_t _io[GPIO]; - Io_mem_session_capability _cap[GPIO]; - - void map() - { - for (int i = 0; i < GPIO; i++) { - Io_mem_connection io(omap44xx_gpio_base[i], 0x1000); - io.on_destruction(Io_mem_connection::KEEP_OPEN); - _io[i] = (addr_t)env()->rm_session()->attach(io.dataspace()); - _cap[i] = io.cap(); - } - } - - Gpio() - { - map(); - } - - ~Gpio() - { - for (int i = 0; i < GPIO; i++) { - env()->rm_session()->detach(_io[i]); - env()->parent()->close(_cap[i]); - } - } - - addr_t base(unsigned gpio) { return _io[gpio >> 5]; } - int index(unsigned gpio) { return gpio & 0x1f; } - - void _set_data_out(addr_t base, unsigned gpio, bool enable) - { - enum { SETDATAOUT = 0x194, CLEARDATAOUT = 0x190 }; - writel(1U << gpio, base + (enable ? SETDATAOUT : CLEARDATAOUT)); - } - - void _set_gpio_direction(addr_t base, unsigned gpio, bool input) - { - enum { OE = 0x134 }; - base += OE; - - u32 val = readl(base); - - if (input) - val |= 1U << gpio; - else - val &= ~(1U << gpio); - - writel(val, base); - } - - void direction_output(unsigned gpio, bool enable) - { - _set_data_out(base(gpio), index(gpio), enable); - _set_gpio_direction(base(gpio), index(gpio), false); - } - - void direction_input(unsigned gpio) - { - _set_gpio_direction(base(gpio), index(gpio), true); - } - - void set_value(unsigned gpio, int val) - { - _set_data_out(base(gpio), index(gpio), val); - } - - unsigned get_value(int gpio) - { - enum { DATAIN = 0x138 }; - return (readl(base(gpio) + DATAIN) & (1 << index(gpio))) != 0; - } -}; - - /** * Initialize the USB controller from scratch, since the boot loader might not * do it or even disable USB. @@ -327,12 +238,14 @@ static void omap_ehci_init() Aux3 aux3(scrm_base); /* init GPIO */ - Gpio gpio; + Gpio::Connection gpio_power(HUB_POWER); + Gpio::Connection gpio_reset(HUB_NRESET); + /* disable the hub power and reset before init */ - gpio.direction_output(HUB_POWER, false); - gpio.direction_output(HUB_NRESET, false); - gpio.set_value(HUB_POWER, 0); - gpio.set_value(HUB_NRESET, 1); + gpio_power.direction(Gpio::Session::OUT); + gpio_reset.direction(Gpio::Session::OUT); + gpio_power.write(false); + gpio_reset.write(true); /* enable clocks */ Io_mem_connection io_clock(CAM_BASE, 0x1000); @@ -350,7 +263,7 @@ static void omap_ehci_init() Uhh uhh(uhh_base); /* enable hub power */ - gpio.set_value(HUB_POWER, 1); + gpio_power.write(true); /* reset EHCI */ addr_t ehci_base = uhh_base + 0xc00; diff --git a/libports/run/http_srv_tracing_nonblocking_panda.run b/libports/run/http_srv_tracing_nonblocking_panda.run index 05151274e..e0a3b0c4d 100644 --- a/libports/run/http_srv_tracing_nonblocking_panda.run +++ b/libports/run/http_srv_tracing_nonblocking_panda.run @@ -9,6 +9,7 @@ build { core init drivers/timer + drivers/gpio drivers/usb test/lwip/http_srv_tracing_nonblocking } @@ -40,6 +41,11 @@ set config { + + + + + @@ -67,6 +73,7 @@ set boot_modules { init timer usb_drv + gpio_drv test-lwip_httpsrv_tracing_nob ld.lib.so libc.lib.so libc_log.lib.so lwip.lib.so } diff --git a/libports/run/http_srv_tracing_panda.run b/libports/run/http_srv_tracing_panda.run index b1fc88e1c..4a3763ef3 100644 --- a/libports/run/http_srv_tracing_panda.run +++ b/libports/run/http_srv_tracing_panda.run @@ -10,6 +10,7 @@ build { init drivers/timer drivers/usb + drivers/gpio test/lwip/http_srv_tracing } @@ -40,6 +41,11 @@ set config { + + + + + @@ -67,6 +73,7 @@ set boot_modules { init timer usb_drv + gpio_drv test-lwip_httpsrv_tracing ld.lib.so libc.lib.so libc_log.lib.so lwip.lib.so } diff --git a/libports/run/lwip.run b/libports/run/lwip.run index 3d486f517..95be1b3b6 100644 --- a/libports/run/lwip.run +++ b/libports/run/lwip.run @@ -41,6 +41,7 @@ lappend_if $use_usb_driver build_components drivers/usb lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci/device_pd lappend_if [have_spec platform_arndale] build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components @@ -82,6 +83,13 @@ append_if [have_spec platform_arndale] config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_usb_driver config { @@ -142,6 +150,7 @@ lappend_if $use_usb_driver boot_modules usb_drv lappend_if $use_nic_driver boot_modules nic_drv lappend_if [have_spec nova] boot_modules pci_device_pd lappend_if [have_spec platform_arndale] boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/libports/run/qt5_textedit.run b/libports/run/qt5_textedit.run index d30bda588..2f4a9cc28 100644 --- a/libports/run/qt5_textedit.run +++ b/libports/run/qt5_textedit.run @@ -23,6 +23,7 @@ lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec ps2] build_components drivers/input/ps2 lappend_if [have_spec linux] build_components server/ram_fs lappend_if [expr ![have_spec linux]] build_components server/ffat_fs +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components create_boot_directory @@ -70,6 +71,13 @@ append_if [have_spec pci] config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_sd_card_driver config { @@ -181,6 +189,7 @@ lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if $use_sd_card_driver boot_modules sd_card_drv lappend_if $use_usb_driver boot_modules usb_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/libports/run/test-ping_client.run b/libports/run/test-ping_client.run index 07007578f..cd72a7234 100644 --- a/libports/run/test-ping_client.run +++ b/libports/run/test-ping_client.run @@ -16,6 +16,7 @@ set build_components { lappend_if [expr [have_spec omap4] || [have_spec exynos5]] build_components drivers/usb lappend_if [have_spec platform_arndale] build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components @@ -54,6 +55,13 @@ append_if [have_spec platform_arndale] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [expr [have_spec omap4] || [have_spec exynos5]] config { @@ -129,6 +137,7 @@ lappend_if [have_spec pci] boot_modules pci_dr lappend_if [expr [have_spec omap4] || [have_spec exynos5]] boot_modules usb_drv lappend_if [expr ![have_spec omap4] && ![have_spec exynos5]] boot_modules nic_drv lappend_if [have_spec platform_arndale] boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/libports/run/test-ping_server.run b/libports/run/test-ping_server.run index 4f733b157..0de106712 100644 --- a/libports/run/test-ping_server.run +++ b/libports/run/test-ping_server.run @@ -16,6 +16,7 @@ set build_components { lappend_if [expr [have_spec omap4] || [have_spec exynos5]] build_components drivers/usb lappend_if [have_spec platform_arndale] build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components @@ -60,6 +61,13 @@ append_if [have_spec platform_arndale] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [expr [have_spec omap4] || [have_spec exynos5]] config { @@ -105,6 +113,7 @@ lappend_if [have_spec pci] boot_modules pci_dr lappend_if [expr [have_spec omap4] || [have_spec exynos5]] boot_modules usb_drv lappend_if [expr ![have_spec omap4] && ![have_spec exynos5]] boot_modules nic_drv lappend_if [have_spec platform_arndale] boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/ports-foc/run/l4android.run b/ports-foc/run/l4android.run index 52737e229..7883824ab 100644 --- a/ports-foc/run/l4android.run +++ b/ports-foc/run/l4android.run @@ -27,6 +27,7 @@ set build_components { lappend_if [have_spec pci] build_components drivers/pci lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec ps2] build_components drivers/input/ps2 +lappend_if [have_spec usb] build_components drivers/usb lappend_if $use_usb_drv build_components drivers/usb lappend_if $use_nic_drv build_components drivers/nic lappend_if $use_atapi_drv build_components drivers/atapi @@ -168,6 +169,13 @@ append_if $use_platform_drv config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_usb_drv config { @@ -240,6 +248,7 @@ set boot_modules { lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec pci] boot_modules pci_drv +lappend_if [have_spec gpio] boot_modules gpio_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if $use_usb_drv boot_modules usb_drv diff --git a/ports-foc/run/l4linux.run b/ports-foc/run/l4linux.run index 9e9650d1e..e41c96c04 100644 --- a/ports-foc/run/l4linux.run +++ b/ports-foc/run/l4linux.run @@ -22,6 +22,7 @@ lappend_if [have_spec pci] build_components drivers/pci lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec ps2] build_components drivers/input/ps2 lappend_if $use_platform_drv build_components drivers/platform +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components create_boot_directory @@ -100,6 +101,13 @@ append_if $use_platform_drv config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_usb_driver config { @@ -146,6 +154,7 @@ lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if $use_nic_driver boot_modules nic_drv lappend_if $use_usb_driver boot_modules usb_drv lappend_if $use_platform_drv boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv if {[have_spec x86]} { set uri "http://genode.org/files/release-11.11/l4lx/initrd-ia32.gz" diff --git a/ports-foc/run/l4linux_dynamic.run b/ports-foc/run/l4linux_dynamic.run index 8d936e033..8844e233c 100644 --- a/ports-foc/run/l4linux_dynamic.run +++ b/ports-foc/run/l4linux_dynamic.run @@ -1,5 +1,4 @@ -assert_spec foc -assert_spec arm +assert_spec platform_arndale # # Build diff --git a/ports-foc/run/linux_panda.run b/ports-foc/run/linux_panda.run index ae36671d7..3e96d0f59 100644 --- a/ports-foc/run/linux_panda.run +++ b/ports-foc/run/linux_panda.run @@ -11,6 +11,7 @@ build { drivers/framebuffer drivers/sd_card drivers/usb + drivers/gpio server/nic_bridge server/part_blk l4linux @@ -51,6 +52,11 @@ set config { + + + + + @@ -112,6 +118,7 @@ set boot_modules { initrd.gz fb_drv sd_card_drv + gpio_drv usb_drv } diff --git a/ports-foc/run/multi_linux.run b/ports-foc/run/multi_linux.run index 3c3b9940d..213217850 100644 --- a/ports-foc/run/multi_linux.run +++ b/ports-foc/run/multi_linux.run @@ -15,9 +15,10 @@ set build_components { l4linux } -lappend_if [have_spec pci] build_components drivers/pci -lappend_if [have_spec ps2] build_components drivers/input/ps2 -lappend_if [have_spec usb] build_components drivers/usb +lappend_if [have_spec pci] build_components drivers/pci +lappend_if [have_spec ps2] build_components drivers/input/ps2 +lappend_if [have_spec usb] build_components drivers/usb +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components create_boot_directory @@ -67,6 +68,13 @@ append_if [have_spec ps2] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [expr ![have_spec ps2] && [have_spec usb]] config { @@ -140,6 +148,7 @@ lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec usb] boot_modules usb_drv +lappend_if [have_spec gpio] boot_modules gpio_drv if {[have_spec x86]} { set uri "http://genode.org/files/l4linux/busybox-initrd-x86-20120618.gz" diff --git a/ports-foc/run/smp_linux_panda.run b/ports-foc/run/smp_linux_panda.run index c21488925..ea82195c9 100644 --- a/ports-foc/run/smp_linux_panda.run +++ b/ports-foc/run/smp_linux_panda.run @@ -9,6 +9,7 @@ build { init drivers/timer drivers/framebuffer + drivers/gpio drivers/usb server/nitpicker server/nit_fb @@ -48,6 +49,11 @@ set config { + + + + + @@ -149,6 +155,7 @@ set boot_modules { l4linux initrd.gz fb_drv + gpio_drv usb_drv terminal terminal_log @@ -156,7 +163,7 @@ set boot_modules { nit_fb } -set uri "https://github.com/downloads/skalk/genode/busybox-initrd-arm-20120710.gz" +set uri "http://genode.org/files/l4linux/busybox-initrd-arm-20120710.gz" if {![file exists bin/initrd.gz]} { puts "Download initramfs ..." diff --git a/ports-foc/run/two_linux.run b/ports-foc/run/two_linux.run index dfde09a02..3bcf0a91c 100644 --- a/ports-foc/run/two_linux.run +++ b/ports-foc/run/two_linux.run @@ -22,6 +22,7 @@ lappend_if [have_spec pci] build_components drivers/pci lappend_if [have_spec ps2] build_components drivers/input/ps2 lappend_if [have_spec lan9118] build_components drivers/nic lappend_if [have_spec usb] build_components drivers/usb +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components create_boot_directory @@ -58,6 +59,13 @@ append_if [have_spec pci] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [have_spec framebuffer] config { @@ -205,11 +213,12 @@ lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec x86] boot_modules nic_drv lappend_if [have_spec lan9118] boot_modules nic_drv lappend_if [have_spec usb] boot_modules usb_drv +lappend_if [have_spec gpio] boot_modules gpio_drv if {[have_spec x86]} { - set uri "https://github.com/downloads/skalk/genode/busybox-initrd-x86-20120618.gz" + set uri "http://genode.org/files/l4linux/busybox-initrd-x86-20120618.gz" } elseif {[have_spec arm]} { - set uri "https://github.com/downloads/skalk/genode/busybox-initrd-arm-20120618.gz" + set uri "http://genode.org/files/l4linux/busybox-initrd-arm-20120618.gz" } if {![file exists bin/initrd.gz]} { puts "Download initramfs ..." diff --git a/ports/run/genode_org.run b/ports/run/genode_org.run index c724779f4..fb994b0e0 100644 --- a/ports/run/genode_org.run +++ b/ports/run/genode_org.run @@ -27,6 +27,7 @@ lappend_if $use_usb_driver build_components drivers/usb lappend_if $use_nic_driver build_components drivers/nic lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci/device_pd +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components @@ -61,6 +62,13 @@ append_if $use_platform_driver config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_usb_driver config { @@ -181,6 +189,7 @@ lappend_if [have_spec pci] boot_modules pci_drv lappend_if $use_usb_driver boot_modules usb_drv lappend_if $use_nic_driver boot_modules nic_drv lappend_if [have_spec nova] boot_modules pci_device_pd +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/ports/run/noux_bash.run b/ports/run/noux_bash.run index ae65d1779..ffadb685d 100644 --- a/ports/run/noux_bash.run +++ b/ports/run/noux_bash.run @@ -16,7 +16,8 @@ set build_components { test/libports/ncurses } -lappend_if [use_usb_input] build_components drivers/usb +lappend_if [use_usb_input] build_components drivers/usb +lappend_if [have_spec gpio] build_components drivers/gpio # # Build Noux packages only once @@ -96,6 +97,13 @@ append_if [have_spec ps2] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [use_usb_input] config { @@ -183,6 +191,7 @@ lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [use_usb_input] boot_modules usb_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/ports/run/noux_gdb.run b/ports/run/noux_gdb.run index f4c6d1df0..15cdb8ad6 100644 --- a/ports/run/noux_gdb.run +++ b/ports/run/noux_gdb.run @@ -26,6 +26,9 @@ set build_components { app/gdb_monitor test/gdb_monitor } + +lappend_if [have_spec gpio] build_components drivers/gpio + lappend build_components noux-pkg/[noux_gdb_pkg_name] # the application to be debugged with GDB @@ -98,6 +101,13 @@ append_if [have_spec ps2] config { } +append_if [have_spec gpio] config { + + + + + } + append_if [expr ![have_spec ps2] && [have_spec usb]] config { @@ -204,6 +214,7 @@ lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec usb] boot_modules usb_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/ports/run/noux_net_netcat.run b/ports/run/noux_net_netcat.run index 59574d6c5..3bcb3947d 100644 --- a/ports/run/noux_net_netcat.run +++ b/ports/run/noux_net_netcat.run @@ -18,6 +18,7 @@ lappend_if $use_usb_driver build_components drivers/usb lappend_if $use_nic_driver build_components drivers/nic lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci/device_pd +lappend_if [have_spec gpio] build_components drivers/gpio lappend_if [is_qemu_available] build_components drivers/uart lappend_if $use_platform_drv build_components drivers/platform @@ -114,6 +115,13 @@ append_if $use_platform_drv config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_usb_driver config { @@ -190,6 +198,7 @@ lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec nova] boot_modules pci_device_pd lappend_if [is_qemu_available] boot_modules uart_drv lappend_if $use_platform_drv boot_modules platform_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules diff --git a/qt4/run/textedit.run b/qt4/run/textedit.run index 05a8cc922..1690a8c4a 100644 --- a/qt4/run/textedit.run +++ b/qt4/run/textedit.run @@ -22,6 +22,7 @@ lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec ps2] build_components drivers/input/ps2 lappend_if [have_spec linux] build_components server/ram_fs lappend_if [expr ![have_spec linux]] build_components server/ffat_fs +lappend_if [have_spec gpio] build_components drivers/gpio build $build_components create_boot_directory @@ -69,6 +70,13 @@ append_if [have_spec pci] config { } +append_if [have_spec gpio] config { + + + + + } + append_if $use_sd_card_driver config { @@ -174,6 +182,7 @@ lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if $use_sd_card_driver boot_modules sd_card_drv lappend_if $use_usb_driver boot_modules usb_drv +lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules