Add Inventec's Transformers platform
Change-Id: Ic8aaa0728a43936cd4c6212d590e01ba8202b25b
Signed-off-by: Habeeb Mohammed <mohammed.habeeb@inventec.com>
diff --git a/meta-inventec/meta-transformers/conf/machine/platform_configs.inc b/meta-inventec/meta-transformers/conf/machine/platform_configs.inc
new file mode 100644
index 0000000..48f1065
--- /dev/null
+++ b/meta-inventec/meta-transformers/conf/machine/platform_configs.inc
@@ -0,0 +1,21 @@
+# This include file is aim to pass variables to bb/bb.apppend files,
+# such as sysguid tool, and easily maintain platform settings
+
+
+##################### Configure default EEPROM setting #####################
+### The I2C bus is "0 based, decimal"
+### The address and offset are "hexcimal"
+### e.g.
+### EEPROM_GUID_I2C_BUS = "3"
+### EEPROM_GUID_I2C_ADDRESS = "0x54"
+### EEPROM_GUID_OFFSET = "0x1F00"
+
+EEPROM_GUID_I2C_BUS= "3"
+EEPROM_GUID_I2C_ADDRESS = "0x54"
+EEPROM_GUID_OFFSET = "0x1F00"
+
+EEPROM_MAC_I2C_BUS = "14"
+EEPROM_MAC_I2C_ADDRESS = "0x50"
+EEPROM_MAC_OFFSET = "0x1000"
+
+############################################################################
diff --git a/meta-inventec/meta-transformers/conf/machine/transformers.conf b/meta-inventec/meta-transformers/conf/machine/transformers.conf
new file mode 100755
index 0000000..24cc267
--- /dev/null
+++ b/meta-inventec/meta-transformers/conf/machine/transformers.conf
@@ -0,0 +1,18 @@
+KMACHINE = "aspeed"
+KERNEL_DEVICETREE = "${KMACHINE}-bmc-inventec-${MACHINE}.dtb"
+
+require conf/machine/include/ast2600.inc
+require conf/machine/include/obmc-bsp-common.inc
+require conf/machine/include/inventec.inc
+
+UBOOT_MACHINE = "transformers-ast2600_defconfig"
+UBOOT_DEVICETREE = "ast2600-transformers"
+
+# To build a 64MB image, set FLASH_SIZE value to "65536".
+FLASH_SIZE = "65536"
+# Overwrite flash offsets
+FLASH_UBOOT_OFFSET = "0"
+FLASH_KERNEL_OFFSET = "1024"
+FLASH_ROFS_OFFSET = "10240"
+FLASH_RWFS_OFFSET = "43008"
+