diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-12-09 19:16:23 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-12-09 19:17:03 +0100 |
commit | 14fdac3e6a1556fd9857c31cd22c2eade619ec84 (patch) | |
tree | 4136c30cc1186c7d0ed80ee19b7b091634af3572 /packages/linux/linux-openmoko.inc | |
parent | 9771c86014114e703dac8f45b5f82e16d30735d2 (diff) |
linux-openmoko: enable 01's battery class only for 01, likewise for 02's battery class
Diffstat (limited to 'packages/linux/linux-openmoko.inc')
-rw-r--r-- | packages/linux/linux-openmoko.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/linux/linux-openmoko.inc b/packages/linux/linux-openmoko.inc index 3a6589791e..781579be93 100644 --- a/packages/linux/linux-openmoko.inc +++ b/packages/linux/linux-openmoko.inc @@ -38,8 +38,16 @@ do_configure_prepend() { echo -n "fixing up configuration for Openmoko GTA01..." sed -i -e s,CONFIG_S3C_LOWLEVEL_UART_PORT=2,CONFIG_S3C_LOWLEVEL_UART_PORT=0, ${WORKDIR}/defconfig sed -i -e s,CONFIG_DEBUG_S3C_UART=2,CONFIG_DEBUG_S3C_UART=0, ${WORKDIR}/defconfig + echo "# CONFIG_BATTERY_BQ27000_HDQ is not set" >>${WORKDIR}/defconfig + echo "CONFIG_BATTERY_GTA01=y" >>${WORKDIR}/defconfig echo "done" fi + if [ ${MACHINE} == "om-gta02" ]; then + echo -n "fixing up configuration for Openmoko GTA02..." + echo "CONFIG_BATTERY_BQ27000_HDQ=y" >>${WORKDIR}/defconfig + echo "# CONFIG_BATTERY_GTA01 is not set" >>${WORKDIR}/defconfig + echo "done" + fi } # symlink the latest uImage (should go to linux.inc IMO) |