configs: sei610: Add config file to fix userdata size
authorGuillaume La Roque <glaroque@baylibre.com>
Fri, 11 Oct 2019 15:33:58 +0000 (17:33 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 18 Oct 2019 12:54:37 +0000 (14:54 +0200)
Add separate config file to handle the different eMMC size on
the sei610 board.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
board/amlogic/sei610/MAINTAINERS
configs/sei610_defconfig
include/configs/sei610.h [new file with mode: 0644]

index 20f12334e9ce3bf55d43fbb282d508f7a14856ab..da77aafa412859bf6e31944f3b0eaa899ed302a0 100644 (file)
@@ -4,3 +4,4 @@ S:      Maintained
 L:     u-boot-amlogic@groups.io
 F:     board/amlogic/sei610/
 F:     configs/sei610_defconfig
+F:     include/configs/sei610.h
index 89e7bd7babc5d190345de8418f54e8744de24fef..520a683d2ef56d4039b9abdd8f0113963b87013e 100644 (file)
@@ -1,6 +1,6 @@
 CONFIG_ARM=y
 CONFIG_SYS_BOARD="sei610"
-CONFIG_SYS_CONFIG_NAME="sei510"
+CONFIG_SYS_CONFIG_NAME="sei610"
 CONFIG_ARCH_MESON=y
 CONFIG_SYS_TEXT_BASE=0x01000000
 CONFIG_MESON_G12A=y
diff --git a/include/configs/sei610.h b/include/configs/sei610.h
new file mode 100644 (file)
index 0000000..6d09316
--- /dev/null
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Configuration for the SEI510
+ *
+ * Copyright (C) 2019 Baylibre, SAS
+ * Author: Jerome Brunet <jbrunet@baylibre.com>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define LOGO_UUID "43a3305d-150f-4cc9-bd3b-38fca8693846;"
+#define CACHE_UUID "99207ae6-5207-11e9-999e-6f77a3612069;"
+#define SYSTEM_UUID "99f9b7ac-5207-11e9-8507-c3c037e393f3;"
+#define VENDOR_UUID "9d082802-5207-11e9-954c-cbbce08ba108;"
+#define USERDATA_UUID "9b976e42-5207-11e9-8f16-ff47ac594b22;"
+#define ROOT_UUID "ddb8c3f6-d94d-4394-b633-3134139cc2e0;"
+
+#define PARTS_DEFAULT                                        \
+       "uuid_disk=${uuid_gpt_disk};"                   \
+       "name=boot,size=64M,bootable,uuid=${uuid_gpt_boot};" \
+       "name=logo,size=2M,uuid=" LOGO_UUID             \
+       "name=cache,size=256M,uuid=" CACHE_UUID             \
+       "name=system,size=1536M,uuid=" SYSTEM_UUID           \
+       "name=vendor,size=256M,uuid=" VENDOR_UUID            \
+       "name=userdata,size=12795M,uuid=" USERDATA_UUID \
+       "name=rootfs,size=-,uuid=" ROOT_UUID
+
+#include <configs/meson64_android.h>
+
+#endif /* __CONFIG_H */